Structure for the UART configuration. More...
#include <nrfx_uart.h>
Data Fields | |
uint32_t | pseltxd |
TXD pin number. | |
uint32_t | pselrxd |
RXD pin number. | |
uint32_t | pselcts |
CTS pin number. | |
uint32_t | pselrts |
RTS pin number. | |
void * | p_context |
Context passed to interrupt handler. | |
nrf_uart_baudrate_t | baudrate |
Baud rate. | |
uint8_t | interrupt_priority |
Interrupt priority. | |
nrf_uart_config_t | hal_cfg |
Parity, flow control and stop bits settings. | |
bool | skip_gpio_cfg |
Skip GPIO configuration of pins. | |
bool | skip_psel_cfg |
Skip pin selection configuration. | |
Structure for the UART configuration.
bool nrfx_uart_config_t::skip_gpio_cfg |
Skip GPIO configuration of pins.
When set to true, the driver does not modify any GPIO parameters of the used pins. Those parameters are supposed to be configured externally before the driver is initialized.
bool nrfx_uart_config_t::skip_psel_cfg |
Skip pin selection configuration.
When set to true, the driver does not modify pin select registers in the peripheral. Those registers are supposed to be set up externally before the driver is initialized.