
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
TwinCAN Module
User’s Manual
21-86
V2.2, 2004-01
TwinCAN_X1, V2.1
Note: Shaded bits are not related to TwinCAN operation.
ALTSEL0P7
P7 Alternate Select Register 0
Reset Value: 0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
P7
0
P5
0
0
r
rw
rw
rw
rw
r
Field
Bit
Type
Description
ALTSEL0
P7.y
7, 5
rw
P7 Alternate Select Register 0 Bit y
0
associated peripheral output is not selected as
alternate function
1
associated peripheral output is selected as
alternate function
DP7
P7 Direction Ctrl. Register
Reset Value: 0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
P7
P6
P5
P4
0
r
rw
rw
rw
rw
r
Field
Bit
Type
Description
DP7.y
7 … 4
rw
Port Direction Register DP7 Bit y
0
Port line P7.y is an input
(high-impedance)
1
Port line P7.y is an output