_spi_init Struct Reference

SPI init Structure definition. More...

#include <gr55xx_hal_spi.h>

Data Fields

uint32_t data_size
 
uint32_t clock_polarity
 
uint32_t clock_phase
 
uint32_t baudrate_prescaler
 
uint32_t ti_mode
 
uint32_t slave_select
 

Detailed Description

SPI init Structure definition.

Field Documentation

◆ baudrate_prescaler

uint32_t _spi_init::baudrate_prescaler

Specifies the BaudRate prescaler value which will be used to configure the transmit and receive SCK clock.

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

◆ clock_phase

uint32_t _spi_init::clock_phase

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

◆ clock_polarity

uint32_t _spi_init::clock_polarity

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

◆ data_size

uint32_t _spi_init::data_size

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

◆ slave_select

uint32_t _spi_init::slave_select

Specifies the slaves to be selected. This parameter can be a value of SPI Slave Select

◆ ti_mode

uint32_t _spi_init::ti_mode

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


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