The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_XTENSA_TIMER_ID

System timer CCOMPAREn register index

Type: int

Help

Index of the CCOMPARE register (and associated interrupt) used for the system timer. Xtensa CPUs have hard-configured interrupt priorities associated with each timer, and some of them can be unmaskable (and thus not usable by OS code that need synchronization, like the timer subsystem!). Choose carefully. Generally you want the timer with the highest priority maskable interrupt.

Direct dependencies

XTENSA_TIMER

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/timer/Kconfig:158

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:26

Menu path: (top menu) → Device Drivers → Timer Drivers

config XTENSA_TIMER_ID
    int
    prompt "System timer CCOMPAREn register index" if XTENSA_TIMER
    default 1 if XTENSA_TIMER
    depends on XTENSA_TIMER
    help
      Index of the CCOMPARE register (and associated interrupt)
      used for the system timer.  Xtensa CPUs have hard-configured
      interrupt priorities associated with each timer, and some of
      them can be unmaskable (and thus not usable by OS code that
      need synchronization, like the timer subsystem!).  Choose
      carefully.  Generally you want the timer with the highest
      priority maskable interrupt.

(Definitions include propagated dependencies, including from if’s and menus.)