USART_InitAsync_TypeDef Struct ReferenceEMLIB > USART

Asynchronous mode initialization structure.

Definition at line 282 of file em_usart.h .

#include < em_usart.h >

Data Fields

bool autoCsEnable
uint8_t autoCsHold
uint8_t autoCsSetup
uint32_t baudrate
USART_Databits_TypeDef databits
USART_Enable_TypeDef enable
USART_HwFlowControl_TypeDef hwFlowControl
bool mvdis
USART_OVS_TypeDef oversampling
USART_Parity_TypeDef parity
USART_PRS_Channel_t prsRxCh
bool prsRxEnable
uint32_t refFreq
USART_Stopbits_TypeDef stopbits

Field Documentation

bool USART_InitAsync_TypeDef::autoCsEnable

Auto CS enabling.

Definition at line 320 of file em_usart.h .

Referenced by USART_InitAsync() .

uint8_t USART_InitAsync_TypeDef::autoCsHold

Auto CS hold time in baud cycles.

Definition at line 324 of file em_usart.h .

Referenced by USART_InitAsync() .

uint8_t USART_InitAsync_TypeDef::autoCsSetup

Auto CS setup time in baud cycles.

Definition at line 327 of file em_usart.h .

Referenced by USART_InitAsync() .

uint32_t USART_InitAsync_TypeDef::baudrate

Desired baud rate.

Definition at line 293 of file em_usart.h .

Referenced by UARTDRV_InitUart() , and USART_InitAsync() .

USART_Databits_TypeDef USART_InitAsync_TypeDef::databits

Number of data bits in frame. Notice that UART modules only support 8 or 9 data bits.

Definition at line 300 of file em_usart.h .

Referenced by UARTDRV_InitUart() , and USART_InitAsync() .

USART_Enable_TypeDef USART_InitAsync_TypeDef::enable

Specifies whether TX and/or RX is enabled when initialization is completed.

Definition at line 284 of file em_usart.h .

Referenced by RETARGET_SerialInit() , UARTDRV_InitUart() , and USART_InitAsync() .

USART_HwFlowControl_TypeDef USART_InitAsync_TypeDef::hwFlowControl

Hardware flow control mode.

Definition at line 330 of file em_usart.h .

Referenced by USART_InitAsync() .

bool USART_InitAsync_TypeDef::mvdis

Majority Vote Disable for 16x, 8x and 6x oversampling modes.

Definition at line 310 of file em_usart.h .

Referenced by UARTDRV_InitUart() , and USART_InitAsync() .

USART_OVS_TypeDef USART_InitAsync_TypeDef::oversampling

Oversampling used.

Definition at line 296 of file em_usart.h .

Referenced by UARTDRV_InitUart() , and USART_InitAsync() .

USART_Parity_TypeDef USART_InitAsync_TypeDef::parity

Parity mode to use.

Definition at line 303 of file em_usart.h .

Referenced by UARTDRV_InitUart() , and USART_InitAsync() .

USART_PRS_Channel_t USART_InitAsync_TypeDef::prsRxCh

Select PRS channel for USART Rx. (Only valid if prsRxEnable is true).

Definition at line 316 of file em_usart.h .

Referenced by USART_InitAsync() .

bool USART_InitAsync_TypeDef::prsRxEnable

Enable USART Rx via PRS.

Definition at line 313 of file em_usart.h .

Referenced by USART_InitAsync() .

uint32_t USART_InitAsync_TypeDef::refFreq

USART/UART reference clock assumed when configuring baud rate setup. Set to 0 to use the currently configured reference clock.

Definition at line 290 of file em_usart.h .

Referenced by USART_InitAsync() .

USART_Stopbits_TypeDef USART_InitAsync_TypeDef::stopbits

Number of stop bits to use.

Definition at line 306 of file em_usart.h .

Referenced by UARTDRV_InitUart() , and USART_InitAsync() .


The documentation for this struct was generated from the following file:
  • C:/repos/super_h1/platform/emlib/inc/ em_usart.h