Download GPL162002A/162003A Programming Guide

Transcript
GPL162002A/162003A Programming Guide
P_INT_Priority1
Bit
15
0x78A4
14
13
Interrupt Priority 1 Register
12
11
10
9
8
7
6
5
4
3
2
1
0
Function KEYIP ADCRIP TFTUFIP TFTFEIP UTIRIP SPIIP FPIP TPIP ASPIP - AUDBIP AUDAIP USBIP DMAIP EXTBIP EXTAIP
Default
0
0
0
0
P_INT_Priority2
0
0
0
0
0
0
0x78A5
0
0
0
0
0
0
Interrupt Priority 2 Register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Function
TMDIP
TMCIP
TMBIP
TMAIP
KSIP
-
-
-
-
SD
I2C
NAND
-
-
-
-
Default
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
l
a
i e
t
n s
e
U
d
i
f
n 司
o
C 公
s
限
u 有
l
p 份
l
a
r
e 股
n
e 技
G 科
格
普
P_MINT_Ctrl
Bit
Function
Default
0x78A8
15
14
13
KC2IF KC2EN KC1IF
0
0
0
Miscellaneous Interrupt Control Register
12
KC1EN
11
10
KC0IF KC0EN
0
0
0
9
8
7
6
-
-
-
-
0
0
0
0
5
4
EXTBIS EXTAIS
0
0
3
2
-
-
1
0
1
y
l
n
O
0
EXTBEN EXTAEN
0
0
Timer Control Register Summary Table
Name
Address
Description
P_TimerA_Ctrl
0x78C0
TimerA Control Register
P_TimerA_CCP_Ctrl
0x78C1
TimerA Capture / Comparison / PWM Control Register
P_TimerA_Preload
0x78C2
TimerA Preload Register
P_TimerA_CCP_Reg
0x78C3
TimerA Capture / Comparison / PWM Register
P_TimerA_UpCount
0x78C4
TimerA up-count value
P_TimerB_Ctrl
0x78C8
TimerB Control Register
P_TimerB_CCP_Ctrl
0x78C9
TimerB Capture / Comparison / PWM Control Register
P_TimerB_Preload
0x78CA
TimerB Preload Register
P_TimerB_CCP_Reg
0x78CB
TimerB Capture / Comparison / PWM Register
P_TimerB_UpCount
0x78CC
TimerB up-count value
P_TimerC_Ctrl
0x78D0
TimerC Control Register
P_TimerC_CCP_Ctrl
0x78D1
TimerC Capture / Comparison / PWM Control Register
P_TimerC_Preload
0x78D2
TimerC Preload Register
P_TimerC_CCP_Reg
0x78D3
TimerC Capture / Comparison / PWM Register
P_TimerC_UpCount
0x78D4
TimerC up-count value
P_TimerD_Ctrl
0x78D8
TimerD Control Register
P_TimerD_Preload
0x78DA
TimerD Preload Register
P_TimerD_UpCount
0x78DC
TimerD up-count value
P_TimerE_Ctrl
0x79C0
TimerE Control Register
P_TimerE_Preload
0x79C2
TimerE Preload Register
P_TimerE_UpCount
0x79C4
TimerE up-count value
P_TimerF_Ctrl
0x79C8
TimerF Control Register
P_TimerF_Preload
0x79CA
TimerF Preload Register
P_TimerF_UpCount
0x79CC
TimerF up-count value
r
o
F
© Generalplus Technology Inc.
PAGE 321
V1.0 – Dec. 20, 2006