Alessandro Angelino / target-mcu-k64f

Fork of target-mcu-k64f by Morpheus

Embed: (wiki syntax)

« Back to documentation index

_hw_adc_mg Union Reference

_hw_adc_mg Union Reference

HW_ADC_MG - ADC Minus-Side Gain Register (RW) More...

#include <MK64F12_adc.h>


Detailed Description

HW_ADC_MG - ADC Minus-Side Gain Register (RW)

Reset value: 0x00008200U

The Minus-Side Gain Register (MG) contains the gain error correction for the minus-side input in differential mode. This register is ignored in single-ended mode. MG, a 16-bit real number in binary format, is the gain adjustment factor, with the radix point fixed between ADMG15 and ADMG14. This register must be written by the user with the value described in the calibration procedure. Otherwise, the gain error specifications may not be met.

Definition at line 1420 of file MK64F12_adc.h.