mc9s08sg4 Freescale Semiconductor, Inc, mc9s08sg4 Datasheet - Page 125

no-image

mc9s08sg4

Manufacturer Part Number
mc9s08sg4
Description
8-bit Microcontroller Family
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08sg4MTJG
Manufacturer:
FREESCALE
Quantity:
20 000
9.3.3
ADCRH contains the upper two bits of the result of a 10-bit conversion. When configured for 8-bit
conversions both ADR8 and ADR9 are equal to zero. ADCRH is updated each time a conversion
completes except when automatic compare is enabled and the compare condition is not met. In 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 after the next conversion is completed, then the
intermediate conversion result will be lost. In 8-bit mode there is no interlocking with ADCRL. In the case
that the MODE bits are changed, any data in ADCRH becomes invalid.
9.3.4
ADCRL contains the lower eight bits of the result of a 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 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, then the intermediate conversion results will be lost. In
8-bit mode, there is no interlocking with ADCRH. In the case that the MODE bits are changed, any data
in ADCRL becomes invalid.
Freescale Semiconductor
ACFGT
ACFE
Field
5
4
Reset:
W
R
Data Result High Register (ADCRH)
Data Result Low Register (ADCRL)
Compare Function Enable — ACFE is used to enable the compare function.
0 Compare function disabled
1 Compare function enabled
Compare Function Greater Than Enable — ACFGT is used to configure the compare function to trigger when
the result of the conversion of the input being monitored is greater than or equal to the compare value. The
compare function defaults to triggering when the result of the compare of the input being monitored is less than
the compare value.
0 Compare triggers when input is less than compare level
1 Compare triggers when input is greater than or equal to compare level
7
0
0
Table 9-4. ADCSC2 Register Field Descriptions (continued)
= Unimplemented or Reserved
Figure 9-6. Data Result High Register (ADCRH)
0
0
6
MC9S08SG8 MCU Series Data Sheet, Rev. 3
0
0
5
0
0
4
Description
Chapter 9 Analog-to-Digital Converter (S08ADC10V1)
0
0
3
0
0
2
ADR9
0
1
ADR8
0
0
125

Related parts for mc9s08sg4