SN8P1700
8-bit micro-controller build-in 12-bit ADC
INTERRUPT OPERATION DESCRIPTION
SN8P1700 provides 7 interrupts. The operation of the 7 interrupts is as following.
GIE GLOBAL INTERRUPT OPERATION
GIE is the global interrupt control bit. All interrupts start work after the GIE = 1. It is necessary for interrupt service
request. One of the interrupt requests occurs, and the program counter (PC) points to the interrupt vector (ORG 8) and
the stack add 1 level.
STKP initial value = 0xxx 1111
0DFH
STKP
Bit 7
GIE
R/W
Bit 6
-
-
Bit 5
-
-
Bit 4
-
-
Bit 3
STKPB3
R/W
Bit 2
STKPB2
R/W
Bit 1
STKPB1
R/W
Bit 0
STKPB0
R/W
GIE: Global interrupt control bit. 0 = disable, 1 = enable.
ꢃExample: Set global interrupt control bit (GIE).
B0BSET
FGIE
; Enable GIE
ꢂ
Note: The GIE bit must enable and all interrupt operations work.
SONiX TECHNOLOGY CO., LTD
Page 92
Revision 1.94