Figure 26. Timing Chart of Interrupt Acceptance and Interrupt Return Instruction
Interrupt sources are sampled at the last cycle of a command. If an interrupt source is detected the
lower 8-bit of interrupt vector (INT_VEC) is decided. M8051W core makes interrupt acknowledge at the
first cycle of a command, and executes long call to jump to interrupt service routine.
7.12 Interrupt register overview
7.12.1 Interrupt Enable Register (IE, IE1, and IE2)
Interrupt enable register consists of global interrupt control bit (EA) and peripheral interrupt control bits.
Total 14 peripherals are able to control interrupt.
7.12.2 Interrupt Priority Register (IP and IP1)
14 interrupts are divided into 2 groups which have 6 interrupt sources respectively. A group can be
assigned to 4 levels of interrupt priority using interrupt priority register. Level 3 is the highest priority,
while level 0 is the lowest priority.