spi_bus_register_destroy_func() function
Register a function to a initialized bus to make it called when deinitializing the bus.
Arguments
host_id
The SPI bus to register the destructor.
arg
The argument to call the destructor
Return value
Always ESP_OK.
spi_bus_register_destroy_func() is called by 1 function:
![]()
spi_bus_register_destroy_func()
spi_bus_register_destroy_func() reads 1 variable and writes 2 variables:
![]()
spi_bus_register_destroy_func()