pub enum ADEN_A {
Disabled,
Enabled,
}
Expand description
ADC enable command This bit is set by software to enable the ADC. The ADC is effectively ready to operate once the ADRDY flag has been set. It is cleared by hardware when the ADC is disabled, after the execution of the ADDIS command. Note: The software is allowed to set ADEN only when all bits of ADC_CR registers are 0 (ADCALÂ =Â 0, ADSTPÂ =Â 0, ADSTARTÂ =Â 0, ADDISÂ =Â 0 and ADENÂ =Â 0)
Value on reset: 0
Variants
Disabled
0: ADC disabled
Enabled
1: ADC enabled
Trait Implementations
impl Copy for ADEN_A
impl StructuralPartialEq for ADEN_A
Auto Trait Implementations
impl RefUnwindSafe for ADEN_A
impl Send for ADEN_A
impl Sync for ADEN_A
impl Unpin for ADEN_A
impl UnwindSafe for ADEN_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more