Port Integration Module (S12XSPIMV1)
S12XS Family Reference Manual, Rev. 1.13
84
Freescale Semiconductor
2.3.16
Port K Data Register (PORTK)
2.3.17
Port K Data Direction Register (DDRK)
1
Read: Always reads 0x00
Write: Unimplemented
Address 0x0032 (PRR)
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
PK7
0
PK5
PK4
PK3
PK2
PK1
PK0
W
Reset
0
0
0
0
0
0
0
0
Figure 2-14. Port K Data Register (PORTK)
Table 2-14. PORTK Register Field Descriptions
Field
Description
7,5-0
PK
Port K general purpose input/output data—Data Register
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.
Address 0x0033 (PRR)
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
DDRK7
0
DDRK5
DDRK4
DDRK3
DDRK2
DDRK1
DDRK0
W
Reset
0
0
0
0
0
0
0
0
Figure 2-15. Port K Data Direction Register (DDRK)
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: ......