nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
app_uart_comm_params_t Struct Reference

UART communication structure holding configuration settings for the peripheral. More...

#include <app_uart.h>

Data Fields

uint8_t rx_pin_no
 
uint8_t tx_pin_no
 
uint8_t rts_pin_no
 
uint8_t cts_pin_no
 
app_uart_flow_control_t flow_control
 
bool use_parity
 
uint32_t baud_rate
 

Detailed Description

UART communication structure holding configuration settings for the peripheral.

Field Documentation

uint32_t app_uart_comm_params_t::baud_rate

Baud rate configuration.

uint8_t app_uart_comm_params_t::cts_pin_no

CTS pin number, only used if flow control is enabled.

app_uart_flow_control_t app_uart_comm_params_t::flow_control

Flow control setting, if flow control is used, the system will use low power UART mode, based on CTS signal.

uint8_t app_uart_comm_params_t::rts_pin_no

RTS pin number, only used if flow control is enabled.

uint8_t app_uart_comm_params_t::rx_pin_no

RX pin number.

uint8_t app_uart_comm_params_t::tx_pin_no

TX pin number.

bool app_uart_comm_params_t::use_parity

Even parity if TRUE, no parity if FALSE.