pub enum ADSTART_AW {
StartConversion,
}
Expand description
ADC start conversion command This bit is set by software to start ADC conversion. Depending on the EXTEN [1:0] configuration bits, a conversion either starts immediately (software trigger configuration) or once a hardware trigger event occurs (hardware trigger configuration). It is cleared by hardware: In single conversion mode (CONTÂ =Â 0, DISCENÂ =Â 0), when software trigger is selected (EXTENÂ =Â 00): at the assertion of the end of Conversion Sequence (EOS) flag. In discontinuous conversion mode(CONTÂ =Â 0, DISCENÂ =Â 1), when the software trigger is selected (EXTENÂ =Â 00): at the assertion of the end of Conversion (EOC) flag. In all other cases: after the execution of the ADSTP command, at the same time as the ADSTP bit is cleared by hardware. Note: The software is allowed to set ADSTART only when ADENÂ =Â 1 and ADDISÂ =Â 0 (ADC is enabled and there is no pending request to disable the ADC). After writing to ADC_CHSELR register or changing CHSELRMOD or SCANDIRW, it is mandatory to wait until CCRDY flag is asserted before setting ADSTART, otherwise, the value written to ADSTART is ignored.
Value on reset: 0
Variants
StartConversion
1: Start the ADC conversion (may be delayed for hardware triggers)
Trait Implementations
sourceimpl Clone for ADSTART_AW
impl Clone for ADSTART_AW
sourcefn clone(&self) -> ADSTART_AW
fn clone(&self) -> ADSTART_AW
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ADSTART_AW
impl Debug for ADSTART_AW
sourceimpl From<ADSTART_AW> for bool
impl From<ADSTART_AW> for bool
sourcefn from(variant: ADSTART_AW) -> Self
fn from(variant: ADSTART_AW) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ADSTART_AW> for ADSTART_AW
impl PartialEq<ADSTART_AW> for ADSTART_AW
impl Copy for ADSTART_AW
impl StructuralPartialEq for ADSTART_AW
Auto Trait Implementations
impl RefUnwindSafe for ADSTART_AW
impl Send for ADSTART_AW
impl Sync for ADSTART_AW
impl Unpin for ADSTART_AW
impl UnwindSafe for ADSTART_AW
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