STM32F439xx HAL User Manual
Data Fields
SPI_InitTypeDef Struct Reference

SPI Configuration Structure definition. More...

#include <stm32f4xx_hal_spi.h>

Data Fields

uint32_t Mode
uint32_t Direction
uint32_t DataSize
uint32_t CLKPolarity
uint32_t CLKPhase
uint32_t NSS
uint32_t BaudRatePrescaler
uint32_t FirstBit
uint32_t TIMode
uint32_t CRCCalculation
uint32_t CRCPolynomial

Detailed Description

SPI Configuration Structure definition.

Definition at line 63 of file stm32f4xx_hal_spi.h.


Field Documentation

Specifies the Baud Rate prescaler value which will be used to configure the transmit and receive SCK clock. This parameter can be a value of SPI BaudRate Prescaler

Note:
The communication clock is derived from the master clock. The slave clock does not need to be set.

Definition at line 84 of file stm32f4xx_hal_spi.h.

Referenced by HAL_SPI_Init().

Specifies the clock active edge for the bit capture. This parameter can be a value of SPI Clock Phase

Definition at line 77 of file stm32f4xx_hal_spi.h.

Referenced by HAL_SPI_Init().

Specifies the serial clock steady state. This parameter can be a value of SPI Clock Polarity

Definition at line 74 of file stm32f4xx_hal_spi.h.

Referenced by HAL_SPI_Init().

Specifies the polynomial used for the CRC calculation. This parameter must be a number between Min_Data = 0 and Max_Data = 65535

Definition at line 99 of file stm32f4xx_hal_spi.h.

Referenced by HAL_SPI_Init().

Specifies the SPI data size. This parameter can be a value of SPI Data Size

Definition at line 71 of file stm32f4xx_hal_spi.h.

Referenced by HAL_SPI_Init(), HAL_SPI_Receive(), HAL_SPI_Receive_IT(), HAL_SPI_Transmit(), HAL_SPI_Transmit_IT(), HAL_SPI_TransmitReceive(), and HAL_SPI_TransmitReceive_IT().

Specifies whether data transfers start from MSB or LSB bit. This parameter can be a value of SPI MSB LSB Transmission

Definition at line 90 of file stm32f4xx_hal_spi.h.

Referenced by HAL_SPI_Init().

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 SPI Slave Select Management

Definition at line 80 of file stm32f4xx_hal_spi.h.

Referenced by HAL_SPI_Init().

Specifies if the TI mode is enabled or not. This parameter can be a value of SPI TI Mode

Definition at line 93 of file stm32f4xx_hal_spi.h.

Referenced by HAL_SPI_Init().


The documentation for this struct was generated from the following file: