#[repr(transparent)]pub struct OpampCtr(pub u32);Expand description
OPAMP Control
Tuple Fields§
§0: u32Implementations§
Source§impl OpampCtr
impl OpampCtr
Sourcepub const fn set_intref(&mut self, val: Intref)
pub const fn set_intref(&mut self, val: Intref)
Provide OPAMP rail to rail voltage selection
Sourcepub const fn set_trigmd(&mut self, val: bool)
pub const fn set_trigmd(&mut self, val: bool)
Trigger Mode
Sourcepub const fn set_inpsel(&mut self, val: Inpsel)
pub const fn set_inpsel(&mut self, val: Inpsel)
Positive Input Channel Selection
Sourcepub const fn set_adcsw1(&mut self, val: bool)
pub const fn set_adcsw1(&mut self, val: bool)
Measure Switch 1
Sourcepub const fn set_adcsw2(&mut self, val: bool)
pub const fn set_adcsw2(&mut self, val: bool)
Measure Switch 2
Trait Implementations§
impl Copy for OpampCtr
impl Eq for OpampCtr
impl StructuralPartialEq for OpampCtr
Auto Trait Implementations§
impl Freeze for OpampCtr
impl RefUnwindSafe for OpampCtr
impl Send for OpampCtr
impl Sync for OpampCtr
impl Unpin for OpampCtr
impl UnwindSafe for OpampCtr
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