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()`