USART_InitAsync_TypeDef Struct ReferenceEMLIB > USART
Asynchronous mode init structure.
Definition at line 281
of file em_usart.h
.
#include <
em_usart.h
>
Data Fields | |
uint32_t | baudrate |
USART_Databits_TypeDef | databits |
USART_Enable_TypeDef | enable |
bool | mvdis |
USART_OVS_TypeDef | oversampling |
USART_Parity_TypeDef | parity |
USART_PrsRxCh_TypeDef | prsRxCh |
bool | prsRxEnable |
uint32_t | refFreq |
USART_Stopbits_TypeDef | stopbits |
Field Documentation
uint32_t USART_InitAsync_TypeDef::baudrate |
Desired baudrate.
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 databits in frame. Notice that UART modules only support 8 or 9 databits.
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 shall be enabled when init completed.
Definition at line 283
of file em_usart.h
.
Referenced by RETARGET_SerialInit(), UARTDRV_InitUart(), and 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_PrsRxCh_TypeDef 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 baudrate setup. Set it to 0 if currently configurated reference clock shall be used.
Definition at line 289
of file em_usart.h
.
Referenced by USART_InitAsync().
USART_Stopbits_TypeDef USART_InitAsync_TypeDef::stopbits |
Number of stopbits 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:/repos/embsw_super_h1/platform/emlib/inc/
em_usart.h