English
Language : 

S9S12XS256J0CAL Datasheet, PDF (91/738 Pages) Freescale Semiconductor, Inc – Microcontrollers
2.3.26 Port S Data Register (PTS)
Port Integration Module (S12XSPIMV1)
Address 0x0248
7
R
PTS7
W
6
PTS6
5
PTS5
4
PTS4
3
PTS3
2
PTS2
Altern.
Function
SS0
SCK0
MOSI0
MISO0
TXD1
RXD1
Reset
0
0
0
0
0
0
Figure 2-24. Port S Data Register (PTS)
1 Read: Anytime, the data source depends on the data direction value
Write: Anytime
Access: User read/write1
1
0
PTS1
PTS0
TXD0
0
RXD0
0
Field
7
PTS
6
PTS
5
PTS
4
PTS
Table 2-23. PTS Register Field Descriptions
Description
Port S general purpose input/output data—Data Register, 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.
Port S general purpose input/output data—Data Register, 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.
Port S general purpose input/output data—Data Register, 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.
Port S general purpose input/output data—Data Register, 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.
S12XS Family Reference Manual, Rev. 1.13
Freescale Semiconductor
91