Struct Adc4Smpr
#[repr(transparent)]pub struct Adc4Smpr(pub u32);Expand description
Sampling time register
Tuple Fields§
§0: u32Implementations§
§impl Adc4Smpr
impl Adc4Smpr
pub const fn smp(&self, n: usize) -> Adc4SampleTime
pub const fn smp(&self, n: usize) -> Adc4SampleTime
Sampling time selection (SMP[1] is only available when SMPSEL is present)
pub const fn set_smp(&mut self, n: usize, val: Adc4SampleTime)
pub const fn set_smp(&mut self, n: usize, val: Adc4SampleTime)
Sampling time selection (SMP[1] is only available when SMPSEL is present)
pub const fn smpsel(&self, n: usize) -> bool
pub const fn smpsel(&self, n: usize) -> bool
Channel-x sampling time selection (0: SMP[0], 1: SMP[1])
pub const fn set_smpsel(&mut self, n: usize, val: bool)
pub const fn set_smpsel(&mut self, n: usize, val: bool)
Channel-x sampling time selection (0: SMP[0], 1: SMP[1])
Trait Implementations§
impl Copy for Adc4Smpr
impl Eq for Adc4Smpr
impl StructuralPartialEq for Adc4Smpr
Auto Trait Implementations§
impl Freeze for Adc4Smpr
impl RefUnwindSafe for Adc4Smpr
impl Send for Adc4Smpr
impl Sync for Adc4Smpr
impl Unpin for Adc4Smpr
impl UnsafeUnpin for Adc4Smpr
impl UnwindSafe for Adc4Smpr
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