mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
docs(pcnt): remove pm_lock content in glitch_filter
Closes https://github.com/espressif/esp-idf/issues/15027
This commit is contained in:
parent
3f05b4d25b
commit
08a54bba6c
@ -130,9 +130,6 @@ esp_err_t pcnt_del_unit(pcnt_unit_handle_t unit);
|
||||
/**
|
||||
* @brief Set glitch filter for PCNT unit
|
||||
*
|
||||
* @note The glitch filter module is clocked from APB, and APB frequency can be changed during DFS, which in return make the filter out of action.
|
||||
* So this function will lazy-install a PM lock internally when the power management is enabled. With this lock, the APB frequency won't be changed.
|
||||
* The PM lock can be uninstalled in `pcnt_del_unit()`.
|
||||
* @note This function should be called when the PCNT unit is in the init state (i.e. before calling `pcnt_unit_enable()`)
|
||||
*
|
||||
* @param[in] unit PCNT unit handle created by `pcnt_new_unit()`
|
||||
|
Loading…
x
Reference in New Issue
Block a user