sdm_channel_disable() function
Disable the Sigma Delta channel
Arguments
chan
SDM channel created by `sdm_new_channel`
Return value
- ESP_OK: Disable SDM channel successfully - ESP_ERR_INVALID_ARG: Disable SDM channel failed because of invalid argument - ESP_ERR_INVALID_STATE: Disable SDM channel failed because the channel is not enabled yet - ESP_FAIL: Disable SDM channel failed because of other error
Notes
This function will do the opposite work to the `sdm_channel_enable()`
sdm_channel_disable() calls 3 functions:
![]()
sdm_channel_disable()
sdm_channel_disable() reads 10 variables and writes 1 variable:
![]()
sdm_channel_disable()