Home
last modified time | relevance | path

Searched refs:cur_cs (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-latest/components/driver/spi/gpspi/
Dspi_master.c146 int cur_cs; //current device doing transaction member
226 .cur_cs = DEV_NUM_MAX, in spi_master_init_driver()
497 …SPI_CHECK(handle->host->cur_cs == DEV_NUM_MAX || handle->host->device[handle->host->cur_cs] != han… in spi_bus_remove_device()
594 host->cur_cs = dev->id; in spi_new_trans()
653 spi_device_t* dev = host->device[host->cur_cs]; in spi_post_trans()
656 host->cur_cs = DEV_NUM_MAX; in spi_post_trans()
678 assert(host->cur_cs != DEV_NUM_MAX); in spi_intr()
680 const int cs = host->cur_cs; in spi_intr()
706 assert(host->cur_cs == DEV_NUM_MAX); in spi_intr()
1078 assert(host->cur_cs == handle->id); in spi_device_polling_end()