
Functional Description and Application Information
Port Integration Module (9S12I32PIMV1)
MM912F634
Freescale Semiconductor
168
4.27.3.1
Port A Data Register (PTA)
Table 217. Port A Data Register (PTA)
Address 0x0000
Access: User read/write
(157)76
543
210
R
0
PTA5
PTA4
PTA3
PTA2
PTA1
PTA0
W
SPI
Function
——
SS
SCK
MOSI
MISO
Reset
0
000
00
Note:
157. Read: Anytime.
Write: Anytime.
Table 218. Port A Data Register Description
Field
Description
5
PTA
Port A general purpose input/output data—Data Register
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 and
synchronized pin input state is read.
4
PTA
Port A general purpose input/output data—Data Register
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 and
synchronized pin input state is read.
3
PTA
Port A general purpose input/output data—Data Register
Port A pin 3 is associated with the SS signal of the SPI 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 and
synchronized pin input state is read.
2
PTA
Port A general purpose input/output data—Data Register
Port A pin 2 is associated with the SCK signal of the SPI 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 and
synchronized pin input state is read.
1
PTA
Port A general purpose input/output data—Data Register
Port A pin 1 is associated with the MOSI signal of the SPI 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 and
synchronized pin input state is read.
0
PTA
Port A general purpose input/output data—Data Register
Port A pin 0 is associated with the MISO signal of the SPI 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 and
synchronized pin input state is read.