English
Language : 

S912XEG384J3VA Datasheet, PDF (512/1324 Pages) Freescale Semiconductor, Inc – MC9S12XEP100 Reference Manual Covers MC9S12XE Family
Chapter 13 Analog-to-Digital Converter (ADC12B16CV1)
Table 13-7. ATDCTL2 Field Descriptions (continued)
Field
1
ASCIE
0
ACMPIE
Description
ATD Sequence Complete Interrupt Enable
0 ATD Sequence Complete interrupt requests are disabled.
1 ATD Sequence Complete interrupt will be requested whenever SCF=1 is set.
ATD Compare Interrupt Enable — If automatic compare is enabled for conversion n (CMPE[n]=1 in ATDCMPE
register) this bit enables the compare interrupt. If the CCF[n] flag is set (showing a successful compare for
conversion n), the compare interrupt is triggered.
0 ATD Compare interrupt requests are disabled.
1 For the conversions in a sequence for which automatic compare is enabled (CMPE[n]=1), ATD Compare
Interrupt will be requested whenever any of the respective CCF flags is set.
Table 13-8. External Trigger Configurations
ETRIGLE
0
0
1
1
ETRIGP
0
1
0
1
External Trigger Sensitivity
Falling edge
Rising edge
Low level
High level
13.3.2.4 ATD Control Register 3 (ATDCTL3)
Writes to this register will abort current conversion sequence.
Module Base + 0x0003
R
W
Reset
7
DJM
0
6
S8C
5
S4C
4
S2C
3
S1C
2
FIFO
0
1
0
0
0
= Unimplemented or Reserved
Figure 13-6. ATD Control Register 3 (ATDCTL3)
Read: Anytime
Write: Anytime
1
FRZ1
0
0
FRZ0
0
Field
7
DJM
Description
Result Register Data Justification — Result data format is always unsigned. This bit controls justification of
conversion data in the result registers.
0 Left justified data in the result registers.
1 Right justified data in the result registers.
Table 13-10 gives examples ATD results for an input signal range between 0 and 5.12 Volts.
Table 13-9. ATDCTL3 Field Descriptions
MC9S12XE-Family Reference Manual Rev. 1.25
512
Freescale Semiconductor