Structure to hold the parameters for the configuration of GSPI peripheral.

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 either 8 bit or 16 bit.

uint32_t

Mode 0 or Mode 3 of GSPI.

uint32_t

Slave select mode either software of 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


Definition at line 107 of file components/siwx917_soc/drivers/unified_api/inc/sl_si91x_gspi.h

swap_write#

boolean_t sl_gspi_control_config_t::swap_write

true to enable and false to disable swap write


Definition at line 108 of file components/siwx917_soc/drivers/unified_api/inc/sl_si91x_gspi.h

bit_width#

uint8_t sl_gspi_control_config_t::bit_width

Bit width either 8 bit or 16 bit.


Definition at line 109 of file components/siwx917_soc/drivers/unified_api/inc/sl_si91x_gspi.h

clock_mode#

uint32_t sl_gspi_control_config_t::clock_mode

Mode 0 or Mode 3 of GSPI.


Definition at line 110 of file components/siwx917_soc/drivers/unified_api/inc/sl_si91x_gspi.h

slave_select_mode#

uint32_t sl_gspi_control_config_t::slave_select_mode

Slave select mode either software of hardware output.


Definition at line 111 of file components/siwx917_soc/drivers/unified_api/inc/sl_si91x_gspi.h

bitrate#

uint32_t sl_gspi_control_config_t::bitrate

Bitrate for setting the clock division factor.


Definition at line 112 of file components/siwx917_soc/drivers/unified_api/inc/sl_si91x_gspi.h