USART_InitAsync_TypeDef Struct Reference

Asynchronous mode initialization structure.

Definition at line 281 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 319 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 323 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 326 of file em_usart.h .

Referenced by USART_InitAsync() .

uint32_t USART_InitAsync_TypeDef::baudrate

Desired baud rate.

Definition at line 292 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 299 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 283 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 329 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 309 of file em_usart.h .

Referenced by UARTDRV_InitUart() , and USART_InitAsync() .

USART_OVS_TypeDef USART_InitAsync_TypeDef::oversampling

Oversampling used.

Definition at line 295 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 302 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 315 of file em_usart.h .

Referenced by USART_InitAsync() .

bool USART_InitAsync_TypeDef::prsRxEnable

Enable USART Rx via PRS.

Definition at line 312 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 289 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 305 of file em_usart.h .

Referenced by UARTDRV_InitUart() , and USART_InitAsync() .


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