Struct Adc3Smpr
#[repr(transparent)]pub struct Adc3Smpr(pub u32);Expand description
Sample time register
Tuple Fields§
§0: u32Implementations§
§impl Adc3Smpr
impl Adc3Smpr
pub const fn smp(&self, n: usize) -> Adc3SampleTime
pub const fn smp(&self, n: usize) -> Adc3SampleTime
Channel x sampling time selection
pub const fn set_smp(&mut self, n: usize, val: Adc3SampleTime)
pub const fn set_smp(&mut self, n: usize, val: Adc3SampleTime)
Channel x sampling time selection
pub const fn smpplus(&self) -> bool
pub const fn smpplus(&self) -> bool
Addition of one clock cycle to the 2.5 cycle sampling time (SMPR[0] only)
pub const fn set_smpplus(&mut self, val: bool)
pub const fn set_smpplus(&mut self, val: bool)
Addition of one clock cycle to the 2.5 cycle sampling time (SMPR[0] only)
Trait Implementations§
impl Copy for Adc3Smpr
impl Eq for Adc3Smpr
impl StructuralPartialEq for Adc3Smpr
Auto Trait Implementations§
impl Freeze for Adc3Smpr
impl RefUnwindSafe for Adc3Smpr
impl Send for Adc3Smpr
impl Sync for Adc3Smpr
impl Unpin for Adc3Smpr
impl UnsafeUnpin for Adc3Smpr
impl UnwindSafe for Adc3Smpr
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