STM32F479xx HAL User Manual
|
SPI Init structures definition. More...
#include <stm32f4xx_ll_spi.h>
Data Fields | |
uint32_t | TransferDirection |
uint32_t | Mode |
uint32_t | DataWidth |
uint32_t | ClockPolarity |
uint32_t | ClockPhase |
uint32_t | NSS |
uint32_t | BaudRate |
uint32_t | BitOrder |
uint32_t | CRCCalculation |
uint32_t | CRCPoly |
SPI Init structures definition.
Definition at line 54 of file stm32f4xx_ll_spi.h.
uint32_t LL_SPI_InitTypeDef::BaudRate |
Specifies the BaudRate prescaler value which will be used to configure the transmit and receive SCK clock. This parameter can be a value of Baud Rate Prescaler.
This feature can be modified afterwards using unitary function LL_SPI_SetBaudRatePrescaler().
Definition at line 86 of file stm32f4xx_ll_spi.h.
Referenced by LL_SPI_Init(), and LL_SPI_StructInit().
uint32_t LL_SPI_InitTypeDef::BitOrder |
Specifies whether data transfers start from MSB or LSB bit. This parameter can be a value of Transmission Bit Order.
This feature can be modified afterwards using unitary function LL_SPI_SetTransferBitOrder().
Definition at line 92 of file stm32f4xx_ll_spi.h.
Referenced by LL_SPI_Init(), and LL_SPI_StructInit().
uint32_t LL_SPI_InitTypeDef::ClockPhase |
Specifies the clock active edge for the bit capture. This parameter can be a value of Clock Phase.
This feature can be modified afterwards using unitary function LL_SPI_SetClockPhase().
Definition at line 76 of file stm32f4xx_ll_spi.h.
Referenced by LL_SPI_Init(), and LL_SPI_StructInit().
uint32_t LL_SPI_InitTypeDef::ClockPolarity |
Specifies the serial clock steady state. This parameter can be a value of Clock Polarity.
This feature can be modified afterwards using unitary function LL_SPI_SetClockPolarity().
Definition at line 71 of file stm32f4xx_ll_spi.h.
Referenced by LL_SPI_Init(), and LL_SPI_StructInit().
uint32_t LL_SPI_InitTypeDef::CRCCalculation |
Specifies if the CRC calculation is enabled or not. This parameter can be a value of CRC Calculation.
This feature can be modified afterwards using unitary functions LL_SPI_EnableCRC() and LL_SPI_DisableCRC().
Definition at line 97 of file stm32f4xx_ll_spi.h.
Referenced by LL_SPI_Init(), and LL_SPI_StructInit().
uint32_t LL_SPI_InitTypeDef::CRCPoly |
Specifies the polynomial used for the CRC calculation. This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFFFF.
This feature can be modified afterwards using unitary function LL_SPI_SetCRCPolynomial().
Definition at line 102 of file stm32f4xx_ll_spi.h.
Referenced by LL_SPI_Init(), and LL_SPI_StructInit().
uint32_t LL_SPI_InitTypeDef::DataWidth |
Specifies the SPI data width. This parameter can be a value of Datawidth.
This feature can be modified afterwards using unitary function LL_SPI_SetDataWidth().
Definition at line 66 of file stm32f4xx_ll_spi.h.
Referenced by LL_SPI_Init(), and LL_SPI_StructInit().
uint32_t LL_SPI_InitTypeDef::Mode |
Specifies the SPI mode (Master/Slave). This parameter can be a value of Operation Mode.
This feature can be modified afterwards using unitary function LL_SPI_SetMode().
Definition at line 61 of file stm32f4xx_ll_spi.h.
Referenced by LL_SPI_Init(), and LL_SPI_StructInit().
uint32_t LL_SPI_InitTypeDef::NSS |
Specifies whether the NSS signal is managed by hardware (NSS pin) or by software using the SSI bit. This parameter can be a value of Slave Select Pin Mode.
This feature can be modified afterwards using unitary function LL_SPI_SetNSSMode().
Definition at line 81 of file stm32f4xx_ll_spi.h.
Referenced by LL_SPI_Init(), and LL_SPI_StructInit().
Specifies the SPI unidirectional or bidirectional data mode. This parameter can be a value of Transfer Mode.
This feature can be modified afterwards using unitary function LL_SPI_SetTransferDirection().
Definition at line 56 of file stm32f4xx_ll_spi.h.
Referenced by LL_SPI_Init(), and LL_SPI_StructInit().