#[repr(C)]
pub struct RegisterBlock {
Show 35 fields pub cr: CR, pub mr: MR, pub emr: EMR, pub seq1r: SEQ1R, pub seq2r: SEQ2R, pub cher: CHER, pub chdr: CHDR, pub chsr: CHSR, pub lcdr: LCDR, pub ier: IER, pub idr: IDR, pub imr: IMR, pub isr: ISR, pub over: OVER, pub cwr: CWR, pub cgr: CGR, pub cdor: CDOR, pub diffr: DIFFR, pub cselr: CSELR, pub cdr: CDR, pub cocr: COCR, pub tempmr: TEMPMR, pub tempcwr: TEMPCWR, pub acr: ACR, pub cosr: COSR, pub cvr: CVR, pub cecr: CECR, pub wpmr: WPMR, pub wpsr: WPSR, pub rpr: RPR, pub rcr: RCR, pub rnpr: RNPR, pub rncr: RNCR, pub ptcr: PTCR, pub ptsr: PTSR, /* private fields */
}
Expand description

Register block

Fields§

§cr: CR

0x00 - AFEC Control Register

§mr: MR

0x04 - AFEC Mode Register

§emr: EMR

0x08 - AFEC Extended Mode Register

§seq1r: SEQ1R

0x0c - AFEC Channel Sequence 1 Register

§seq2r: SEQ2R

0x10 - AFEC Channel Sequence 2 Register

§cher: CHER

0x14 - AFEC Channel Enable Register

§chdr: CHDR

0x18 - AFEC Channel Disable Register

§chsr: CHSR

0x1c - AFEC Channel Status Register

§lcdr: LCDR

0x20 - AFEC Last Converted Data Register

§ier: IER

0x24 - AFEC Interrupt Enable Register

§idr: IDR

0x28 - AFEC Interrupt Disable Register

§imr: IMR

0x2c - AFEC Interrupt Mask Register

§isr: ISR

0x30 - AFEC Interrupt Status Register

§over: OVER

0x4c - AFEC Overrun Status Register

§cwr: CWR

0x50 - AFEC Compare Window Register

§cgr: CGR

0x54 - AFEC Channel Gain Register

§cdor: CDOR

0x5c - AFEC Channel Calibration DC Offset Register

§diffr: DIFFR

0x60 - AFEC Channel Differential Register

§cselr: CSELR

0x64 - AFEC Channel Register Selection

§cdr: CDR

0x68 - AFEC Channel Data Register

§cocr: COCR

0x6c - AFEC Channel Offset Compensation Register

§tempmr: TEMPMR

0x70 - AFEC Temperature Sensor Mode Register

§tempcwr: TEMPCWR

0x74 - AFEC Temperature Compare Window Register

§acr: ACR

0x94 - AFEC Analog Control Register

§cosr: COSR

0xd0 - AFEC Correction Select Register

§cvr: CVR

0xd4 - AFEC Correction Values Register

§cecr: CECR

0xd8 - AFEC Channel Error Correction Register

§wpmr: WPMR

0xe4 - AFEC Write Protection Mode Register

§wpsr: WPSR

0xe8 - AFEC Write Protection Status Register

§rpr: RPR

0x100 - Receive Pointer Register

§rcr: RCR

0x104 - Receive Counter Register

§rnpr: RNPR

0x110 - Receive Next Pointer Register

§rncr: RNCR

0x114 - Receive Next Counter Register

§ptcr: PTCR

0x120 - Transfer Control Register

§ptsr: PTSR

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

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.