Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
zpal_uart_config_t Struct Reference

UART configuration. More...

#include <zpal_uart.h>

Data Fields

zpal_uart_id_t id
 UART ID.
 
uint8_t * tx_buffer
 Poniter to transmit buffer.
 
size_t tx_buffer_len
 Size of transmit buffer.
 
uint8_t * rx_buffer
 Poniter to receive buffer.
 
size_t rx_buffer_len
 Size of receive buffer.
 
uint32_t baud_rate
 Baud rate of UART.
 
uint8_t data_bits
 Defines amount of data bits in the UART frame.
 
zpal_uart_parity_bit_t parity_bit
 Defines parity bit in the UART frame.
 
zpal_uart_stop_bits_t stop_bits
 Define stop bit in the UART frame.
 
zpal_uart_receive_callback_t receive_callback
 Expect this callback to be invoked in interrupt context.
 
const void * ptr
 This can be used for anything, but might not work for all platform implementations.
 
uint8_t flags
 Configuration flags.
 

Detailed Description

UART configuration.

Field Documentation

◆ baud_rate

uint32_t zpal_uart_config_t::baud_rate

Baud rate of UART.

◆ data_bits

uint8_t zpal_uart_config_t::data_bits

Defines amount of data bits in the UART frame.

◆ flags

uint8_t zpal_uart_config_t::flags

Configuration flags.

◆ id

zpal_uart_id_t zpal_uart_config_t::id

UART ID.

◆ parity_bit

zpal_uart_parity_bit_t zpal_uart_config_t::parity_bit

Defines parity bit in the UART frame.

◆ ptr

const void* zpal_uart_config_t::ptr

This can be used for anything, but might not work for all platform implementations.

◆ receive_callback

zpal_uart_receive_callback_t zpal_uart_config_t::receive_callback

Expect this callback to be invoked in interrupt context.

◆ rx_buffer

uint8_t* zpal_uart_config_t::rx_buffer

Poniter to receive buffer.

◆ rx_buffer_len

size_t zpal_uart_config_t::rx_buffer_len

Size of receive buffer.

◆ stop_bits

zpal_uart_stop_bits_t zpal_uart_config_t::stop_bits

Define stop bit in the UART frame.

◆ tx_buffer

uint8_t* zpal_uart_config_t::tx_buffer

Poniter to transmit buffer.

◆ tx_buffer_len

size_t zpal_uart_config_t::tx_buffer_len

Size of transmit buffer.


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