Struct stm32_metapac::sdadc::regs::Confr
#[repr(transparent)]pub struct Confr(pub u32);
Expand description
configuration 0 register.
Tuple Fields§
§0: u32
Implementations§
§impl Confr
impl Confr
pub fn set_offset(&mut self, val: u16)
pub fn set_offset(&mut self, val: u16)
Twelve-bit calibration offset for configuration 0.
pub fn set_common(&mut self, val: u8)
pub fn set_common(&mut self, val: u8)
Common mode for configuration 0.
Trait Implementations§
impl Copy for Confr
impl Eq for Confr
impl StructuralPartialEq for Confr
Auto Trait Implementations§
impl Freeze for Confr
impl RefUnwindSafe for Confr
impl Send for Confr
impl Sync for Confr
impl Unpin for Confr
impl UnwindSafe for Confr
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
)