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


Definition at line 159 of file components/device/silabs/si91x/mcu/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 160 of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_gspi.h

bit_width#

uint8_t sl_gspi_control_config_t::bit_width

Bit width, from 1-16 bits.


Definition at line 161 of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_gspi.h

clock_mode#

uint32_t sl_gspi_control_config_t::clock_mode

Clock mode, either Mode 0 or Mode 3 of GSPI.


Definition at line 162 of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_gspi.h

slave_select_mode#

uint32_t sl_gspi_control_config_t::slave_select_mode

Secondary select mode, either software or hardware output.


Definition at line 163 of file components/device/silabs/si91x/mcu/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 164 of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_gspi.h