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