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: u16)
pub fn set_calfact_s(&mut self, val: u16)
calibration factor in single-ended mode
pub fn set_calfact_d(&mut self, val: u16)
pub fn set_calfact_d(&mut self, val: u16)
calibration factor in differential mode
Trait Implementations§
impl Copy for Calfact
impl Eq for Calfact
impl StructuralEq for Calfact
impl StructuralPartialEq for Calfact
Auto Trait Implementations§
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