doc: clarify the meaning of overflow in pcnt driver

Closes https://github.com/espressif/esp-idf/issues/10039
This commit is contained in:
morris
2022-10-26 16:12:53 +08:00
parent a0e8c4692a
commit e6e1d696d2
2 changed files with 2 additions and 2 deletions

View File

@@ -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