#[repr(C)]pub struct RegisterBlock {
pub opamp1_csr: Reg<OPAMP1_CSR_SPEC>,
pub opamp1_otr: Reg<OPAMP1_OTR_SPEC>,
pub opamp1_lpotr: Reg<OPAMP1_LPOTR_SPEC>,
pub opamp2_csr: Reg<OPAMP2_CSR_SPEC>,
pub opamp2_otr: Reg<OPAMP2_OTR_SPEC>,
pub opamp2_lpotr: Reg<OPAMP2_LPOTR_SPEC>,
/* private fields */
}Expand description
Register block
Fields§
§opamp1_csr: Reg<OPAMP1_CSR_SPEC>0x00 - OPAMP1 control/status register
opamp1_otr: Reg<OPAMP1_OTR_SPEC>0x04 - OPAMP1 offset trimming register in normal mode
opamp1_lpotr: Reg<OPAMP1_LPOTR_SPEC>0x08 - OPAMP1 offset trimming register in low-power mode
opamp2_csr: Reg<OPAMP2_CSR_SPEC>0x10 - OPAMP2 control/status register
opamp2_otr: Reg<OPAMP2_OTR_SPEC>0x14 - OPAMP2 offset trimming register in normal mode
opamp2_lpotr: Reg<OPAMP2_LPOTR_SPEC>0x18 - OPAMP2 offset trimming register in low-power mode
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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