MC9S08JM16CGTE FREESCALE [Freescale Semiconductor, Inc], MC9S08JM16CGTE Datasheet - Page 142

no-image

MC9S08JM16CGTE

Manufacturer Part Number
MC9S08JM16CGTE
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Analog-to-Digital Converter (S08ADC12V1)
If the MODE bits are changed, any data in ADCRH becomes invalid.
10.3.4
ADCRL contains the lower eight bits of the result of a 12-bit or 10-bit conversion, and all eight bits of an
8-bit conversion. This register is updated each time a conversion completes except when automatic
compare is enabled and the compare condition is not met. In 12-bit and 10-bit mode, reading ADCRH
prevents the ADC from transferring subsequent conversion results into the result registers until ADCRL
is read. If ADCRL is not read until the after next conversion is completed, the intermediate conversion
results are lost. In 8-bit mode, there is no interlocking with ADCRH. If the MODE bits are changed, any
data in ADCRL becomes invalid.
10.3.5
In 12-bit mode, the ADCCVH register holds the upper four bits of the 12-bit compare value. When the
compare function is enabled, these bits are compared to the upper four bits of the result following a
conversion in 12-bit mode.
In 10-bit mode, the ADCCVH register holds the upper two bits of the 10-bit compare value (ADCV[9:8]).
These bits are compared to the upper two bits of the result following a conversion in 10-bit mode when the
compare function is enabled.
In 8-bit mode, ADCCVH is not used during compare.
142
Reset:
Reset:
Reset:
W
W
W
R
R
R
Data Result Low Register (ADCRL)
Compare Value High Register (ADCCVH)
ADR7
7
0
0
7
0
7
0
0
Figure 10-7. Compare Value High Register (ADCCVH)
ADR6
Figure 10-5. Data Result High Register (ADCRH)
Figure 10-6. Data Result Low Register (ADCRL)
0
0
0
0
0
6
6
6
MC9S08JM16 Series Data Sheet, Rev. 2
ADR5
0
0
0
0
0
5
5
5
ADR4
0
0
0
0
0
4
4
4
ADCV11
ADR11
ADR3
0
0
0
3
3
3
ADCV10
ADR10
ADR2
0
0
0
2
2
2
ADCV9
ADR9
ADR1
Freescale Semiconductor
0
0
0
1
1
1
ADCV8
ADR8
ADR0
0
0
0
0
0
0

Related parts for MC9S08JM16CGTE