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.
Default¶
- 1 
Kconfig definition¶
At <Zephyr Driver>/timer/Kconfig:260
Included via Kconfig:8 → Kconfig.zephyr:42 → <Zephyr Driver>/Kconfig:30
Menu path: (Top) → Device Drivers → Timer Drivers
config XTENSA_TIMER_ID
    int "System timer CCOMPAREn register index"
    default 1
    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.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)