SN8P2714X_2715
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 81
V1.4
9.3 INTRQ INTERRUPT REQUEST REGISTER
INTRQ is the interrupt request flag register. The register includes all interrupt request indication flags. Each one of
these interrupt request occurs, the bit of the INTRQ register would be set “1”. The INTRQ value needs to be clear by
programming after detecting the flag. In the interrupt vector of program, users know the any interrupt requests
occurring by the register and do the routine corresponding of the interrupt request.
INTRQ initial value = x00x xx00
0C8H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
INTRQ
- TC1IRQ
TC0IRQ -
-
- P01IRQ
P00IRQ
- R/W
R/W - - - R/W
R/W
Bit 6
TC1IRQ:
TC1 timer interrupt request controls bit.
0 = Non request from TC1
1 = Request from TC1
Bit 5
TC0IRQ:
TC0 timer interrupt request controls bit.
0 = Non request from TC0
1 = Request from TC0
Bit 1
P01IRQ:
External P0.1 interrupt request bit.
0 = Non-request from P01
1 = Request from P01
Bit 0
P00IRQ:
External P0.0 interrupt request bit.
0 = Non-request from P00
1 = Request from P00
9.4 P0.0 INTERRUPT TRIGGER EDGE CONTROL REGISTER
PEDGE initial value = xxx1 0xxx
0BFH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
PEDGE
- - -
P00G1 P00G0
-
-
-
- - -
R/W
R/W
- - -
Bit [4:3]
P00G [1:0]:
P0.0 interrupt trigger edge control register
00
=
Reserved
01 = Rising edge
10 = Falling edge
(Reset default setting)
11 = Falling and rising edge both (level change trigger)