English
Language : 

S9S12XS256J0CAL Datasheet, PDF (279/738 Pages) Freescale Semiconductor, Inc – Microcontrollers
Analog-to-Digital Converter (ADC12B16CV1)
Table 10-4. ATDCTL1 Field Descriptions
Field
Description
7
ETRIGSEL
External Trigger Source Select — This bit selects the external trigger source to be either one of the AD
channels or one of the ETRIG3-0 inputs. See device specification for availability and connectivity of ETRIG3-0
inputs. If a particular ETRIG3-0 input option is not available, writing a 1 to ETRISEL only sets the bit but has
not effect, this means that one of the AD channels (selected by ETRIGCH3-0) is configured as the source for
external trigger. The coding is summarized in Table 10-6.
6–5
A/D Resolution Select — These bits select the resolution of A/D conversion results. See Table 10-5 for
SRES[1:0] coding.
4
SMP_DIS
Discharge Before Sampling Bit
0 No discharge before sampling.
1 The internal sample capacitor is discharged before sampling the channel. This adds 2 ATD clock cycles to
the sampling time. This can help to detect an open circuit instead of measuring the previous sampled
channel.
3–0
External Trigger Channel Select — These bits select one of the AD channels or one of the ETRIG3-0 inputs
ETRIGCH[3:0] as source for the external trigger. The coding is summarized in Table 10-6.
Table 10-5. A/D Resolution Coding
SRES1
SRES0
A/D Resolution
0
0
8-bit data
0
1
10-bit data
1
0
12-bit data
1
1
Reserved
Table 10-6. External Trigger Channel Select Coding
ETRIGSEL
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
ETRIGCH3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
ETRIGCH2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
ETRIGCH1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
ETRIGCH0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
External trigger source is
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
AN8
AN9
AN10
AN11
AN12
AN13
AN14
AN15
ETRIG01
ETRIG11
S12XS Family Reference Manual, Rev. 1.13
Freescale Semiconductor
279