Preliminary
SN8P1702A/SN8P1703A
8-bit micro-controller build-in 12-bit ADC
INTERRUPT OPERATION DESCRIPTION
SN8P1702A/SN8P1703A provides 3 interrupts. The operation of the 3 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
Bit7
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 81
Revision 0.5