Alessandro Angelino / target-mcu-k64f

Fork of target-mcu-k64f by Morpheus

Embed: (wiki syntax)

« Back to documentation index

_hw_adc_cv1 Union Reference

_hw_adc_cv1 Union Reference

HW_ADC_CV1 - Compare Value Registers (RW) More...

#include <MK64F12_adc.h>


Detailed Description

HW_ADC_CV1 - Compare Value Registers (RW)

Reset value: 0x00000000U

The Compare Value Registers (CV1 and CV2) contain a compare value used to compare the conversion result when the compare function is enabled, that is, SC2[ACFE]=1. This register is formatted in the same way as the Rn registers in different modes of operation for both bit position definition and value format using unsigned or sign-extended 2's complement. Therefore, the compare function uses only the CVn fields that are related to the ADC mode of operation. The compare value 2 register (CV2) is used only when the compare range function is enabled, that is, SC2[ACREN]=1.

Definition at line 775 of file MK64F12_adc.h.