44blib.h

来自「ucosv2.85版本移植s3c44b0x」· C头文件 代码 · 共 36 行

H
36
字号
#ifndef __44blib_h__
#define __44blib_h__

#ifdef __cplusplus
extern "C" {
#endif

//defined in 44binit.S
void SysReset(void);	

//defined in 44blib.c
void Port_Init(void);
void Uart_Select(int ch);
void Uart_Init(int baud);
void Uart_TxEmpty(int ch);
char Uart_Getch(void);
char Uart_GetKey(void);
void Uart_GetString(char *string);
int Uart_GetIntNum(void);
void Uart_SendByte(int data);
void Uart_SendString(char *pt);
void Uart_Printf(char *fmt,...);

void MemCfgInit(void);
void CacheDisable(void);
void CacheEnable(void);
void Cache_Flush(void);

unsigned short CRC16(char *s, int len);

#ifdef __cplusplus
}
#endif

#endif /*__44blib_h__*/

⌨️ 快捷键说明

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