Struct atsams70q19::acc::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub acc_cr: Reg<ACC_CR_SPEC>,
pub acc_mr: Reg<ACC_MR_SPEC>,
pub acc_ier: Reg<ACC_IER_SPEC>,
pub acc_idr: Reg<ACC_IDR_SPEC>,
pub acc_imr: Reg<ACC_IMR_SPEC>,
pub acc_isr: Reg<ACC_ISR_SPEC>,
pub acc_acr: Reg<ACC_ACR_SPEC>,
pub acc_wpmr: Reg<ACC_WPMR_SPEC>,
pub acc_wpsr: Reg<ACC_WPSR_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
acc_cr: Reg<ACC_CR_SPEC>
0x00 - Control Register
acc_mr: Reg<ACC_MR_SPEC>
0x04 - Mode Register
acc_ier: Reg<ACC_IER_SPEC>
0x24 - Interrupt Enable Register
acc_idr: Reg<ACC_IDR_SPEC>
0x28 - Interrupt Disable Register
acc_imr: Reg<ACC_IMR_SPEC>
0x2c - Interrupt Mask Register
acc_isr: Reg<ACC_ISR_SPEC>
0x30 - Interrupt Status Register
acc_acr: Reg<ACC_ACR_SPEC>
0x94 - Analog Control Register
acc_wpmr: Reg<ACC_WPMR_SPEC>
0xe4 - Write Protection Mode Register
acc_wpsr: Reg<ACC_WPSR_SPEC>
0xe8 - Write Protection Status Register
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more