Struct stm32_metapac::adc::regs::Smpr1
#[repr(transparent)]pub struct Smpr1(pub u32);
Expand description
sample time register 1
Tuple Fields§
§0: u32
Implementations§
§impl Smpr1
impl Smpr1
pub const fn smp10(&self) -> SampleTime
pub const fn smp10(&self) -> SampleTime
channel 10 sampling time selection
pub fn set_smp10(&mut self, val: SampleTime)
pub fn set_smp10(&mut self, val: SampleTime)
channel 10 sampling time selection
pub const fn smp11(&self) -> SampleTime
pub const fn smp11(&self) -> SampleTime
channel 11 sampling time selection
pub fn set_smp11(&mut self, val: SampleTime)
pub fn set_smp11(&mut self, val: SampleTime)
channel 11 sampling time selection
pub const fn smp12(&self) -> SampleTime
pub const fn smp12(&self) -> SampleTime
channel 12 sampling time selection
pub fn set_smp12(&mut self, val: SampleTime)
pub fn set_smp12(&mut self, val: SampleTime)
channel 12 sampling time selection
pub const fn smp13(&self) -> SampleTime
pub const fn smp13(&self) -> SampleTime
channel 13 sampling time selection
pub fn set_smp13(&mut self, val: SampleTime)
pub fn set_smp13(&mut self, val: SampleTime)
channel 13 sampling time selection
pub const fn smp14(&self) -> SampleTime
pub const fn smp14(&self) -> SampleTime
channel 14 sampling time selection
pub fn set_smp14(&mut self, val: SampleTime)
pub fn set_smp14(&mut self, val: SampleTime)
channel 14 sampling time selection
pub const fn smp15(&self) -> SampleTime
pub const fn smp15(&self) -> SampleTime
channel 15 sampling time selection
pub fn set_smp15(&mut self, val: SampleTime)
pub fn set_smp15(&mut self, val: SampleTime)
channel 15 sampling time selection
pub const fn smp16(&self) -> SampleTime
pub const fn smp16(&self) -> SampleTime
channel 16 sampling time selection
pub fn set_smp16(&mut self, val: SampleTime)
pub fn set_smp16(&mut self, val: SampleTime)
channel 16 sampling time selection
pub const fn smp17(&self) -> SampleTime
pub const fn smp17(&self) -> SampleTime
channel 17 sampling time selection
pub fn set_smp17(&mut self, val: SampleTime)
pub fn set_smp17(&mut self, val: SampleTime)
channel 17 sampling time selection
pub const fn smp18(&self) -> SampleTime
pub const fn smp18(&self) -> SampleTime
channel 18 sampling time selection
pub fn set_smp18(&mut self, val: SampleTime)
pub fn set_smp18(&mut self, val: SampleTime)
channel 18 sampling time selection
Trait Implementations§
impl Copy for Smpr1
impl Eq for Smpr1
impl StructuralPartialEq for Smpr1
Auto Trait Implementations§
impl Freeze for Smpr1
impl RefUnwindSafe for Smpr1
impl Send for Smpr1
impl Sync for Smpr1
impl Unpin for Smpr1
impl UnwindSafe for Smpr1
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
)