English
Language : 

MC9S12C128V1 Datasheet, PDF (103/690 Pages) Freescale Semiconductor, Inc – MC9S12C Family MC9S12GC Family Reference Manual
2.3.2.6.5
Chapter 2 Port Integration Module (PIM9C32) Block Description
Port AD Pull Device Enable Register (PERAD)
Module Base + 0x0034
R
W
Reset
7
PERAD7
0
Read: Anytime.
Write: Anytime.
6
PERAD6
5
PERAD5
4
PERAD4
3
PERAD3
2
PERAD2
1
PERAD1
0
0
0
0
0
0
Figure 2-44. Port AD Pull Device Enable Register (PERAD)
Table 2-36. PERAD Field Descriptions
0
PERAD0
0
Field
Description
7–0
Pull Device Enable Port AD — This register configures whether a pull-up or a pull-down device is activated, if
PERAD[7:0] the port is used as input. This bit has no effect if the port is used as output. Out of reset no pull device is enabled.
It is not possible to enable pull devices when a associated ATD channel is enabled simultaneously.
0 Pull-up or pull-down device is disabled.
1 Either a pull-up or pull-down device is enabled.
2.3.2.6.6 Port AD Polarity Select Register (PPSAD)
Module Base + 0x0035
R
W
Reset
7
PPSAD7
0
Read: Anytime.
Write: Anytime.
6
PPSAD6
5
PPSAD5
4
PPSAD4
3
PPSAD3
2
PPSAD2
1
PPSAD1
0
0
0
0
0
0
Figure 2-45. Port AD Polarity Select Register (PPSAD)
Table 2-37. PPSAD Field Descriptions
0
PPSAD0
0
Field
Description
7–0
Pull Select Port AD — This register selects whether a pull-down or a pull-up device is connected to the pin.
PPSAD[7:0] 0 A pull-up device is connected to the associated port AD pin, if enabled by the associated bit in register PERAD
and if the port is used as input.
1 A pull-down device is connected to the associated port AD pin, if enabled by the associated bit in register
PERAD and if the port is used as input.
Freescale Semiconductor
MC9S12C-Family / MC9S12GC-Family
103
Rev 01.24