SN8P2714X_2715
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 82
V1.4
9.5 INTERRUPT OPERATION DESCRIPTION
SN8P2710 provides 4 interrupts. The operation of the 4 interrupts is as following.
9.5.1 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
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
STKP
GIE
- - - -
STKPB2
STKPB1
STKPB0
R/W
- - - -
R/W
R/W
R/W
Bit 7
GIE:
Global interrupt control bit.
0 = Disable Interrupt function
1 = Enable Interrupt function
Â
Example: Set global interrupt control bit (GIE).
B0BSET
FGIE
; Enable GIE
¾
Note: The GIE bit must enable and all interrupt operations work.