Datasheet
Chapter 2 Port Integration Module (PIM9C32) Block Description
Freescale Semiconductor MC9S12C-Family / MC9S12GC-Family 103
Rev 01.24
2.3.2.6.5 Port AD Pull Device Enable Register (PERAD)
Read: Anytime.
Write: Anytime.
2.3.2.6.6 Port AD Polarity Select Register (PPSAD)
Read: Anytime.
Write: Anytime.
Module Base + 0x0034
76543210
R
PERAD7 PERAD6 PERAD5 PERAD4 PERAD3 PERAD2 PERAD1 PERAD0
W
Reset 0 0 0 00000
Figure 2-44. Port AD Pull Device Enable Register (PERAD)
Table 2-36. PERAD Field Descriptions
Field Description
7–0
PERAD[7:0]
Pull Device Enable Port AD — This register configures whether a pull-up or a pull-down device is activated, if
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.
Module Base + 0x0035
76543210
R
PPSAD7 PPSAD6 PPSAD5 PPSAD4 PPSAD3 PPSAD2 PPSAD1 PPSAD0
W
Reset 0 0 0 00000
Figure 2-45. Port AD Polarity Select Register (PPSAD)
Table 2-37. PPSAD Field Descriptions
Field Description
7–0
PPSAD[7:0]
Pull Select Port AD — This register selects whether a pull-down or a pull-up device is connected to the pin.
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.