pub enum SCANDIR {
Upward = 0,
Backward = 1,
}
Expand description
Scan sequence direction This bit is set and cleared by software to select the direction in which the channels is scanned in the sequence. It is effective only if CHSELMOD bit is cleared to 0. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing). If CCRDY is not yet asserted after channel configuration (writing ADC_CHSELR register or changing CHSELRMOD or SCANDIR), the value written to this bit is ignored.
Value on reset: 0
Variants§
Upward = 0
0: Upward scan (from CHSEL0 to CHSEL17)
Backward = 1
1: Backward scan (from CHSEL17 to CHSEL0)
Trait Implementations§
impl Copy for SCANDIR
impl Eq for SCANDIR
impl StructuralPartialEq for SCANDIR
Auto Trait Implementations§
impl Freeze for SCANDIR
impl RefUnwindSafe for SCANDIR
impl Send for SCANDIR
impl Sync for SCANDIR
impl Unpin for SCANDIR
impl UnwindSafe for SCANDIR
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