Struct stm32_metapac::opamp::regs::Otr
#[repr(transparent)]pub struct Otr(pub u32);
Expand description
OPAMP offset trimming register in normal mode.
Tuple Fields§
§0: u32
Implementations§
§impl Otr
impl Otr
pub const fn trimoffsetn(&self) -> u8
pub const fn trimoffsetn(&self) -> u8
Trim for NMOS differential pairs.
pub fn set_trimoffsetn(&mut self, val: u8)
pub fn set_trimoffsetn(&mut self, val: u8)
Trim for NMOS differential pairs.
pub const fn trimoffsetp(&self) -> u8
pub const fn trimoffsetp(&self) -> u8
Trim for PMOS differential pairs.
pub fn set_trimoffsetp(&mut self, val: u8)
pub fn set_trimoffsetp(&mut self, val: u8)
Trim for PMOS differential pairs.
Trait Implementations§
impl Copy for Otr
impl Eq for Otr
impl StructuralPartialEq for Otr
Auto Trait Implementations§
impl Freeze for Otr
impl RefUnwindSafe for Otr
impl Send for Otr
impl Sync for Otr
impl Unpin for Otr
impl UnwindSafe for Otr
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
)