Port Integration Module (S12XSPIMV1)
S12XS Family Reference Manual, Rev. 1.13
76
Freescale Semiconductor
2.3.5
Port A Data Direction Register (DDRA)
2.3.6
Port B Data Direction Register (DDRB)
Address 0x0002 (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
DDRA7
DDRA6
DDRA5
DDRA4
DDRA3
DDRA2
DDRA1
DDRA0
W
Reset
0
0
0
0
0
0
0
0
Figure 2-3. Port A Data Direction Register (DDRA)
Table 2-6. DDRA Register Field Descriptions
Field
Description
7-0
DDRA
Port A Data Direction—
This bit determines whether the associated pin is an input or output.
1 Associated pin configured as output
0 Associated pin configured as input
Address 0x0003 (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
DDRB7
DDRB6
DDRB5
DDRB4
DDRB3
DDRB2
DDRB1
DDRB0
W
Reset
0
0
0
0
0
0
0
0
Figure 2-4. Port B Data Direction Register (DDRB)
Table 2-7. DDRB Register Field Descriptions
Field
Description
7-0
DDRB
Port B Data Direction—
This bit determines whether the associated pin is an input or output.
1 Associated pin configured as output
0 Associated pin configured as input
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: ......