:orphan: .. title:: CONFIG_XTENSA_TIMER_ID .. kconfig:: CONFIG_XTENSA_TIMER_ID CONFIG_XTENSA_TIMER_ID ###################### *System timer CCOMPAREn register index* Type: ``int`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`XTENSA_TIMER ` *(Includes any dependencies from ifs and menus.)* Default ======= - 1 Kconfig definition ================== At ``/timer/Kconfig:260`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:30`` Menu path: (Top) → Device Drivers → Timer Drivers .. code-block:: kconfig 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.)*