This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_COUNTER_ESP32_PRESCALER

Prescaling value for counter device

Type: int

Help

Sets prescaler value for Timer clock.

Direct dependencies

COUNTER_ESP32 && COUNTER

(Includes any dependencies from ifs and menus.)

Default

  • 2

Kconfig definition

At drivers/counter/Kconfig.esp32:34

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:64drivers/counter/Kconfig:53

Menu path: (Top) → Device Drivers → Counter Drivers → ESP32 Counter Driver

config COUNTER_ESP32_PRESCALER
    int "Prescaling value for counter device"
    range 2 65336
    default 2
    depends on COUNTER_ESP32 && COUNTER
    help
      Sets prescaler value for Timer clock.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)