esp_etm_channel_disable() function
Disable ETM channel
Arguments
chan
ETM channel handle that created by `esp_etm_new_channel`
Return value
- ESP_OK: Disable ETM channel successfully - ESP_ERR_INVALID_ARG: Disable ETM channel failed because of invalid argument - ESP_ERR_INVALID_STATE: Disable ETM channel failed because the channel is not enabled yet - ESP_FAIL: Disable ETM channel failed because of other reasons
Notes
This function will transit the channel state from enable to init.