pub enum ADCALR {
NotCalibrating = 0,
Calibrating = 1,
}
Expand description
ADC calibration This bit is set by software to start the calibration of the ADC. It is cleared by hardware after calibration is complete. Note: The software is allowed to set ADCAL only when the ADC is disabled (ADCAL=0, ADSTART=0, ADSTP=0, ADDIS=0 and ADEN=0). The software is allowed to update the calibration factor by writing ADC_CALFACT only when ADEN=1 and ADSTART=0 (ADC enabled and no conversion is ongoing).
Value on reset: 0
Variants§
NotCalibrating = 0
0: ADC calibration either not yet performed or completed
Calibrating = 1
1: ADC calibration in progress
Trait Implementations§
impl Copy for ADCALR
impl Eq for ADCALR
impl StructuralPartialEq for ADCALR
Auto Trait Implementations§
impl Freeze for ADCALR
impl RefUnwindSafe for ADCALR
impl Send for ADCALR
impl Sync for ADCALR
impl Unpin for ADCALR
impl UnwindSafe for ADCALR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more