
Port Integration Module (S12PPIMV1)
S12P-Family Reference Manual, Rev. 1.13
82
Freescale Semiconductor
2.3.33
Port M Input Register (PTIM)
3
PTM
Port M general purpose input/output data—Data Register, SPI SS input/output
When not used with the alternative function, the associated pin can be used as general purpose I/O. In general
purpose output mode the register bit value is driven to the pin.
If the associated data direction bit is set to 1, a read returns the value of the port register bit, otherwise the buffered
pin input state is read.
The SPI function takes precedence over the general purpose I/O function if enabled.
2
PTM
Port M general purpose input/output data—Data Register, SPI MISO input/output
When not used with the alternative function, the associated pin can be used as general purpose I/O. In general
purpose output mode the register bit value is driven to the pin.
If the associated data direction bit is set to 1, a read returns the value of the port register bit, otherwise the buffered
pin input state is read.
The SPI function takes precedence over the general purpose I/O function if enabled.
1
PTM
Port M general purpose input/output data—Data Register, CAN TXCAN output
When not used with the alternative function, the associated pin can be used as general purpose I/O. In general
purpose output mode the register bit value is driven to the pin.
If the associated data direction bit is set to 1, a read returns the value of the port register bit, otherwise the buffered
pin input state is read.
The CAN function takes precedence over the general purpose I/O function if enabled.
0
PTM
Port M general purpose input/output data—Data Register, CAN RXCAN input
When not used with the alternative function, the associated pin can be used as general purpose I/O. In general
purpose output mode the register bit value is driven to the pin.
If the associated data direction bit is set to 1, a read returns the value of the port register bit, otherwise the buffered
pin input state is read.
The CAN function takes precedence over the general purpose I/O function if enabled.
Address 0x0251
Access: User read(1)
1. Read: Anytime
Write:Never, writes to this register have no effect.
76543210
R
0
PTIM5
PTIM4
PTIM3
PTIM2
PTIM1
PTIM0
W
Reset
uuuuuuuu
= Unimplemented or Reserved
u = Unaffected by reset
Figure 2-31. Port M Input Register (PTIM)
Table 2-28. PTM Register Field Descriptions (continued)
Field
Description