Enum stm32_metapac::adc::vals::Chselrmod
#[repr(u8)]pub enum Chselrmod {
ENABLE_INPUT = 0,
SEQUENCE_EIGHT_CHANNELS = 1,
}
Variants§
ENABLE_INPUT = 0
Each bit of the CHSELR register enables an input.
SEQUENCE_EIGHT_CHANNELS = 1
CHSELR register is able to sequence up to 8 channels.
Implementations§
Trait Implementations§
§impl Ord for Chselrmod
impl Ord for Chselrmod
§impl PartialOrd for Chselrmod
impl PartialOrd for Chselrmod
impl Copy for Chselrmod
impl Eq for Chselrmod
impl StructuralPartialEq for Chselrmod
Auto Trait Implementations§
impl Freeze for Chselrmod
impl RefUnwindSafe for Chselrmod
impl Send for Chselrmod
impl Sync for Chselrmod
impl Unpin for Chselrmod
impl UnwindSafe for Chselrmod
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)