![](http://datasheet.mmic.net.cn/370000/P9S12XEP100J1VVLR_datasheet_16728329/P9S12XEP100J1VVLR_119.png)
Chapter 2 Port Integration Module (S12XEPIMV1)
MC9S12XE-Family Reference Manual Rev. 1.07
Freescale Semiconductor
119
2.3.29
Port S Data Register (PTS)
1
Read: Always reads 0x00
Write: Unimplemented
Address 0x0248
Access: User read/write
1
1
Read: Anytime.
Write: Anytime.
7
6
5
4
3
2
1
0
R
PTS7
PTST6
PTS5
PTS4
PTS3
PTS2
PTS1
PTS0
W
Altern.
Function
SS0
SCK0
MOSI0
MISO0
TXD1
RXD1
TXD0
RXD0
Reset
0
0
0
0
0
0
0
0
Figure 2-27. Port S Data Register (PTS)
Table 2-25. PTS Register Field Descriptions
Field
Description
7
PTS
Port S general purpose input/output data
—Data Register
Port S pin 7 is associated with the SS signal of the SPI0 module
.
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.
6
PTS
Port S general purpose input/output data
—Data Register
Port S pin 6 is associated with the SCK signal of the SPI0 module.
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.
5
PTS
Port S general purpose input/output data
—Data Register
Port S pin 5 is associated with the MOSI signal of the SPI0 module.
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.
4
PTS
Port S general purpose input/output data
—Data Register
Port S pin 4 is associated with the MISO signal of the SPI0 module
.
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.
3
PTS
Port S general purpose input/output data
—Data Register
Port S pin 3 is associated with the TXD signal of the SCI1 module.
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.