24#define uart1_init(uart_baudrate) \
27 timer2_mode0_reload(timer2_mode0_baudrate_to_ticks(uart_baudrate)); \
int putchar(int ch)
Send character to UART1.
Definition: uart.c:17
int getchar(void)
Receive character from UART1.
Definition: uart.c:23
uint8_t uart1_receive_byte()
Receive byte from UART1.
Definition: uart.c:10
void uart1_send_byte(uint8_t data)
Definition: uart.c:3