UART configuration.

Public Attributes#

uint8_t *

Poniter to transmit buffer.

size_t

Size of transmit buffer.

uint8_t *

Poniter to receive buffer.

size_t

Size of receive buffer.

uint32_t

Baud rate of UART.

uint8_t

Defines amount of data bits in the UART frame.

Defines parity bit in the UART frame.

Define stop bit in the UART frame.

Expect this callback to be invoked in interrupt context.

const void *

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

uint8_t

Configuration flags.

Public Attribute Documentation#

id#

zpal_uart_id_t zpal_uart_config_t::id

UART ID.


Definition at line 114 of file /mnt/raid/workspaces/ws.eV40Coy1M/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_uart.h

tx_buffer#

uint8_t* zpal_uart_config_t::tx_buffer

Poniter to transmit buffer.


Definition at line 115 of file /mnt/raid/workspaces/ws.eV40Coy1M/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_uart.h

tx_buffer_len#

size_t zpal_uart_config_t::tx_buffer_len

Size of transmit buffer.


Definition at line 116 of file /mnt/raid/workspaces/ws.eV40Coy1M/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_uart.h

rx_buffer#

uint8_t* zpal_uart_config_t::rx_buffer

Poniter to receive buffer.


Definition at line 117 of file /mnt/raid/workspaces/ws.eV40Coy1M/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_uart.h

rx_buffer_len#

size_t zpal_uart_config_t::rx_buffer_len

Size of receive buffer.


Definition at line 118 of file /mnt/raid/workspaces/ws.eV40Coy1M/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_uart.h

baud_rate#

uint32_t zpal_uart_config_t::baud_rate

Baud rate of UART.


Definition at line 119 of file /mnt/raid/workspaces/ws.eV40Coy1M/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_uart.h

data_bits#

uint8_t zpal_uart_config_t::data_bits

Defines amount of data bits in the UART frame.


Definition at line 120 of file /mnt/raid/workspaces/ws.eV40Coy1M/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_uart.h

parity_bit#

zpal_uart_parity_bit_t zpal_uart_config_t::parity_bit

Defines parity bit in the UART frame.


Definition at line 121 of file /mnt/raid/workspaces/ws.eV40Coy1M/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_uart.h

stop_bits#

zpal_uart_stop_bits_t zpal_uart_config_t::stop_bits

Define stop bit in the UART frame.


Definition at line 122 of file /mnt/raid/workspaces/ws.eV40Coy1M/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_uart.h

receive_callback#

zpal_uart_receive_callback_t zpal_uart_config_t::receive_callback

Expect this callback to be invoked in interrupt context.


Definition at line 123 of file /mnt/raid/workspaces/ws.eV40Coy1M/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_uart.h

ptr#

const void* zpal_uart_config_t::ptr

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


Definition at line 124 of file /mnt/raid/workspaces/ws.eV40Coy1M/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_uart.h

flags#

uint8_t zpal_uart_config_t::flags

Configuration flags.


Definition at line 125 of file /mnt/raid/workspaces/ws.eV40Coy1M/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_uart.h