English
Language : 

S912XEG128J2MAA Datasheet, PDF (131/1324 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 2 Port Integration Module (S12XEPIMV1)
Table 2-33. PTM Register Field Descriptions (continued)
Field
4
PTM
3
PTM
2
PTM
1-0
PTM
Description
Port M general purpose input/output data—Data Register
Port M pin 4 is associated with the RXCAN signal of CAN2 and the routed CAN4 and CAN0, as well as with MOSI
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.
Port M general purpose input/output data—Data Register
Port M pin 5 is associated with the TXCAN signal of CAN1 and the routed CAN0, as well as with SS0 signals of SPI0.
The CAN1 function 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 takes precedence over the routed SPI0 and the general
purpose I/O function if the routed CAN0 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.
Port M general purpose input/output data—Data Register
Port M pin 4 is associated with the RXCAN signal of CAN1 and the routed CAN0, as well as with MISO signals of
SPI0.
The CAN1 function 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 takes precedence over the routed SPI0 and the general
purpose I/O function if the routed CAN0 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.
Port M general purpose input/output data—Data Register
Port M pins 1 and 0 are associated with TXCAN and RXCAN signals of CAN0, respectively.
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.
2.3.38 Port M Input Register (PTIM)
Address 0x0251
R
W
Reset
7
PTIM7
u
6
PTIM6
5
PTIM5
4
PTIM4
3
PTIM3
2
PTIM2
u
u
u
u
u
= Unimplemented or Reserved
u = Unaffected by reset
Figure 2-36. Port M Input Register (PTIM)
Access: User read(1)
1
PTIM1
0
PTIM0
u
u
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor
131