[−][src]Function esp_idf_sys::spicommon_cs_initialize
pub unsafe extern "C" fn spicommon_cs_initialize(
host: spi_host_device_t,
cs_io_num: c_int,
cs_num: c_int,
force_gpio_matrix: c_int
)
@brief Initialize a Chip Select pin for a specific SPI peripheral
@param host SPI peripheral @param cs_io_num GPIO pin to route @param cs_num CS id to route @param force_gpio_matrix If true, CS will always be routed through the GPIO matrix. If false, if the GPIO number allows it, the routing will happen through the IO_mux.