uint8_t usart_enhanced_recv(uint32_t usart)
receive data over the enhanced USART using the configuration
const bool usart_enhanced_even_parity_lut[256]
know if there is an even number of 1's in a integer
void usart_enhanced_send(uint32_t usart, uint8_t data)
send data over the enhanced USART using the configuration
usart_enhanced_parity_t
enhanced USART setting for the additional parity bit
bool usart_enhanced_config(uint32_t usart, uint8_t databits, enum usart_enhanced_parity_t parity)
configure enhanced USART
bool usart_enhanced_parity_error(uint32_t usart)
get the parity status of the received data