Alessandro Angelino / target-mcu-k64f

Fork of target-mcu-k64f by Morpheus

Embed: (wiki syntax)

« Back to documentation index

_hw_adc_pg Union Reference

_hw_adc_pg Union Reference

HW_ADC_PG - ADC Plus-Side Gain Register (RW) More...

#include <MK64F12_adc.h>


Detailed Description

HW_ADC_PG - ADC Plus-Side Gain Register (RW)

Reset value: 0x00008200U

The Plus-Side Gain Register (PG) contains the gain error correction for the plus-side input in differential mode or the overall conversion in single-ended mode. PG, a 16-bit real number in binary format, is the gain adjustment factor, with the radix point fixed between ADPG15 and ADPG14. 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 1358 of file MK64F12_adc.h.