static int usart_serial_putchar(usart_if p_usart, const uint8_t c)
Sends a character with the USART.
Usart * usart_if
This type can be used independently to refer to USART module for the architecture used.
static void usart_serial_getchar(usart_if p_usart, uint8_t *data)
Waits until a character is received, and returns it.
status_code_t usart_serial_read_packet(usart_if usart, uint8_t *data, size_t len)
Receive a sequence of bytes to a USART device.
status_code_t usart_serial_write_packet(usart_if usart, const uint8_t *data, size_t len)
Send a sequence of bytes to a USART device.