Synopsis
CTL_STATUS_t ctl_spi_set_mode(CTL_SPI_DEVICE_t *self,
                              int mode);
Description

ctl_spi_set_mode sets the SPI bus mode to use for the device self to mode.

Please refer to ctl_spi_set_protocol for a description of when protocol parameters are validated.

Description

ctl_spi_set_mode returns a standard status code.

See Also

ctl_spi_set_protocol