Function esp_idf_sys::pcnt_counter_clear
source ยท pub unsafe extern "C" fn pcnt_counter_clear(
pcnt_unit: pcnt_unit_t,
) -> esp_err_t
Expand description
@brief Clear and reset PCNT counter value to zero
@param pcnt_unit PCNT unit number, select from pcnt_unit_t
@return - ESP_OK Success - ESP_ERR_INVALID_STATE pcnt driver has not been initialized - ESP_ERR_INVALID_ARG Parameter error