walnux/arch/xtensa
Martin Vajnar 907b487eb7 arch/xtensa/src/common/espressif/esp_pcnt.c: counter accumulation fix
Port fix from risc-v code. Providing original description:

Even when enabled, the PCNT counter doesn't accumulate into the 32-bit value.
Instead, a value in range [PCNT_LOW_LIMIT, PCNT_HIGH_LIMIT] is always returned.
This is due to interrupt events associated with limit overflows are disabled on the periphery,
therefore the ISR responsible for the accumulation never gets called.

Fixed by enabling the associated interrupt events.

Signed-off-by: Martin Vajnar <martin.vajnar@gmail.com>
Original-fix-by: michal matias <mich4l.matias@gmail.com>
2025-06-20 20:51:49 +08:00
..
include style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
src arch/xtensa/src/common/espressif/esp_pcnt.c: counter accumulation fix 2025-06-20 20:51:49 +08:00
CMakeLists.txt cmake:implement CMake build of xtensa arch 2024-11-02 18:08:38 +08:00
Kconfig style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00