English
Language : 

XC161 Datasheet, PDF (325/419 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
TwinCAN Module
21.3.2.2 Port Registers
The port registers required to program to TwinCAN operation are listed as follows.
ALTSEL0P4
P4 Alternate Select Register 0
15 14 13 12 11 10 9
0
r
8765
P7 P6
rw rw
Reset Value: 0000H
43210
0
r
Field
Bit
ALTSEL0 6, 7
P4.y
Type
rw
Description
P4 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
DP4
P4 Direction Ctrl. Register
15 14 13 12 11 10 9
0
r
Reset Value: 0000H
876543210
P7 P6 P5 P4 P3 P2 P1 P0
rw rw rw rw rw rw rw rw
Field
DP4.y
Bit
Type
7 … 4 rw
Description
Port Direction Register DP4 Bit y
0 Port line P4.y is an input
(high-impedance)
1 Port line P4.y is an output
User’s Manual
TwinCAN_X1, V2.1
21-85
V2.2, 2004-01