SPI init Structure definition.
More...
#include <hal_spi.h>
SPI init Structure definition.
Definition at line 104 of file hal_spi.h.
◆ 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.
Definition at line 115 of file hal_spi.h.
◆ 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.
Definition at line 112 of file hal_spi.h.
◆ clock_polarity
uint32_t _spi_init::clock_polarity |
◆ data_size
uint32_t _spi_init::data_size |
◆ rx_sample_delay
uint32_t _spi_init::rx_sample_delay |
Specifies the RX sample delay. It is used to delay the sample of the RX input port. This parameter can be a number between 0 and 0x7.
Definition at line 126 of file hal_spi.h.
◆ slave_select
uint32_t _spi_init::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.
Definition at line 120 of file hal_spi.h.
The documentation for this struct was generated from the following file: