Function esp_idf_sys::gpio_etm_task_rm_gpio
source ยท pub unsafe extern "C" fn gpio_etm_task_rm_gpio(
task: esp_etm_task_handle_t,
gpio_num: c_int,
) -> esp_err_t
Expand description
@brief Remove the GPIO from the ETM task
@note Before deleting the ETM task, you need to remove all the GPIOs from the ETM task by this function @note Only GPIO ETM object can call this function
@param[in] task ETM task handle that created by gpio_new_etm_task
@param[in] gpio_num GPIO number that to be remove from the ETM task
@return
- ESP_OK: Remove the GPIO from the ETM task successfully
- ESP_ERR_INVALID_ARG: Remove the GPIO from the ETM task failed because of invalid argument
- ESP_ERR_INVALID_STATE: Remove the GPIO from the ETM task failed because the GPIO is not controlled by this ETM task
- ESP_FAIL: Remove the GPIO from the ETM task failed because of other reasons