![NXP Semiconductors MC9S08PA4 Reference Manual Download Page 303](http://html1.mh-extra.com/html/nxp-semiconductors/mc9s08pa4/mc9s08pa4_reference-manual_1721838303.webp)
ADC_SC4 field descriptions (continued)
Field
Description
AFDEP
FIFO Depth enables the FIFO function and sets the depth of FIFO. When AFDEP is cleared, the FIFO is
disabled. When AFDEP is set to nonzero, the FIFO function is enabled and the depth is indicated by the
AFDEP bits. The ADCH in ADC_SC1 and ADC_RH:ADC_RL must be accessed by FIFO mode when
FIFO function is enabled. ADC starts conversion when the analog channel FIFO is upon the level
indicated by AFDEP bits. The COCO bit is set when the set of conversions are completed and the result
FIFO is upon the level indicated by AFDEP bits.
NOTE: The bus clock frequency must be at least double the ADC clock when FIFO mode is enabled. It
means, if ICS FBE mode is used, the ADC clock can not be ADACK.
000
FIFO is disabled.
001
2-level FIFO is enabled.
010
3-level FIFO is enabled..
011
4-level FIFO is enabled.
100
5-level FIFO is enabled.
101
6-level FIFO is enabled.
110
7-level FIFO is enabled.
111
8-level FIFO is enabled.
15.3.5 Conversion Result High Register (ADC_RH)
In 12-bit operation, ADC_RH contains the upper four bits of the result of a 12-bit
conversion.
ADC_RH is updated each time a conversion completes except when automatic compare
is enabled and the compare condition is not met. Reading ADC_RH prevents the ADC
from transferring subsequent conversion results into the result registers until ADC_RL is
read. If ADC_RL is not read until after the next conversion is completed, the intermediate
conversion result is lost. In 8-bit mode, there is no interlocking with ADC_RL.
When FIFO is enabled, the result FIFO is read via ADC_RH:ADC_RL. The ADC
conversion completes when the input channel FIFO is fulfilled at the depth indicated by
the AFDEP. The AD result FIFO can be read via ADC_RH:ADC_RL continuously by
the order set in analog input channel ADCH.
If the MODE bits are changed, any data in ADC_RH becomes invalid.
Address: 10h base + 4h offset = 14h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
Chapter 15 Analog-to-digital converter (ADC)
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
NXP Semiconductors
303
Summary of Contents for MC9S08PA4
Page 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Page 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Page 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Page 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Page 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Page 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Page 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Page 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Page 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Page 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Page 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Page 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...