Struct Smpr3
#[repr(transparent)]pub struct Smpr3(pub u32);
Expand description
desc SMPR2.
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 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 sampling time selection
Trait Implementations§
impl Copy for Smpr3
impl Eq for Smpr3
impl StructuralPartialEq for Smpr3
Auto Trait Implementations§
impl Freeze for Smpr3
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