Struct stm32_metapac::adc::regs::Adc4Smpr
#[repr(transparent)]pub struct Adc4Smpr(pub u32);
Expand description
ADC sample time register.
Tuple Fields§
§0: u32
Implementations§
§impl Adc4Smpr
impl Adc4Smpr
pub const fn smp(&self, n: usize) -> Adc4SampleTime
pub const fn smp(&self, n: usize) -> Adc4SampleTime
SMP1.
pub fn set_smp(&mut self, n: usize, val: Adc4SampleTime)
pub fn set_smp(&mut self, n: usize, val: Adc4SampleTime)
SMP1.
pub fn set_smpsel(&mut self, n: usize, val: bool)
pub fn set_smpsel(&mut self, n: usize, val: bool)
SMPSEL0.
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 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
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
)