#[repr(C)]
pub struct RegisterBlock { pub csr: Reg<CSR_SPEC>, pub ccr: Reg<CCR_SPEC>, pub cdr: Reg<CDR_SPEC>, pub cdr2: Reg<CDR2_SPEC>, /* private fields */ }
Expand description

Register block

Fields

csr: Reg<CSR_SPEC>

0x00 - ADC Common status register

ccr: Reg<CCR_SPEC>

0x08 - ADC common control register

cdr: Reg<CDR_SPEC>

0x0c - ADC common regular data register for dual and triple modes

cdr2: Reg<CDR2_SPEC>

0x10 - ADC x common regular data register for 32-bit dual mode

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.