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 StructuralPartialEq for Gcomp
Auto Trait Implementations§
impl Freeze for Gcomp
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
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
)