Datasheet
Port Integration Module (S12XSPIMV1)
S12XS Family Reference Manual, Rev. 1.13
96 Freescale Semiconductor
2.3.33 PIM Reserved Register
2.3.34 Port M Data Register (PTM)
Address 0x024F Access: User read
1
1
Read: Always reads 0x00
Write: Unimplemented
76543210
R00000000
W
Reset 00000000
= Unimplemented or Reserved u = Unaffected by reset
Figure 2-31. PIM Reserved Register
Address 0x0250 Access: User read/write
1
1
Read: Anytime, the data source depends on the data direction value
Write: Anytime
76543210
R
PTM7 PTM6 PTM5 PTM4 PTM3 PTM2 PTM1 PTM0
W
Altern.
Function
— — (SCK0) (MOSI0) (
SS0) (MISO0) TXCAN0 RXCAN0
——————(TXD1) (RXD1)
Reset 00000000
Figure 2-32. Port M Data Register (PTM)
Table 2-30. PTM Register Field Descriptions
Field Description
7-6
PTM
Port M general purpose input/output data—Data Register
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.
5
PTM
Port M general purpose input/output data—Data Register, routed SPI0 SCK 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 SPI0 function takes precedence over the general purpose I/O function if enabled.
