Public Attributes | List of all members

SPI Init structure definition. More...

#include <stm32f4xx_spi.h>

Public Attributes

uint16_t SPI_BaudRatePrescaler
 
uint16_t SPI_CPHA
 
uint16_t SPI_CPOL
 
uint16_t SPI_CRCPolynomial
 
uint16_t SPI_DataSize
 
uint16_t SPI_Direction
 
uint16_t SPI_FirstBit
 
uint16_t SPI_Mode
 
uint16_t SPI_NSS
 

Detailed Description

SPI Init structure definition.

Definition at line 54 of file stm32f4xx_spi.h.

Member Data Documentation

uint16_t SPI_InitTypeDef::SPI_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

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

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 75 of file stm32f4xx_spi.h.

uint16_t SPI_InitTypeDef::SPI_CPHA

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

Definition at line 68 of file stm32f4xx_spi.h.

uint16_t SPI_InitTypeDef::SPI_CPOL

Specifies the serial clock steady state. This parameter can be a value of SPI_Clock_Polarity

Definition at line 65 of file stm32f4xx_spi.h.

uint16_t SPI_InitTypeDef::SPI_CRCPolynomial

Specifies the polynomial used for the CRC calculation.

Definition at line 84 of file stm32f4xx_spi.h.

uint16_t SPI_InitTypeDef::SPI_DataSize

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

Definition at line 62 of file stm32f4xx_spi.h.

uint16_t SPI_InitTypeDef::SPI_Direction

Specifies the SPI unidirectional or bidirectional data mode. This parameter can be a value of SPI_data_direction

Definition at line 56 of file stm32f4xx_spi.h.

uint16_t SPI_InitTypeDef::SPI_FirstBit

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

Definition at line 81 of file stm32f4xx_spi.h.

uint16_t SPI_InitTypeDef::SPI_Mode

Specifies the SPI operating mode. This parameter can be a value of SPI_mode

Specifies the SPI mode (Master/Slave). This parameter can be a value of SPI_mode

Definition at line 59 of file stm32f4xx_spi.h.

uint16_t SPI_InitTypeDef::SPI_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

Definition at line 71 of file stm32f4xx_spi.h.


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


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:31