7 #define WITH_TRANSMIT
\r
9 void USART_Init(unsigned int baudrate);
\r
10 char USART_Rx(void);
\r
11 char USART_Poll(void);
\r
12 void USART_Tx(char);
\r
13 int USART_printf(const char * format, ...);
\r
14 void USART_WriteTime(uint32 tmr);
\r
15 void USART_puts(char * str);
\r
18 /* USART0 Control and Status Register A */
\r
19 #define UCSRA _SFR_MEM8(0xC0)
\r
29 /* USART0 Control and Status Register B */
\r
30 #define UCSRB _SFR_MEM8(0xC1)
\r
40 /* USART0 Control and Status Register C */
\r
41 #define UCSRC _SFR_MEM8(0xC2)
\r
50 /* USART0 Baud Rate Register */
\r
51 #define UBRR _SFR_MEM16(0xC4)
\r
52 #define UBRRL _SFR_MEM8(0xC4)
\r
53 #define UBRRH _SFR_MEM8(0xC5)
\r
55 /* USART0 I/O Data Register */
\r
56 #define UDR _SFR_MEM8(0xC6)
\r