Struct stm32_metapac::adc::regs::Smpr
#[repr(transparent)]pub struct Smpr(pub u32);
Expand description
sampling time register
Tuple Fields§
§0: u32
Implementations§
§impl Smpr
impl Smpr
pub const fn smp(&self) -> SampleTime
pub const fn smp(&self) -> SampleTime
Sampling time selection
pub fn set_smp(&mut self, val: SampleTime)
pub fn set_smp(&mut self, val: SampleTime)
Sampling time selection
Trait Implementations§
impl Copy for Smpr
impl Eq for Smpr
impl StructuralPartialEq for Smpr
Auto Trait Implementations§
impl Freeze for Smpr
impl RefUnwindSafe for Smpr
impl Send for Smpr
impl Sync for Smpr
impl Unpin for Smpr
impl UnwindSafe for Smpr
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
)