mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-23 01:05:14 +00:00
doc: clarify the meaning of overflow in pcnt driver
Closes https://github.com/espressif/esp-idf/issues/10039
This commit is contained in:
@@ -227,7 +227,7 @@ You can check current count value at any time by calling :cpp:func:`pcnt_unit_ge
|
||||
|
||||
.. note::
|
||||
|
||||
The returned count value is a **signed** integer, where the sign can be used to reflect the direction. The internal counter will overflow when it reaches high or low limit, but this function doesn't compensate for that loss.
|
||||
The returned count value is a **signed** integer, where the sign can be used to reflect the direction. The internal counter will be cleared to zero automatically when it reaches high or low limit, but this function doesn't compensate for that loss.
|
||||
|
||||
.. code:: c
|
||||
|
||||
|
Reference in New Issue
Block a user