Function esp_idf_sys::pcnt_get_filter_value
source ยท pub unsafe extern "C" fn pcnt_get_filter_value(
unit: pcnt_unit_t,
filter_val: *mut u16,
) -> esp_err_t
Expand description
@brief Get PCNT filter value
@param unit PCNT unit number @param filter_val Pointer to accept PCNT filter value.
@return - ESP_OK Success - ESP_ERR_INVALID_STATE pcnt driver has not been initialized - ESP_ERR_INVALID_ARG Parameter error