mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 938

no-image

mc9s12xd256

Manufacturer Part Number
mc9s12xd256
Description
Hcs12x Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAG
Manufacturer:
FREESCALE
Quantity:
1 540
Part Number:
mc9s12xd256CAG
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 23 DQ256 Port Integration Module (S12XDQ256PIMV2)
23.0.5.30 Port M Data Register (PTM)
Read: Anytime.
Write: Anytime.
Port M pins 7–0 are associated with the CAN0, CAN1, CAN2, as well as the routed CAN0, CAN4, and
SPI0 modules. When not used with any of the peripherals, these pins can be used as general purpose I/O.
If the data direction bits of the associated I/O pins are set to logic level “1”, a read returns the value of the
port register, otherwise the buffered pin input state is read.
938
Routed
Routed
Routed
PTM[7:6]
PTM[5:4]
PTM[3:2]
PTM[1:0]
CAN0
CAN4
Reset
Field
SPI0
CAN
7–6
5–4
3–2
1–0
W
R
TXCAN4
PTM7
The CAN4 function (TXCAN4 and RXCAN4) takes precedence over the general purpose I/O function if the CAN4
module is enabled. Refer to MSCAN section for details.
The CAN2 function (TXCAN2 and RXCAN2) takes precedence over the routed CAN0, routed CAN4, the routed
SPI0 and the general purpose I/O function if the CAN2 module is enabled.
The routed CAN0 function (TXCAN0 and RXCAN0) takes precedence over the routed CAN4, the routed SPI0
and the general purpose I/O function if the routed CAN0 module is enabled.
The routed CAN4 function (TXCAN4 and RXCAN4) takes precedence over the routed SPI0 and general purpose
I/O function if the routed CAN4 module is enabled. Refer to MSCAN section for details.
The routed SPI0 function (SCK0 and MOSI0) takes precedence of the general purpose I/O function if the routed
SPI0 is enabled. Refer to SPI section for details.
The CAN1 function (TXCAN1 and RXCAN1) takes precedence over the routed CAN0, the routed SPI0 and the
general purpose I/O function if the CAN1 module is enabled.The routed CAN0 function (TXCAN0 and RXCAN0)
takes precedence over the routed SPI0 and the general purpose I/O function if the routed CAN0 module is
enabled. Refer to MSCAN section for details.
The routed SPI0 function (SS0 and MISO0) takes precedence of the general purpose I/O function if the routed
SPI0 is enabled and not in bidirectional mode. Refer to SPI section for details.
The CAN0 function (TXCAN0 and RXCAN0) takes precedence over the general purpose I/O function if the CAN0
module is enabled. Refer to MSCAN section for details.
0
7
RXCAN4
PTM6
0
6
Figure 23-32. Port M Data Register (PTM)
TXCAN2
TXCAN0
TXCAN4
Table 23-32. PTM Field Descriptions
MC9S12XDP512 Data Sheet, Rev. 2.17
PTM5
SCK0
0
5
RXCAN2
RXCAN0
RXCAN4
MOSI0
PTM4
0
4
Description
TXCAN1
TXCAN0
PTM3
SS0
0
3
RXCAN1
RXCAN0
MISO0
PTM2
0
2
TXCAN0
Freescale Semiconductor
PTM1
0
1
RXCAN0
PTM0
0
0

Related parts for mc9s12xd256