Go to the documentation of this file.
4 #define UART0_BUFFER_EMPTY 0
5 #define UART0_BUFFER_NOT_EMPTY 1
6 #define UART0_BUFFER_FULL 2
9 #define Uart0WriteCmd 1
10 #define Uart0Execution 2
12 #define UART0_UTRSTAT0_TX2 0x04 // tx buffer & tx shift register ok
13 #define UART0_UTRSTAT0_TX 0x02 // tx buffer ok
14 #define UART0_UTRSTAT0_RX 0x01 // rx buffer ok
16 #define UART0_UERSTAT0_OVERRUN_ERROR 0x01
17 #define UART0_UERSTAT0_FRAME_ERROR0 0x02
18 #define UART0_UERSTAT0_FRAME_ERROR1 0x04
19 #define UART0_UERSTAT0_FRAME_ERROR2 0x08
21 #define UART0_MAX_BUFFER_SIZE 1000
22 #define UART0_AFC_BUFFER_LENGTH 256
74 extern void printf(
char *Format,...);