mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-12 17:31:07 +00:00
fix(pcnt): fix the accum_value missing when overflow
This commit is contained in:
@@ -257,6 +257,10 @@ The internal hardware counter will be cleared to zero automatically when it reac
|
||||
|
||||
:cpp:func:`pcnt_unit_clear_count` will reset the accumulated count value as well.
|
||||
|
||||
.. note::
|
||||
|
||||
When enabling the count overflow compensation, it is recommended to use as large a high/low count limit as possible, as it can avoid frequent interrupt triggering, improve system performance, and avoid compensation failure due to multiple overflows.
|
||||
|
||||
.. _pcnt-power-management:
|
||||
|
||||
Power Management
|
||||
|
Reference in New Issue
Block a user