English
Language : 

S9S12G128F0CLF Datasheet, PDF (439/1158 Pages) Freescale Semiconductor, Inc – MC9S12G Family Reference Manual
Analog-to-Digital Converter (ADC10B16CV2)
13.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 ADC10B16C.
13.5 Resets
At reset the ADC10B16C is in a power down state. The reset state of each individual bit is listed within
the Register Description section (see Section 13.3.2, “Register Descriptions”) which details the registers
and their bit-field.
13.6 Interrupts
The interrupts requested by the ADC10B16C are listed in Table 13-24. Refer to MCU specification for
related vector address and priority.
Table 13-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 13.3.2, “Register Descriptions” for further details.
MC9S12G Family Reference Manual, Rev.1.10
Freescale Semiconductor
439