USART_InitSync_TypeDef Struct ReferenceEMLIB > USART

Synchronous mode initialization structure.

Definition at line 418 of file em_usart.h.

#include <em_usart.h>

Data Fields

bool autoCsEnable
 
uint32_t baudrate
 
USART_ClockMode_TypeDef clockMode
 
USART_Databits_TypeDef databits
 
USART_Enable_TypeDef enable
 
bool master
 
bool msbf
 
uint32_t refFreq
 

Field Documentation

bool USART_InitSync_TypeDef::autoCsEnable

Auto CS enabling

Definition at line 458 of file em_usart.h.

Referenced by USART_InitSync().

uint32_t USART_InitSync_TypeDef::baudrate

Desired baud rate.

Definition at line 429 of file em_usart.h.

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

USART_ClockMode_TypeDef USART_InitSync_TypeDef::clockMode

Clock polarity/phase mode.

Definition at line 441 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 432 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 420 of file em_usart.h.

Referenced by USART_InitSync().

bool USART_InitSync_TypeDef::master

Select if to operate in master or slave mode.

Definition at line 435 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 438 of file em_usart.h.

Referenced by MICROSD_Init(), SPIDRV_Init(), and 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 426 of file em_usart.h.

Referenced by USART_InitSync().


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