Home
last modified time | relevance | path

Searched refs:correction (Results 1 – 11 of 11) sorted by relevance

/bsp/samd21/sam_d2x_asflib/sam0/drivers/sdadc/
A Dsdadc.c202 if (config->correction.offset_correction > (int32_t)(SDADC_OFFSETCORR_MASK / 2) || in _sdadc_set_config()
203 config->correction.offset_correction < - (int32_t)(SDADC_OFFSETCORR_MASK / 2 + 1)) { in _sdadc_set_config()
211 sdadc_module->OFFSETCORR.reg = config->correction.offset_correction << in _sdadc_set_config()
216 if (config->correction.gain_correction > SDADC_GAINCORR_MASK) { in _sdadc_set_config()
224 sdadc_module->GAINCORR.reg = config->correction.gain_correction << in _sdadc_set_config()
229 if (config->correction.shift_correction > SDADC_SHIFTCORR_MASK) { in _sdadc_set_config()
237 sdadc_module->SHIFTCORR.reg = config->correction.shift_correction << in _sdadc_set_config()
A Dsdadc.h434 struct sdadc_correction_config correction; member
528 config->correction.gain_correction = 1; in sdadc_get_config_defaults()
529 config->correction.offset_correction = SDADC_OFFSETCORR_RESETVALUE; in sdadc_get_config_defaults()
530 config->correction.shift_correction = SDADC_SHIFTCORR_RESETVALUE; in sdadc_get_config_defaults()
/bsp/samd21/sam_d2x_asflib/sam0/drivers/adc/adc_sam_d_r_h/
A Dadc.c110 config->correction.correction_enable = false; in adc_get_config_defaults()
111 config->correction.gain_correction = ADC_GAINCORR_RESETVALUE; in adc_get_config_defaults()
112 config->correction.offset_correction = ADC_OFFSETCORR_RESETVALUE; in adc_get_config_defaults()
476 (config->correction.correction_enable << ADC_CTRLB_CORREN_Pos) | in _adc_set_config()
602 if (config->correction.correction_enable){ in _adc_set_config()
604 if (config->correction.gain_correction > ADC_GAINCORR_GAINCORR_Msk) { in _adc_set_config()
608 adc_module->GAINCORR.reg = config->correction.gain_correction << in _adc_set_config()
613 if (config->correction.offset_correction > 2047 || in _adc_set_config()
614 config->correction.offset_correction < -2048) { in _adc_set_config()
618 adc_module->OFFSETCORR.reg = config->correction.offset_correction << in _adc_set_config()
A Dadc_feature.h536 struct adc_correction_config correction; member
/bsp/samd21/sam_d2x_asflib/sam0/drivers/adc/adc_sam_l_c/
A Dadc.c178 config->correction.correction_enable = false; in adc_get_config_defaults()
179 config->correction.gain_correction = ADC_GAINCORR_RESETVALUE; in adc_get_config_defaults()
180 config->correction.offset_correction = ADC_OFFSETCORR_RESETVALUE; in adc_get_config_defaults()
583 (config->correction.correction_enable << ADC_CTRLC_CORREN_Pos) | in _adc_set_config()
694 if (config->correction.correction_enable){ in _adc_set_config()
696 if (config->correction.gain_correction > ADC_GAINCORR_GAINCORR_Msk) { in _adc_set_config()
700 adc_module->GAINCORR.reg = config->correction.gain_correction << in _adc_set_config()
709 if (config->correction.offset_correction > 2047 || in _adc_set_config()
710 config->correction.offset_correction < -2048) { in _adc_set_config()
714 adc_module->OFFSETCORR.reg = config->correction.offset_correction << in _adc_set_config()
A Dadc_feature.h559 struct adc_correction_config correction; member
/bsp/microchip/same70/
A DREADME_zh.md39 …er PWM for motor control, two external triggers to manage power factor correction (PFC), DC-DC and…
40 …e, allowing dual sample-and-hold (S&H) at up to 1.7 Msps. Offset and gain error correction feature.
A DREADME.md39 …er PWM for motor control, two external triggers to manage power factor correction (PFC), DC-DC and…
40 …e, allowing dual sample-and-hold (S&H) at up to 1.7 Msps. Offset and gain error correction feature.
/bsp/stm32/stm32h723-st-nucleo/
A DREADME.md9 …ove application robustness, all memories feature error code correction (one error correction, two …
/bsp/smartfusion2/CMSIS/startup_arm/
A Dstartup_m2sxxx.s168 ; and correction (EDAC). This is done if EDAC is enabled for the
234 ; and correction (EDAC). We use the decision made earlier in the
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/
A DDoxyfile1405 # The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the

Completed in 22 milliseconds