STM32H735xx HAL User Manual
|
SPI Init structures definition. More...
#include <stm32h7xx_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 61 of file stm32h7xx_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 101 of file stm32h7xx_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 Bit Order.
This feature can be modified afterwards using unitary function LL_SPI_SetTransferBitOrder().
Definition at line 110 of file stm32h7xx_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 Phase.
This feature can be modified afterwards using unitary function LL_SPI_SetClockPhase().
Definition at line 87 of file stm32h7xx_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 Polarity.
This feature can be modified afterwards using unitary function LL_SPI_SetClockPolarity().
Definition at line 81 of file stm32h7xx_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 116 of file stm32h7xx_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 = 0xFFFFFFFF.
This feature can be modified afterwards using unitary function LL_SPI_SetCRCPolynomial().
Definition at line 122 of file stm32h7xx_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 Data Width.
This feature can be modified afterwards using unitary function LL_SPI_SetDataWidth().
Definition at line 75 of file stm32h7xx_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 Mode.
This feature can be modified afterwards using unitary function LL_SPI_SetMode().
Definition at line 69 of file stm32h7xx_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 NSS Mode.
This feature can be modified afterwards using unitary function LL_SPI_SetNSSMode().
Definition at line 93 of file stm32h7xx_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 63 of file stm32h7xx_ll_spi.h.
Referenced by LL_SPI_Init(), and LL_SPI_StructInit().