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


swap_write#

boolean_t sl_gspi_control_config_t::swap_write

true to enable and false to disable swap write


bit_width#

uint8_t sl_gspi_control_config_t::bit_width

Bit width either 8 bit or 16 bit.


clock_mode#

uint32_t sl_gspi_control_config_t::clock_mode

Mode 0 or Mode 3 of GSPI.


slave_select_mode#

uint32_t sl_gspi_control_config_t::slave_select_mode

Slave select mode either software of hardware output.


bitrate#

uint32_t sl_gspi_control_config_t::bitrate

Bitrate for setting the clock division factor.