add BOARD_F0C0 calibration data
This commit is contained in:
+34
@@ -1261,6 +1261,40 @@ struct correction_ctx_t Correction = {
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef BOARD_F0C0
|
||||
struct correction_ctx_t Correction = {
|
||||
.ADC_volt[0].coeff = 6278,
|
||||
.ADC_volt[0].offset = (-102003319),
|
||||
|
||||
.ADC_volt[1].coeff = 215349,
|
||||
.ADC_volt[1].offset = (-3505812752),
|
||||
|
||||
.ADC_volt[2].coeff = 6283277,
|
||||
.ADC_volt[2].offset = (-102270651432),
|
||||
|
||||
.ADC_current[0].coeff = 3125574,
|
||||
.ADC_current[0].offset = (-51009378611),
|
||||
|
||||
.ADC_current[1].coeff = 71698635,
|
||||
.ADC_current[1].offset = (-1170189907450),
|
||||
|
||||
.ADC_current[2].coeff = 1456900062,
|
||||
.ADC_current[2].offset = (-23775904054035),
|
||||
|
||||
.ADC_current[3].coeff = 30638026673,
|
||||
.ADC_current[3].offset = (-500017918977999),
|
||||
|
||||
.Usercode2DAC[0].coeff = (-10567411),
|
||||
.Usercode2DAC[0].offset = 582204974031,
|
||||
|
||||
.Usercode2DAC[1].coeff = (-178212493),
|
||||
.Usercode2DAC[1].offset = 4773997548476,
|
||||
|
||||
.ADC_Vout_volt[0].coeff = (-6289110),
|
||||
.ADC_Vout_volt[0].offset = 102831239239,
|
||||
};
|
||||
#endif
|
||||
|
||||
int32_t DecodeADCValue(uint8_t adc_gain, uint8_t adc_channel, uint8_t *adc_rxbuf);
|
||||
uint16_t Usercode_Correction_to_DAC(uint8_t dac_gain, uint16_t usercode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user