SPRUJ79A November 2024 – December 2025 F29H850TU , F29H859TU-Q1
The PIPE compares an interrupt's configured priority level against the user-configured INT_PRIO_THRESHOLD register. This mechanism allows critical sections of code to temporarily block lower-priority interrupts while still allowing higher-priority ones to be serviced. This feature is enabled by setting the INT_PRIO_THRESHOLD_EN to 1.
// ATOMIC BLOCK START
INT_PRIO_THRESHOLD = 13; // User-configured value
INT_PRIO_THRESHOLD_EN = 1; // Enable this mechanism
NOP #8 // Insert necessary NOPs
NOP #8
// ATOMIC BLOCK END