?? rs232.h
字號(hào):
//rs232.h
#include <iolpc2148.h>
// 獲得實(shí)際處理器時(shí)鐘頻率
extern unsigned int GetCclk(void);
//獲得外圍功能時(shí)鐘頻率
extern unsigned int GetPclk(void);
/**** UART0 ****/
//初始化 UART0
void UART0Initialize(unsigned int baud);
// 向 UART0 (RS232) 寫(xiě)入一個(gè)字符
void UART0WriteChar(unsigned char ch0);
//read char from RS232
unsigned char UART0ReadChar(void);
//this function read/write char from RS232,
//but they not wait to read/write
unsigned char UART0ReadChar_nostop(void);
void UART0WriteChar_nostop(unsigned char ch0);
/**** UART1 ****/
//initialize UART0 interface
void UART1Initialize(unsigned int baud);
//write char to UART0 (RS232);
void UART1WriteChar(unsigned char ch0);
//read char from RS232
unsigned char UART0ReadChar(void);
//this function read/write char from RS232,
//but they not wait to read/write
unsigned char UART1ReadChar_nostop(void);
void UART1WriteChar_nostop(unsigned char ch0);
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -