English
Language : 

S9S12G128F0CLF Datasheet, PDF (392/1158 Pages) Freescale Semiconductor, Inc – MC9S12G Family Reference Manual
Analog-to-Digital Converter (ADC10B8CV2)
11.4.2.2 General-Purpose Digital Port Operation
Each ATD input pin can be switched between analog or digital input functionality. An analog multiplexer
makes each ATD input pin selected as analog input available to the A/D converter.
The pad of the ATD input pin is always connected to the analog input channel of the analog mulitplexer.
Each pad input signal is buffered to the digital port register.
This buffer can be turned on or off with the ATDDIEN register for each ATD input pin.
This is important so that the buffer does not draw excess current when an ATD input pin is selected as
analog input to the ADC10B8C.
11.5 Resets
At reset the ADC10B8C is in a power down state. The reset state of each individual bit is listed within the
Register Description section (see Section 11.3.2, “Register Descriptions”) which details the registers and
their bit-field.
11.6 Interrupts
The interrupts requested by the ADC10B8C are listed in Table 11-24. Refer to MCU specification for
related vector address and priority.
Table 11-24. ATD Interrupt Vectors
Interrupt Source
Sequence Complete Interrupt
Compare Interrupt
CCR
Mask
I bit
I bit
Local Enable
ASCIE in ATDCTL2
ACMPIE in ATDCTL2
See Section 11.3.2, “Register Descriptions” for further details.
MC9S12G Family Reference Manual, Rev.1.10
392
Freescale Semiconductor