:orphan: .. title:: XTENSA_TIMER_ID .. option:: 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 =================== \ :option:`XTENSA_TIMER ` *(Includes any dependencies from ifs and menus.)* Default ======= - 1 Kconfig definition ================== .. highlight:: kconfig At ``drivers/timer/Kconfig:224`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:32`` → ``drivers/Kconfig:28`` Menu path: (Top) → Device Drivers → Timer Drivers → Xtensa timer support .. parsed-literal:: config XTENSA_TIMER_ID int "System timer CCOMPAREn register index" default 1 depends on \ :option:`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.)*