Chapter 2 Port Integration Module (S12XEP100PIMV1)
MC9S12XE-Family Reference Manual , Rev. 1.19
130
Freescale Semiconductor
2.3.37
Port M Data Register (PTM)
Address 0x0250
Access: User read/write
(1)
1. Read: Anytime.
Write: Anytime.
7
6
5
4
3
2
1
0
R
PTM7
PTM6
PTM5
PTM4
PTM3
PTM2
PTM1
PTM0
W
Altern.
Function
TXCAN3
RXCAN3
TXCAN2
RXCAN2
TXCAN1
RXCAN1
TXCAN0
RXCAN0
—
—
(TXCAN0)
(RXCAN0)
(TXCAN0)
(RXCAN0)
—
—
(TXCAN4)
(RXCAN4)
(TXCAN4)
(RXCAN4)
—
—
—
—
—
—
(SCK0)
(MOSI0)
(SS0)
(MISO0)
—
—
TXD3
RXD3
—
—
—
—
—
—
Reset
0
0
0
0
0
0
0
0
Figure 2-35. Port M Data Register (PTM)
Table 2-33. PTM Register Field Descriptions
Field
Description
7-6
PTM
Port M general purpose input/output data
—Data Register
Port M pins 7 and 6 are associated with TXCAN and RXCAN signals of CAN3 and the routed CAN4, as well as with
TXD and RXD signals of SCI3, respectively.
The CAN3 function takes precedence over the CAN4, SCI3 and the general purpose I/O function if the CAN3 module
is enabled. The CAN4 function takes precedence over the SCI3 and the general purpose I/O function if the CAN4
module is enabled. The SCI3 function takes precedence over the general purpose I/O function if the SCI3 module
is enabled.
When not used with the alternative function, this pin can be used as general purpose I/O.
If the associated data direction bit of this pin is set to 1, a read returns the value of the port register, otherwise the
buffered pin input state is read.
5
PTM
Port M general purpose input/output data
—Data Register
Port M pin 5 is associated with the TXCAN signal of CAN2 and the routed CAN4 and CAN0, as well as with SCK
signals of SPI0.
The CAN2 function 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 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
takes precedence over the routed SPI0 and general purpose I/O function if the routed CAN4 module is enabled. The
routed SPI0 function takes precedence of the general purpose I/O function if the routed SPI0 is enabled.
When not used with the alternative function, this pin can be used as general purpose I/O.
If the associated data direction bit of this pin is set to 1, a read returns the value of the port register, otherwise the
buffered pin input state is read.
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:
S12XE
products
in
208
MAPBGA
packages