#[repr(C)]
pub struct RegisterBlock {
Show 14 fields pub dacc_cr: Reg<DACC_CR_SPEC>, pub dacc_mr: Reg<DACC_MR_SPEC>, pub dacc_trigr: Reg<DACC_TRIGR_SPEC>, pub dacc_cher: Reg<DACC_CHER_SPEC>, pub dacc_chdr: Reg<DACC_CHDR_SPEC>, pub dacc_chsr: Reg<DACC_CHSR_SPEC>, pub dacc_cdr: [Reg<DACC_CDR_SPEC>; 2], pub dacc_ier: Reg<DACC_IER_SPEC>, pub dacc_idr: Reg<DACC_IDR_SPEC>, pub dacc_imr: Reg<DACC_IMR_SPEC>, pub dacc_isr: Reg<DACC_ISR_SPEC>, pub dacc_acr: Reg<DACC_ACR_SPEC>, pub dacc_wpmr: Reg<DACC_WPMR_SPEC>, pub dacc_wpsr: Reg<DACC_WPSR_SPEC>, /* private fields */
}
Expand description

Register block

Fields

dacc_cr: Reg<DACC_CR_SPEC>

0x00 - Control Register

dacc_mr: Reg<DACC_MR_SPEC>

0x04 - Mode Register

dacc_trigr: Reg<DACC_TRIGR_SPEC>

0x08 - Trigger Register

dacc_cher: Reg<DACC_CHER_SPEC>

0x10 - Channel Enable Register

dacc_chdr: Reg<DACC_CHDR_SPEC>

0x14 - Channel Disable Register

dacc_chsr: Reg<DACC_CHSR_SPEC>

0x18 - Channel Status Register

dacc_cdr: [Reg<DACC_CDR_SPEC>; 2]

0x1c..0x24 - Conversion Data Register 0

dacc_ier: Reg<DACC_IER_SPEC>

0x24 - Interrupt Enable Register

dacc_idr: Reg<DACC_IDR_SPEC>

0x28 - Interrupt Disable Register

dacc_imr: Reg<DACC_IMR_SPEC>

0x2c - Interrupt Mask Register

dacc_isr: Reg<DACC_ISR_SPEC>

0x30 - Interrupt Status Register

dacc_acr: Reg<DACC_ACR_SPEC>

0x94 - Analog Current Register

dacc_wpmr: Reg<DACC_WPMR_SPEC>

0xe4 - Write Protection Mode Register

dacc_wpsr: Reg<DACC_WPSR_SPEC>

0xe8 - Write Protection Status 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.