Struct stm32_metapac::adc::regs::Calfact
#[repr(transparent)]pub struct Calfact(pub u32);
Expand description
calibration factors register
Tuple Fields§
§0: u32
Implementations§
§impl Calfact
impl Calfact
pub fn set_calfact_s(&mut self, val: u8)
pub fn set_calfact_s(&mut self, val: u8)
calibration factor in single-ended mode
pub fn set_calfact_d(&mut self, val: u8)
pub fn set_calfact_d(&mut self, val: u8)
calibration factor in differential mode
Trait Implementations§
impl Copy for Calfact
impl Eq for Calfact
impl StructuralPartialEq for Calfact
Auto Trait Implementations§
impl Freeze for Calfact
impl RefUnwindSafe for Calfact
impl Send for Calfact
impl Sync for Calfact
impl Unpin for Calfact
impl UnwindSafe for Calfact
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
)