SN8P2977
8-Bit Micro-Controller with Regulator, PGIA, 24-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 57
Version 1.7
Bit 2
UTXIRQ: UART transmit interrupt request flag..
0 = None UART transmit interrupt request..
1 = UART transmit interrupt request.
Bit 3
URXIRQ: UART receive interrupt request flag.
0 = None UART receive interrupt request..
1 = UART receive interrupt request.
Bit 4
T0IRQ: T0 timer interrupt request control bit.
0 = Non T0 interrupt request.
1 = T0 interrupt request.
Bit 5
TC0IRQ: TC0 timer interrupt request control bit.
0 = Non TC0 interrupt request.
1 = TC0 interrupt request.
Bit 7
ADCIRQ: ADC interrupt request controls bit.
0 = Non ADC interrupt request.
1 = ADC interrupt request.
6.4 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.
0DFH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
STKP
GIE
-
-
-
-
STKPB2
STKPB1
STKPB0
Read/Write
R/W
-
-
-
-
R/W
R/W
R/W
After reset
0
-
-
-
-
1
1
1
Bit 7
GIE:
Global interrupt control bit.
0 = Disable global interrupt.
1 = Enable global interrupt
Bit [3:0]
STKPBn:
Stack pointer, n = 0~3.
Example: Set global interrupt control bit (GIE).
B0BSET
FGIE
; Enable GIE
Note: The GIE bit must enable during all interrupt operation.