nRF5 SDK v17.1.0
Data Fields
hal_uart_config_t Struct Reference

HAL UART configuration structure. More...

#include <hal_uart.h>

Data Fields

uint32_t module
 
uint32_t tx_pin
 
uint32_t rx_pin
 
uint32_t cts_pin
 
uint32_t rts_pin
 
hal_uart_baudrate_t baudrate
 
hal_uart_parity_t parity
 
hal_uart_flow_control_t flow_control
 
hal_uart_char_size_t char_size
 
hal_uart_stop_bits_t stop_bits
 

Detailed Description

HAL UART configuration structure.

Field Documentation

hal_uart_baudrate_t hal_uart_config_t::baudrate

Baudrate selector.

hal_uart_char_size_t hal_uart_config_t::char_size

Size of char in bits.

uint32_t hal_uart_config_t::cts_pin

Number of pin used as CTS.

hal_uart_flow_control_t hal_uart_config_t::flow_control

Flow control selector.

uint32_t hal_uart_config_t::module
        UART module number. By now zero

is the only option.

hal_uart_parity_t hal_uart_config_t::parity

Parity selector.

uint32_t hal_uart_config_t::rts_pin

Number of pin used as RTS.

uint32_t hal_uart_config_t::rx_pin

Number of pin used as RX.

hal_uart_stop_bits_t hal_uart_config_t::stop_bits

Stop bits number.

uint32_t hal_uart_config_t::tx_pin

Number of pin used as TX.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated