44blib.h

来自「自己买的arms3c44b0开发板附带的demo程序」· C头文件 代码 · 共 32 行

H
32
字号
/***********************************************
 * NAME    : 44BLIB.H                          *
 * Version : 17.Apr.00                         *
 ***********************************************/


#ifndef __44blib_h__
#define __44blib_h__

#define NULL 0

#define EnterPWDN(clkcon) ((void (*)(int))0xc0080e0)(clkcon)

/*44blib.c*/
void Delay(int time); //Watchdog Timer is used.
void *malloc(unsigned nbyte); 
void free(void *pt);

void Cache_Flush(void);
void Uart_Select(int ch);
void Uart_TxEmpty(int ch);
void Uart_Init(int mclk,int baud);
char Uart_Getch(void);
void Uart_SendByte(int data);
void Uart_Printf(char *fmt,...);

#ifdef __cplusplus
}
#endif

#endif /*__44blib_h__*/

⌨️ 快捷键说明

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