-
CONFIG_ZERO_LATENCY_IRQS
¶
Enable zero-latency interrupts
Type: bool
Help¶
The kernel may reserve some of the highest interrupts priorities in the system for its own use. These interrupts will not be masked by interrupt locking. When connecting interrupts the kernel will offset all interrupts to lower priority than those reserved by the kernel. Zero-latency interrupt can be used to set up an interrupt at the highest interrupt priority which will not be blocked by interrupt locking. Since Zero-latency ISRs will run in the same priority or possibly at higher priority than the rest of the kernel they cannot use any kernel functionality.
Direct dependencies¶
CPU_CORTEX_M_HAS_BASEPRI
&& (ARMV6_M_ARMV8_M_BASELINE
|| ARMV7_M_ARMV8_M_MAINLINE
) && CPU_CORTEX_M
&& ARM
(Includes any dependencies from if’s and menus.)
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At arch/arm/core/cortex_m/Kconfig:324
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
→ arch/arm/Kconfig:13
→ arch/arm/core/Kconfig:166
Menu path: (top menu) → ARM Options → ARM Cortex-M0/M0+/M3/M4/M7/M23/M33 options
config ZERO_LATENCY_IRQS bool prompt "Enable zero-latency interrupts" ifCPU_CORTEX_M_HAS_BASEPRI
&& (ARMV6_M_ARMV8_M_BASELINE
||ARMV7_M_ARMV8_M_MAINLINE
) &&CPU_CORTEX_M
&&ARM
depends onCPU_CORTEX_M_HAS_BASEPRI
&& (ARMV6_M_ARMV8_M_BASELINE
||ARMV7_M_ARMV8_M_MAINLINE
) &&CPU_CORTEX_M
&&ARM
help The kernel may reserve some of the highest interrupts priorities in the system for its own use. These interrupts will not be masked by interrupt locking. When connecting interrupts the kernel will offset all interrupts to lower priority than those reserved by the kernel. Zero-latency interrupt can be used to set up an interrupt at the highest interrupt priority which will not be blocked by interrupt locking. Since Zero-latency ISRs will run in the same priority or possibly at higher priority than the rest of the kernel they cannot use any kernel functionality.
(Definitions include propagated dependencies, including from if’s and menus.)