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