pub trait AdcHasCurveCal {
const CURVES_COEFFS: &'static [CurveCoeffs];
}
Available on crate feature
unstable
only.Expand description
Marker trait for ADC which support curve fitting
See also AdcCalCurve
.
Required Associated Constants§
Sourceconst CURVES_COEFFS: &'static [CurveCoeffs]
const CURVES_COEFFS: &'static [CurveCoeffs]
Coefficients for calculating the reading voltage error.
A sets of coefficients for each attenuation.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.