util.h

来自「Show Interworking of ARM/Thumb code on L」· C头文件 代码 · 共 34 行

H
34
字号
/*****************************************************************************
 *
 *      Project:    Clock Example
 *      Name:       Example
 *      Filename:   Util.h
 *      Date:       06.04.2001
 *      Rights:     hitex-systementwicklung GmbH
 *                  Greschbachstr. 12
 *                  76229  Karlsruhe
 *
 ****************************************************************************/

/***************************** module util.h ********************************/

#include <stdio.h>
#include <string.h>

#define array_len 11u

typedef struct element_tag
{
   int8_t name[array_len];
   int16_t count;
   struct element_tag *ptr;
   struct element_tag *next;
} element;

global void increment (uint16_t *value);
global void mem_copy (uint8_t *dest, uint8_t *source, int16_t len);
global void lnk_lst(void);
global void delay (int16_t value);

/************************************ EOF ***********************************/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?