Enum stm32_metapac::adc::vals::Smpsel
#[repr(u8)]pub enum Smpsel {
SMP1 = 0,
SMP2 = 1,
}
Variants§
SMP1 = 0
Sampling time of CHANNELx use the setting of SMP1[2:0] register.
SMP2 = 1
Sampling time of CHANNELx use the setting of SMP2[2:0] register.
Implementations§
Trait Implementations§
§impl Ord for Smpsel
impl Ord for Smpsel
§impl PartialOrd for Smpsel
impl PartialOrd for Smpsel
impl Copy for Smpsel
impl Eq for Smpsel
impl StructuralPartialEq for Smpsel
Auto Trait Implementations§
impl Freeze for Smpsel
impl RefUnwindSafe for Smpsel
impl Send for Smpsel
impl Sync for Smpsel
impl Unpin for Smpsel
impl UnwindSafe for Smpsel
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
)