struct spi_cs_control {
/**
* GPIO devicetree specification of CS GPIO.
* The device pointer can be set to NULL to fully inhibit CS control if
* necessary. The GPIO flags GPIO_ACTIVE_LOW/GPIO_ACTIVE_HIGH should be
* equivalent to SPI_CS_ACTIVE_HIGH/SPI_CS_ACTIVE_LOW options in struct
* spi_config.
*/
struct gpio_dt_spec gpio;
/**
* Delay in microseconds to wait before starting the
* transmission and before releasing the CS line.
*/
uint32_t delay;
};
In my application I would like to inhibit the CS control. How can this be achieved? Is this done at Device Tree level?
Can it be done in the code, in the lines of:
memset(&spi.config.cs, NULL, sizeof(spi.config.cs));



