Prusa MINI Firmware overview
|
SPI Configuration Structure definition. More...
#include <stm32f4xx_hal_spi.h>
Public Attributes | |
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 |
SPI Configuration Structure definition.
uint32_t SPI_InitTypeDef::Mode |
Specifies the SPI operating mode. This parameter can be a value of SPI Mode
uint32_t SPI_InitTypeDef::Direction |
Specifies the SPI bidirectional mode state. This parameter can be a value of SPI Direction Mode
uint32_t SPI_InitTypeDef::DataSize |
Specifies the SPI data size. This parameter can be a value of SPI Data Size
uint32_t SPI_InitTypeDef::CLKPolarity |
Specifies the serial clock steady state. This parameter can be a value of SPI Clock Polarity
uint32_t SPI_InitTypeDef::CLKPhase |
Specifies the clock active edge for the bit capture. This parameter can be a value of SPI Clock Phase
uint32_t 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 SPI Slave Select Management
uint32_t SPI_InitTypeDef::BaudRatePrescaler |
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
uint32_t SPI_InitTypeDef::FirstBit |
Specifies whether data transfers start from MSB or LSB bit. This parameter can be a value of SPI MSB LSB Transmission
uint32_t SPI_InitTypeDef::TIMode |
Specifies if the TI mode is enabled or not. This parameter can be a value of SPI TI Mode
uint32_t SPI_InitTypeDef::CRCCalculation |
Specifies if the CRC calculation is enabled or not. This parameter can be a value of SPI CRC Calculation
uint32_t SPI_InitTypeDef::CRCPolynomial |
Specifies the polynomial used for the CRC calculation. This parameter must be a number between Min_Data = 0 and Max_Data = 65535