#[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>, pub acc_ver: Reg<ACC_VER_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

acc_ver: Reg<ACC_VER_SPEC>

0xfc - Version Register

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.