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
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
= 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
7
6
5
4
3
2
1
0
R
PTM7
PTM6
PTM5
PTM4
PTM3
PTM2
PTM1
PTM0
W
Altern.
Function
—
—
(SCK0)
(MOSI0)
(SS0)
(MISO0)
TXCAN0
RXCAN0
—
—
—
—
—
—
(TXD1)
(RXD1)
Reset
0
0
0
0
0
0
0
0
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.
Summary of Contents for MC9S12XS128
Page 4: ...S12XS Family Reference Manual Rev 1 13 4 Freescale Semiconductor ...
Page 168: ...Interrupt S12XINTV2 S12XS Family Reference Manual Rev 1 13 168 Freescale Semiconductor ...
Page 736: ...Ordering Information S12XS Family Reference Manual Rev 1 13 736 Freescale Semiconductor ...
Page 737: ......