Struct stm32_metapac::adc::regs::Gcomp
#[repr(transparent)]pub struct Gcomp(pub u32);
Expand description
Gain compensation coefficient
Tuple Fields§
§0: u32
Implementations§
§impl Gcomp
impl Gcomp
pub const fn gcompcoeff(&self) -> u16
pub const fn gcompcoeff(&self) -> u16
Gain compensation coefficient
pub fn set_gcompcoeff(&mut self, val: u16)
pub fn set_gcompcoeff(&mut self, val: u16)
Gain compensation coefficient
Trait Implementations§
impl Copy for Gcomp
impl Eq for Gcomp
impl StructuralEq for Gcomp
impl StructuralPartialEq for Gcomp
Auto Trait Implementations§
impl RefUnwindSafe for Gcomp
impl Send for Gcomp
impl Sync for Gcomp
impl Unpin for Gcomp
impl UnwindSafe for Gcomp
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