USART_InitSync_TypeDef Struct Reference

Synchronous mode initialization structure.

Definition at line 417 of file em_usart.h .

#include < em_usart.h >

Data Fields

bool autoCsEnable
uint8_t autoCsHold
uint8_t autoCsSetup
bool autoTx
uint32_t baudrate
USART_ClockMode_TypeDef clockMode
USART_Databits_TypeDef databits
USART_Enable_TypeDef enable
bool master
bool msbf
USART_PRS_Channel_t prsRxCh
bool prsRxEnable
uint32_t refFreq

Field Documentation

bool USART_InitSync_TypeDef::autoCsEnable

Auto CS enabling

Definition at line 457 of file em_usart.h .

Referenced by USART_InitSync() .

uint8_t USART_InitSync_TypeDef::autoCsHold

Auto CS hold time in baud cycles

Definition at line 461 of file em_usart.h .

Referenced by USART_InitSync() .

uint8_t USART_InitSync_TypeDef::autoCsSetup

Auto CS setup time in baud cycles

Definition at line 464 of file em_usart.h .

Referenced by USART_InitSync() .

bool USART_InitSync_TypeDef::autoTx

Enable AUTOTX mode. Transmits as long as RX is not full. Generates underflows if TX is empty.

Definition at line 453 of file em_usart.h .

Referenced by MIC_init() , and USART_InitSync() .

uint32_t USART_InitSync_TypeDef::baudrate

Desired baud rate.

Definition at line 428 of file em_usart.h .

Referenced by MIC_init() , MICROSD_Init() , SPIDRV_Init() , and USART_InitSync() .

USART_ClockMode_TypeDef USART_InitSync_TypeDef::clockMode

Clock polarity/phase mode.

Definition at line 440 of file em_usart.h .

Referenced by SPIDRV_Init() , and USART_InitSync() .

USART_Databits_TypeDef USART_InitSync_TypeDef::databits

Number of data bits in frame.

Definition at line 431 of file em_usart.h .

Referenced by SPIDRV_Init() , and USART_InitSync() .

USART_Enable_TypeDef USART_InitSync_TypeDef::enable

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

Definition at line 419 of file em_usart.h .

Referenced by MIC_init() , USART_InitI2s() , and USART_InitSync() .

bool USART_InitSync_TypeDef::master

Select if to operate in master or slave mode.

Definition at line 434 of file em_usart.h .

Referenced by SPIDRV_Init() , and USART_InitSync() .

bool USART_InitSync_TypeDef::msbf

Select if to send most or least significant bit first.

Definition at line 437 of file em_usart.h .

Referenced by MICROSD_Init() , SPIDRV_Init() , and USART_InitSync() .

USART_PRS_Channel_t USART_InitSync_TypeDef::prsRxCh

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

Definition at line 447 of file em_usart.h .

Referenced by USART_InitSync() .

bool USART_InitSync_TypeDef::prsRxEnable

Enable USART Rx via PRS.

Definition at line 444 of file em_usart.h .

Referenced by USART_InitSync() .

uint32_t USART_InitSync_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 425 of file em_usart.h .

Referenced by USART_InitSync() .


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