stm32/usart: Implemented a function to get the current databits setting for a USART
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
189017b25c
commit
0241982fb4
@@ -100,6 +100,7 @@ BEGIN_DECLS
|
||||
|
||||
void usart_set_baudrate(uint32_t usart, uint32_t baud);
|
||||
void usart_set_databits(uint32_t usart, uint32_t bits);
|
||||
uint32_t usart_get_databits(uint32_t usart);
|
||||
void usart_set_stopbits(uint32_t usart, uint32_t stopbits);
|
||||
void usart_set_parity(uint32_t usart, uint32_t parity);
|
||||
void usart_set_mode(uint32_t usart, uint32_t mode);
|
||||
|
||||
Reference in New Issue
Block a user