Device and firmware record

espressif,esp32-pcnt

ESP32 Pulse Counter (PCNT) The pulse counter module is designed to count the number of rising and/or falling edges of an input signal. The ESP32's PCNT module has 8 independent counting "units" numbered from 0 to 7. ESP32S2 and ESP32S3 have 4 independent counting "units" numbered from 0 to 3. Each pulse counter unit has a 16-bit signed counter register. Each unit has two independent channel: ch0 and ch1 that can be configured to either increment or decrement the counter. Each channel has two inputs: a signal input that accepts signal edges to be detected, as well as a control input that can be used to enable or disable the signal input. Each pulse counter unit also features a filter on each of the four inputs, adding the option to ignore short glitches in the signals. By combining the usage of both signal and control inputs, a PCNT unit can act as a quadrature decoder. The mapping between signal and control input and the pin is done through pinctrl. Check espressif,esp32-pinctrl.yaml for complete documentation regarding pinctrl.

About espressif,esp32-pcnt

ESP32 Pulse Counter (PCNT) The pulse counter module is designed to count the number of rising and/or falling edges of an input signal. The ESP32's PCNT module has 8 independent counting "units" numbered from 0 to 7. ESP32S2 and ESP32S3 have 4 independent counting "units" numbered from 0 to 3. Each pulse counter unit has a 16-bit signed counter register. Each unit has two independent channel: ch0 and ch1 that can be configured to either increment or decrement the counter. Each channel has two inputs: a signal input that accepts signal edges to be detected, as well as a control input that can be used to enable or disable the signal input. Each pulse counter unit also features a filter on each of the four inputs, adding the option to ignore short glitches in the signals. By combining the usage of both signal and control inputs, a PCNT unit can act as a quadrature decoder. The mapping between signal and control input and the pin is done through pinctrl. Check espressif,esp32-pinctrl.yaml for complete documentation regarding pinctrl.

Device identity

Manufacturer
Espressif Systems
Model
espressif,esp32-pcnt
Category
Sensor Family

Specifications

Series
esp32-pcnt

Hardware and board identifiers

NamespaceValue
zephyr_idbinding:espressif,esp32-pcnt

Operating-system and firmware evidence

Source listings, compiled firmware and physical hardware tests are recorded separately.

Listed By Source

Oct 19, 2026

Operating system: zephyr. Imported from the named source; not an OpenFactory hardware test.

Source: Zephyr

Sources and provenance

  • ZephyrOct 19, 2026

    Curated source, revision d849fd4b82567cf25bac8b34b1cb7229dcea9b2f0c497b7670807a6efc549836

    No repository signature was supplied for this metadata.