Alessandro Angelino / target-mcu-k64f

Fork of target-mcu-k64f by Morpheus

Embed: (wiki syntax)

« Back to documentation index

_hw_adc_ofs Union Reference

_hw_adc_ofs Union Reference

HW_ADC_OFS - ADC Offset Correction Register (RW) More...

#include <MK64F12_adc.h>


Detailed Description

HW_ADC_OFS - ADC Offset Correction Register (RW)

Reset value: 0x00000004U

The ADC Offset Correction Register (OFS) contains the user-selected or calibration-generated offset error correction value. This register is a 2's complement, left-justified, 16-bit value . The value in OFS is subtracted from the conversion and the result is transferred into the result registers, Rn. If the result is greater than the maximum or less than the minimum result value, it is forced to the appropriate limit for the current mode of operation.

Definition at line 1296 of file MK64F12_adc.h.