SPI Initialization structure.
Public Attributes#
Specifies whether TX and/or RX will be enabled when initialization completes.
EUSART reference clock assumed when configuring baud rate setup.
Desired bit rate in Hz.
Number of data bits in frame.
Select to operate in master or slave mode.
Clock polarity/phase mode.
Enable Loop Back configuration.
Advanced initialization structure pointer. It can be NULL.
Public Attribute Documentation#
enable#
EUSART_Enable_TypeDef EUSART_SpiInit_TypeDef::enable
Specifies whether TX and/or RX will be enabled when initialization completes.
642
of file platform/emlib/inc/em_eusart.h
refFreq#
uint32_t EUSART_SpiInit_TypeDef::refFreq
EUSART reference clock assumed when configuring baud rate setup.
Set to 0 if using currently configured reference clock.
646
of file platform/emlib/inc/em_eusart.h
bitRate#
uint32_t EUSART_SpiInit_TypeDef::bitRate
Desired bit rate in Hz.
Depending on EUSART instance clock, not all bitrates are achievable as the divider is limited to 255.
651
of file platform/emlib/inc/em_eusart.h
databits#
EUSART_Databits_TypeDef EUSART_SpiInit_TypeDef::databits
Number of data bits in frame.
654
of file platform/emlib/inc/em_eusart.h
master#
bool EUSART_SpiInit_TypeDef::master
Select to operate in master or slave mode.
657
of file platform/emlib/inc/em_eusart.h
clockMode#
EUSART_ClockMode_TypeDef EUSART_SpiInit_TypeDef::clockMode
Clock polarity/phase mode.
660
of file platform/emlib/inc/em_eusart.h
loopbackEnable#
EUSART_LoopbackEnable_TypeDef EUSART_SpiInit_TypeDef::loopbackEnable
Enable Loop Back configuration.
663
of file platform/emlib/inc/em_eusart.h
advancedSettings#
EUSART_SpiAdvancedInit_TypeDef* EUSART_SpiInit_TypeDef::advancedSettings
Advanced initialization structure pointer. It can be NULL.
666
of file platform/emlib/inc/em_eusart.h