
Port Integration Module (S12XSPIMV1)
S12XS Family Reference Manual, Rev. 1.10
Freescale Semiconductor
97
4
PTM
Port M general purpose input/output data—Data Register, routed SPI0 MOSI 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.
3
PTM
Port M general purpose input/output data—Data Register, routed SPI0 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 SPI0 function takes precedence over the general purpose I/O function if enabled.
2
PTM
Port M general purpose input/output data—Data Register, routed SPI0 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 SPI0 function takes precedence over the general purpose I/O function if enabled.
1
PTM
Port M general purpose input/output data—Data Register, CAN0 TXCAN output, SCI1 TXD 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 CAN0 function takes precedence over the general purpose I/O function if enabled.
The SCI1 function takes precedence over the general purpose I/O function if enabled.
0
PTM
Port M general purpose input/output data—Data Register, CAN0 RXCAN input, SCI1 RXD 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 CAN0 function takes precedence over the general purpose I/O function if enabled.
The SCI1 function takes precedence over the general purpose I/O function if enabled.
Table 2-30. PTM Register Field Descriptions (continued)
Field
Description