XC886/888CLM
Controller Area Network (MultiCAN) Controller
User’s Manual
15-43
V1.3, 2010-02
MultiCAN, V1.0
15.1.11
Port Control
The interconnections between the MultiCAN module and the port I/O lines are controlled
in the port logics. In addition to the I/O control selection, the selection of a CAN node’s
receive input line is configured by a bit field RXSEL in its node port control register
NPCRx (x = 1-0).
shows how bits and bit fields must be programmed for the required I/O
functionality of the CAN I/O lines.
Table 15-4
CAN I/O Control Selection
Port Lines
PISEL Register Bit
Input/Output Control
Register Bits
I/O
P1.0/RXDC0_0
NPCR0.RXSEL = 000
B
P1_DIR.P0 = 0
B
Input
P1.1/TXDC0_0
–
P1_DIR.P1 = 1
B
Output
P1_ALTSEL0.P1 = 1
B
P1_ALTSEL1.P1 = 1
B
P3.4/RXDC0_1
NPCR0.RXSEL = 001
B
P3_DIR.P4 = 0
B
Input
P3.5/TXDC0_1
–
P3_DIR.P5 = 1
B
Output
P3_ALTSEL0.P5 = 1
B
P3_ALTSEL1.P5 = 1
B
P1.6/RXDC0_2
NPCR0.RXSEL = 010
B
P1_DIR.P6 = 0
B
Input
P1.7/TXDC0_2
–
P1_DIR.P7 = 1
B
Output
P1_ALTSEL0.P7 = 1
B
P1_ALTSEL1.P7 = 1
B
P4.0/RXDC0_3
NPCR0.RXSEL = 011
B
P4_DIR.P0 = 0
B
Input
P4.1/TXDC0_3
–
P4_DIR.P1 = 1
B
Output
P4_ALTSEL0.P1 = 1
B
P4_ALTSEL1.P1 = 1
B
P0.1/RXDC1_0
NPCR1.RXSEL = 000
B
P0_DIR.P1 = 0
B
Input
P0.2/TXDC1_0
–
P0_DIR.P2 = 1
B
Output
P0_ALTSEL0.P2 = 1
B
P0_ALTSEL1.P2= 1
B
P3.2/RXDC1_1
NPCR1.RXSEL = 001
B
P3_DIR.P2 = 0
B
Input
*
Содержание XC886CLM
Страница 1: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 3: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 324: ...XC886 888CLM Serial Interfaces User s Manual 12 52 V1 3 2010 02 Serial Interfaces V 1 0...
Страница 663: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG...