
SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 134
Revision 1.93
8
8
8
INTERRUPT
OVERVIEW
The SN8P1700 provides 7
1
interrupt sources, including four internal interrupts (T0, TC0, TC1 & SIO) and three
external interrupts (INT0 ~ INT2). These external interrupts can wakeup the chip from power down mode to high-speed
normal mode. The external clock input pins of INT0/INT1/INT2 are shared with P0.0/P0.1/P0.2 pins. Once interrupt
service is executed, the GIE bit in STKP register will clear to “0” for stopping other interrupt request. When interrupt
service exits, the GIE bit will set to “1” to accept the next interrupts’ request. All of the interrupt request signals are
stored in INTRQ register. The user can program the chip to check INTRQ’s content for setting executive priority.
Global interrupt request signal
Interrupt vector address (0008H)
INTRQ
7-bit
Latchs
T0IRQ
TC0IRQ
TC1IRQ
SIOIRQ
Interrupt
enable
gating
T0 time out
TC0 time out
TC1 time out
INTEN Interrupt enable register
SIO time out
The interrupt trigger edge :
INT0 ~ INT2 = falling edge
P00IRQ
INT0 trigger
P01IRQ
INT1 trigger
P02IRQ
INT2 trigger
Figure 8-1. The 7 Interrupts of SN8P1700
Note: 1.For SN8P1702 only obtain one internal interrupt P00 and one external interrupt TC0.
Note: 2.The GIE bit must enable and all interrupt operations work.