Public Attributes | List of all members
_hal_uart_config Struct Reference

UART configuration structure. More...

#include <uart.h>

Public Attributes

uint32_t baudRate_Bps
 
uint8_t enableRx
 
uint8_t enableTx
 
uint8_t instance
 
hal_uart_parity_mode_t parityMode
 
uint32_t srcClock_Hz
 
hal_uart_stop_bit_count_t stopBitCount
 

Detailed Description

UART configuration structure.

Definition at line 132 of file uart.h.

Member Data Documentation

◆ baudRate_Bps

uint32_t _hal_uart_config::baudRate_Bps

Baud rate

Definition at line 135 of file uart.h.

◆ enableRx

uint8_t _hal_uart_config::enableRx

Enable RX

Definition at line 138 of file uart.h.

◆ enableTx

uint8_t _hal_uart_config::enableTx

Enable TX

Definition at line 139 of file uart.h.

◆ instance

uint8_t _hal_uart_config::instance

Instance (0 - UART0, 1 - UART1, ...), detail information please refer to the SOC corresponding RM. Invalid instance value will cause initialization failure.

Definition at line 140 of file uart.h.

◆ parityMode

hal_uart_parity_mode_t _hal_uart_config::parityMode

Parity mode, disabled (default), even, odd

Definition at line 136 of file uart.h.

◆ srcClock_Hz

uint32_t _hal_uart_config::srcClock_Hz

Source clock

Definition at line 134 of file uart.h.

◆ stopBitCount

hal_uart_stop_bit_count_t _hal_uart_config::stopBitCount

Number of stop bits, 1 stop bit (default) or 2 stop bits

Definition at line 137 of file uart.h.


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


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:19