summaryrefslogtreecommitdiffstatshomepage
path: root/stm/usart.h
blob: 9d92e59f5a37857dd41a80c8366202c618171303 (plain) (blame)
1
2
3
4
5
6
7
void usart_init(void);
bool usart_is_enabled(void);
bool usart_rx_any(void);
int usart_rx_char(void);
void usart_tx_char(int c);
void usart_tx_str(const char *str);
void usart_tx_strn_cooked(const char *str, int len);