Struct stm32_metapac::adc::regs::Smpr
#[repr(transparent)]pub struct Smpr(pub u32);
Expand description
ADC sample time register.
Tuple Fields§
§0: u32
Implementations§
§impl Smpr
impl Smpr
pub fn set_smpsel0(&mut self, val: bool)
pub fn set_smpsel0(&mut self, val: bool)
SMPSEL0.
pub fn set_smpsel1(&mut self, val: bool)
pub fn set_smpsel1(&mut self, val: bool)
SMPSEL1.
pub fn set_smpsel2(&mut self, val: bool)
pub fn set_smpsel2(&mut self, val: bool)
SMPSEL2.
pub fn set_smpsel3(&mut self, val: bool)
pub fn set_smpsel3(&mut self, val: bool)
SMPSEL3.
pub fn set_smpsel4(&mut self, val: bool)
pub fn set_smpsel4(&mut self, val: bool)
SMPSEL4.
pub fn set_smpsel5(&mut self, val: bool)
pub fn set_smpsel5(&mut self, val: bool)
SMPSEL5.
pub fn set_smpsel6(&mut self, val: bool)
pub fn set_smpsel6(&mut self, val: bool)
SMPSEL6.
pub fn set_smpsel7(&mut self, val: bool)
pub fn set_smpsel7(&mut self, val: bool)
SMPSEL7.
pub fn set_smpsel8(&mut self, val: bool)
pub fn set_smpsel8(&mut self, val: bool)
SMPSEL8.
pub fn set_smpsel9(&mut self, val: bool)
pub fn set_smpsel9(&mut self, val: bool)
SMPSEL9.
pub fn set_smpsel10(&mut self, val: bool)
pub fn set_smpsel10(&mut self, val: bool)
SMPSEL10.
pub fn set_smpsel11(&mut self, val: bool)
pub fn set_smpsel11(&mut self, val: bool)
SMPSEL11.
pub fn set_smpsel12(&mut self, val: bool)
pub fn set_smpsel12(&mut self, val: bool)
SMPSEL12.
pub fn set_smpsel13(&mut self, val: bool)
pub fn set_smpsel13(&mut self, val: bool)
SMPSEL13.
pub fn set_smpsel14(&mut self, val: bool)
pub fn set_smpsel14(&mut self, val: bool)
SMPSEL14.
pub fn set_smpsel15(&mut self, val: bool)
pub fn set_smpsel15(&mut self, val: bool)
SMPSEL15.
pub fn set_smpsel16(&mut self, val: bool)
pub fn set_smpsel16(&mut self, val: bool)
SMPSEL16.
pub fn set_smpsel17(&mut self, val: bool)
pub fn set_smpsel17(&mut self, val: bool)
SMPSEL17.
pub fn set_smpsel18(&mut self, val: bool)
pub fn set_smpsel18(&mut self, val: bool)
SMPSEL18.
pub fn set_smpsel19(&mut self, val: bool)
pub fn set_smpsel19(&mut self, val: bool)
SMPSEL19.
pub fn set_smpsel20(&mut self, val: bool)
pub fn set_smpsel20(&mut self, val: bool)
SMPSEL20.
pub fn set_smpsel21(&mut self, val: bool)
pub fn set_smpsel21(&mut self, val: bool)
SMPSEL21.
pub fn set_smpsel22(&mut self, val: bool)
pub fn set_smpsel22(&mut self, val: bool)
SMPSEL22.
pub fn set_smpsel23(&mut self, val: bool)
pub fn set_smpsel23(&mut self, val: bool)
SMPSEL23.
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
)