51 UART_TXPO_0_FLOW_CONTROL,
size_t uart_read(char *data, size_t max_length)
Reads data from the UART peripheral for a board with a defined UART_SERCOM.
uart_txpo_t
UART transmit pinout options.
Definition uart.h:48
void uart_disable_instance(uint8_t sercom)
Disables a specific SERCOM UART instance.
Definition uart.c:200
void uart_irq_handler(uint8_t sercom)
UART IRQ handler.
Definition uart.c:204
bool uart_read_byte_instance(uint8_t sercom, char *byte)
Reads a single byte from a specific SERCOM UART instance.
Definition uart.c:183
uart_rxpo_t
UART receive pinout options.
Definition uart.h:56
void uart_set_irda_mode_instance(uint8_t sercom, bool irda)
Sets IRDA mode for a specific SERCOM instance.
Definition uart.c:159
void uart_set_run_in_standby_instance(uint8_t sercom, bool run_in_standby)
Enables a specific SERCOM UART instance.
Definition uart.c:155
void uart_disable(void)
Disables the UART peripheral for a board with a defined UART_SERCOM.
void uart_init_instance(uint8_t sercom, uart_txpo_t txpo, uart_rxpo_t rxpo, uint32_t baud)
initializes a specific SERCOM UART instance.
Definition uart.c:105
void uart_set_run_in_standby(bool run_in_standby)
Sets whether the UART_SERCOM should run in standby mode.
void uart_enable_instance(uint8_t sercom)
Enables a specific SERCOM UART instance.
Definition uart.c:164
void uart_init(uint32_t baud)
Initializes the UART peripheral for a board with a defined UART_SERCOM.
bool uart_read_byte(char *byte)
Reads a single byte from the UART peripheral for a board with a defined UART_SERCOM.
size_t uart_read_instance(uint8_t sercom, char *data, size_t max_length)
Reads data from a specific SERCOM UART instance.
Definition uart.c:174
void uart_write_instance(uint8_t sercom, char *data, size_t length)
Writes data to a specific SERCOM UART instance.
Definition uart.c:168
void uart_write(char *data, size_t length)
Writes data to the UART peripheral for a board with a defined UART_SERCOM.
void uart_set_irda_mode(bool irda)
Sets IRDA mode for the UART_SERCOM.
void uart_enable(void)
Enables the UART peripheral for a board with a defined UART_SERCOM.