XC2200 Derivatives
System Units (Vol. 1 of 2)
Interrupt and Trap Functions
User’s Manual
5-35
V2.1, 2008-08
ICU_X2K, V2.2
BNKSEL0
Register Bank Selection Reg. 0
XSFR(EC20
H
)
Reset Value: 0000
H
BNKSEL1
Register Bank Selection Reg. 1
XSFR(EC22
H
)
Reset Value: 0000
H
BNKSEL2
Register Bank Selection Reg. 2 XSFR(EC24
H
)
Reset Value: 0000
H
BNKSEL3
Register Bank Selection Reg. 3 XSFR(EC26
H
)
Reset Value: 0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
GPRSEL7 GPRSEL6 GPRSEL5 GPRSEL4 GPRSEL3 GPRSEL2 GPRSEL1 GPRSEL0
rw
rw
rw
rw
rw
rw
rw
rw
Field
Bits
Type Description
GPRSEL0,
GPRSEL1,
GPRSEL2,
GPRSEL3,
GPRSEL4,
GPRSEL5,
GPRSEL6,
GPRSEL7
[1:0],
[3:2],
[5:4],
[7:6],
[9:8],
[11:10],
[13:12],
[15:14]
rw
Register Bank Selection
00
B
Global register bank
01
B
Reserved
10
B
Local register bank 1
11
B
Local register bank 2
Table 5-10
Assignment of Register Bank Control Fields
Bank Select Control Register
Interrupt Node Priority
Notes
Register Name
Bitfields
Intr. Level
Group Levels
BNKSEL0
(EC20
H
/--)
GPRSEL0 … 3
12
0 … 3
Lower
group
levels
GPRSEL4 … 7
13
0 … 3
BNKSEL1
(EC22
H
/--)
GPRSEL0 … 3
14
0 … 3
GPRSEL4 … 7
15
0 … 3
BNKSEL2
(EC24
H
/--)
GPRSEL0 … 3
12
4 … 7
Upper
group
levels
GPRSEL4 … 7
13
4 … 7
BNKSEL3
(EC26
H
/--)
GPRSEL0 … 3
14
4 … 7
GPRSEL4 … 7
15
4 … 7