![TENX TECHNOLOGY TM57PE10 User Manual Download Page 13](http://html.mh-extra.com/html/tenx-technology/tm57pe10/tm57pe10_user-manual_1087886013.webp)
Advance Information
UM-TM57PE10_E
8-Bit Microcontroller
13
tenx technology inc.
Preliminary
Rev 1.4, 2012/01/19
1.6 Interrupt
The TM57PE10 has 1 level, 1 vector and 8 interrupt sources. Each interrupt source has its own enable
control bit. An interrupt event will set its individual pending flag; no matter its interrupt enable control bit
is 0 or 1. Because TM57PE10 has only 1 vector, there is not an interrupt priority register. The interrupt
priority is determined by F/W.
If the corresponding interrupt enable bit has been set (INTE), it would trigger CPU to service the
interrupt. CPU accepts interrupt in the end of current executed instruction cycle. In the mean while, a
“CALL 001” instruction is inserted to CPU, and i-flag is set to prevent recursive interrupt nesting.
The i-flag is cleared in the instruction after the “RETI” instruction. That is, at least one instruction in main
program is executed before service the pending interrupt. The interrupt event is level triggered. F/W
must clear the interrupt event register while serving the interrupt routine.
Interrupt Pending
Interrupt
Vector
i-Flag
Interrupt
Source
Interrupt
Enable