English
Language : 

S912XHZ512F1VAG Datasheet, PDF (124/978 Pages) Freescale Semiconductor, Inc – Covers MC9S12XHZ384, MC9S12XHZ256
Chapter 2 Port Integration Module (S12XHZPIMV1)
2.3.14.6 Port W Polarity Select Register (PPSW)
Module Base + 0x0045
R
W
Reset
7
PPSW7
0
6
PPSW6
5
PPSW5
4
PPSW4
3
PPSW3
2
PPSW2
0
0
0
0
0
Figure 2-83. Port W Polarity Select Register (PPSW)
1
PPSW1
0
0
PPSW0
0
Read: Anytime. Write: Anytime.
The Port W Polarity Select Register selects whether a pull-down or a pull-up device is connected to the
pin. The Port W Polarity Select Register is effective only when the corresponding Data Direction Register
bit is set to 0 (input) and the corresponding Pull Device Enable Register bit is set to 1.
Table 2-64. PPSW Field Descriptions
Field
Description
7:0
Pull Select Port W
PPSW[7:0] 0 A pull-up device is connected to the associated port W pin.
1 A pull-down device is connected to the associated port W pin.
MC9S12XHZ512 Data Sheet, Rev. 1.06
124
Freescale Semiconductor