Structure to hold the configuration members for the GSPI peripheral.
This structure contains the configuration members for the GSPI peripheral, including options for swapping read/write operations, bit width, clock mode, slave select mode, and bitrate.
Public Attributes#
boolean_t
true to enable and false to disable swap read
boolean_t
true to enable and false to disable swap write
uint8_t
Bit width, from 1-16 bits.
uint32_t
Clock mode, either Mode 0 or Mode 3 of GSPI.
uint32_t
Secondary select mode, either software or hardware output.
uint32_t
Bitrate for setting the clock division factor.
Public Attribute Documentation#
swap_read#
boolean_t sl_gspi_control_config_t::swap_read
true to enable and false to disable swap read
swap_write#
boolean_t sl_gspi_control_config_t::swap_write
true to enable and false to disable swap write
clock_mode#
uint32_t sl_gspi_control_config_t::clock_mode
Clock mode, either Mode 0 or Mode 3 of GSPI.
slave_select_mode#
uint32_t sl_gspi_control_config_t::slave_select_mode
Secondary select mode, either software or hardware output.