Struct atsam4n16c_pac::adc::RegisterBlock[][src]

#[repr(C)]
pub struct RegisterBlock {
Show 26 fields pub cr: Reg<CR_SPEC>, pub mr: Reg<MR_SPEC>, pub seqr: [Reg<SEQR_SPEC>; 2], pub cher: Reg<CHER_SPEC>, pub chdr: Reg<CHDR_SPEC>, pub chsr: Reg<CHSR_SPEC>, pub lcdr: Reg<LCDR_SPEC>, pub ier: Reg<IER_SPEC>, pub idr: Reg<IDR_SPEC>, pub imr: Reg<IMR_SPEC>, pub isr: Reg<ISR_SPEC>, pub tempmr: Reg<TEMPMR_SPEC>, pub tempcwr: Reg<TEMPCWR_SPEC>, pub over: Reg<OVER_SPEC>, pub emr: Reg<EMR_SPEC>, pub cwr: Reg<CWR_SPEC>, pub cdr: [Reg<CDR_SPEC>; 17], pub acr: Reg<ACR_SPEC>, pub wpmr: Reg<WPMR_SPEC>, pub wpsr: Reg<WPSR_SPEC>, pub rpr: Reg<RPR_SPEC>, pub rcr: Reg<RCR_SPEC>, pub rnpr: Reg<RNPR_SPEC>, pub rncr: Reg<RNCR_SPEC>, pub ptcr: Reg<PTCR_SPEC>, pub ptsr: Reg<PTSR_SPEC>, // some fields omitted
}
Expand description

Register block

Fields

cr: Reg<CR_SPEC>

0x00 - Control Register

mr: Reg<MR_SPEC>

0x04 - Mode Register

seqr: [Reg<SEQR_SPEC>; 2]

0x08..0x10 - Channel Sequence Register

cher: Reg<CHER_SPEC>

0x10 - Channel Enable Register

chdr: Reg<CHDR_SPEC>

0x14 - Channel Disable Register

chsr: Reg<CHSR_SPEC>

0x18 - Channel Status Register

lcdr: Reg<LCDR_SPEC>

0x20 - Last Converted Data Register

ier: Reg<IER_SPEC>

0x24 - Interrupt Enable Register

idr: Reg<IDR_SPEC>

0x28 - Interrupt Disable Register

imr: Reg<IMR_SPEC>

0x2c - Interrupt Mask Register

isr: Reg<ISR_SPEC>

0x30 - Interrupt Status Register

tempmr: Reg<TEMPMR_SPEC>

0x34 - Temperature Sensor Mode Register

tempcwr: Reg<TEMPCWR_SPEC>

0x38 - Temperature Compare Window Register

over: Reg<OVER_SPEC>

0x3c - Overrun Status Register

emr: Reg<EMR_SPEC>

0x40 - Extended Mode Register

cwr: Reg<CWR_SPEC>

0x44 - Compare Window Register

cdr: [Reg<CDR_SPEC>; 17]

0x50..0x94 - Channel Data Register

acr: Reg<ACR_SPEC>

0x94 - Analog Control Register

wpmr: Reg<WPMR_SPEC>

0xe4 - Write Protect Mode Register

wpsr: Reg<WPSR_SPEC>

0xe8 - Write Protect Status Register

rpr: Reg<RPR_SPEC>

0x100 - Receive Pointer Register

rcr: Reg<RCR_SPEC>

0x104 - Receive Counter Register

rnpr: Reg<RNPR_SPEC>

0x110 - Receive Next Pointer Register

rncr: Reg<RNCR_SPEC>

0x114 - Receive Next Counter Register

ptcr: Reg<PTCR_SPEC>

0x120 - Transfer Control Register

ptsr: Reg<PTSR_SPEC>

0x124 - Transfer 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

Performs the conversion.

Performs the conversion.

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.