uart.h

来自「将s3c2410作为usb设备」· C头文件 代码 · 共 16 行

H
16
字号
#ifndef _UART_H_
#define _UART_H_

void UartInit(unsigned int nPClock);
void UartPutChar(char chVal);
void UartPrint(const char *pszBuf);
void UartPutInt(unsigned int nVal);
void UartPutPointer(unsigned int nVal);
void UartPutHex(unsigned int nVal);
void UartPrintf(const char *pszFmt,...);
#ifndef printk
	#define printk UartPrintf
#endif

#endif

⌨️ 快捷键说明

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