INTERRUPT STRUCTURE
INTERRUPT PENDING FUNCTION TYPES
When the interrupt service routine has executed, the application program's service routine must clear the
appropriate pending bit before the return from interrupt subroutine (IRET) occurs.
INTERRUPT PRIORITY
Because there is not a interrupt priority register in SAM87RI, the order of service is determined by a sequence of
source which is executed in interrupt service routine.
"EI" INSTRUCTION
EXECUTION
RESET
SOURCE
INTERRUPTS
SOURCE
INTERRUPT
ENABLE
5-2
KS86C6004/C6008/P6008 MICROCONTROLLER (Preliminary Spec)
S
Q
R
INTERRUPT PRIORITY
IS DETERMINED BY
SOFTWARE POLLING
Figure 5-2. Interrupt Function Diagram
INTERRUPT PENDING
REGISTER
METHOD
GLOBAL INTERRUPT
CONTROL (EI, DI instructions)
VECTOR
INTERRUPT
CYCLE