Gain and offset calibration.
More...
Gain and offset calibration.
◆ hw_sdadc_get_gain_correction()
| __STATIC_INLINE uint16_t hw_sdadc_get_gain_correction |
( |
void |
| ) |
|
Get current gain value.
- Returns
- gain value
◆ hw_sdadc_get_offset_correction()
| __STATIC_INLINE uint16_t hw_sdadc_get_offset_correction |
( |
void |
| ) |
|
Get current offset value.
- Returns
- offset value
◆ hw_sdadc_set_gain_correction()
| __STATIC_FORCEINLINE void hw_sdadc_set_gain_correction |
( |
uint16_t |
gain | ) |
|
Set gain correction.
- Parameters
-
◆ hw_sdadc_set_offset_correction()
| __STATIC_INLINE void hw_sdadc_set_offset_correction |
( |
uint16_t |
offset | ) |
|
Set offset correction.
- Parameters
-