ADCx_SC4 field descriptions (continued)Field DescriptionFIFO is fulfilled. In continuous mode (ADCO = 1), ADC will start next conversion with the same channelwhen COCO is set.0 FIFO scan mode disabled.1 FIFO scan mode enabled.5ACFSELCompare function select OR/AND when the FIFO function is enabled (AFDEP > 0). When this field iscleared, ADC will OR all of compare triggers and set COCO after at least one of compare trigger occurs.When this field is set, ADC will AND all of compare triggers and set COCO after all of compare triggersoccur.0 OR all of compare trigger.1 AND all of compare trigger.4HTRGMASKEHardware Trigger Mask EnableThis field enables hardware trigger mask when HTRGMASKSEL is low.0 Hardware trigger mask disable.1 Hardware trigger mask enable and hardware trigger cannot trigger ADC conversion..3HTRGMASKSELHardware Trigger Mask Mode SelectThis field selects hardware trigger mask mode.0 Hardware trigger mask with HTRGMASKE.1 Hardware trigger mask automatically when data fifo is not empty.AFDEP FIFO Depth enables the FIFO function and sets the depth of FIFO. When AFDEP is cleared, the FIFO isdisabled. When AFDEP is set to nonzero, the FIFO function is enabled and the depth is indicated by theAFDEP bits. The ADCH in ADC_SC1 and ADC_RH:ADC_RL must be accessed by FIFO mode whenFIFO function is enabled. ADC starts conversion when the analog channel FIFO is upon the levelindicated by AFDEP bits. The COCO bit is set when the set of conversions are completed and the resultFIFO 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. Itmeans, 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.17.4.5 Conversion Result High Register (ADCx_RH)In 12-bit operation, ADC_RH contains the upper four bits of the result of a 12-bitconversion.Chapter 17 Analog-to-digital converter (ADC)MC9S08SU16 Reference Manual, Rev. 5, 4/2017NXP Semiconductors 267