#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - AFEC Control Register"] pub cr: CR, #[doc = "0x04 - AFEC Mode Register"] pub mr: MR, #[doc = "0x08 - AFEC Extended Mode Register"] pub emr: EMR, #[doc = "0x0c - AFEC Channel Sequence 1 Register"] pub seq1r: SEQ1R, #[doc = "0x10 - AFEC Channel Sequence 2 Register"] pub seq2r: SEQ2R, #[doc = "0x14 - AFEC Channel Enable Register"] pub cher: CHER, #[doc = "0x18 - AFEC Channel Disable Register"] pub chdr: CHDR, #[doc = "0x1c - AFEC Channel Status Register"] pub chsr: CHSR, #[doc = "0x20 - AFEC Last Converted Data Register"] pub lcdr: LCDR, #[doc = "0x24 - AFEC Interrupt Enable Register"] pub ier: IER, #[doc = "0x28 - AFEC Interrupt Disable Register"] pub idr: IDR, #[doc = "0x2c - AFEC Interrupt Mask Register"] pub imr: IMR, #[doc = "0x30 - AFEC Interrupt Status Register"] pub isr: ISR, _reserved13: [u8; 0x18], #[doc = "0x4c - AFEC Overrun Status Register"] pub over: OVER, #[doc = "0x50 - AFEC Compare Window Register"] pub cwr: CWR, #[doc = "0x54 - AFEC Channel Gain Register"] pub cgr: CGR, _reserved16: [u8; 0x08], #[doc = "0x60 - AFEC Channel Differential Register"] pub diffr: DIFFR, #[doc = "0x64 - AFEC Channel Selection Register"] pub cselr: CSELR, #[doc = "0x68 - AFEC Channel Data Register"] pub cdr: CDR, #[doc = "0x6c - AFEC Channel Offset Compensation Register"] pub cocr: COCR, #[doc = "0x70 - AFEC Temperature Sensor Mode Register"] pub tempmr: TEMPMR, #[doc = "0x74 - AFEC Temperature Compare Window Register"] pub tempcwr: TEMPCWR, _reserved22: [u8; 0x1c], #[doc = "0x94 - AFEC Analog Control Register"] pub acr: ACR, _reserved23: [u8; 0x08], #[doc = "0xa0 - AFEC Sample & Hold Mode Register"] pub shmr: SHMR, _reserved24: [u8; 0x2c], #[doc = "0xd0 - AFEC Correction Select Register"] pub cosr: COSR, #[doc = "0xd4 - AFEC Correction Values Register"] pub cvr: CVR, #[doc = "0xd8 - AFEC Channel Error Correction Register"] pub cecr: CECR, _reserved27: [u8; 0x08], #[doc = "0xe4 - AFEC Write Protection Mode Register"] pub wpmr: WPMR, #[doc = "0xe8 - AFEC Write Protection Status Register"] pub wpsr: WPSR, } #[doc = "CR (w) register accessor: an alias for `Reg`"] pub type CR = crate::Reg; #[doc = "AFEC Control Register"] pub mod cr; #[doc = "MR (rw) register accessor: an alias for `Reg`"] pub type MR = crate::Reg; #[doc = "AFEC Mode Register"] pub mod mr; #[doc = "EMR (rw) register accessor: an alias for `Reg`"] pub type EMR = crate::Reg; #[doc = "AFEC Extended Mode Register"] pub mod emr; #[doc = "SEQ1R (rw) register accessor: an alias for `Reg`"] pub type SEQ1R = crate::Reg; #[doc = "AFEC Channel Sequence 1 Register"] pub mod seq1r; #[doc = "SEQ2R (rw) register accessor: an alias for `Reg`"] pub type SEQ2R = crate::Reg; #[doc = "AFEC Channel Sequence 2 Register"] pub mod seq2r; #[doc = "CHER (w) register accessor: an alias for `Reg`"] pub type CHER = crate::Reg; #[doc = "AFEC Channel Enable Register"] pub mod cher; #[doc = "CHDR (w) register accessor: an alias for `Reg`"] pub type CHDR = crate::Reg; #[doc = "AFEC Channel Disable Register"] pub mod chdr; #[doc = "CHSR (r) register accessor: an alias for `Reg`"] pub type CHSR = crate::Reg; #[doc = "AFEC Channel Status Register"] pub mod chsr; #[doc = "LCDR (r) register accessor: an alias for `Reg`"] pub type LCDR = crate::Reg; #[doc = "AFEC Last Converted Data Register"] pub mod lcdr; #[doc = "IER (w) register accessor: an alias for `Reg`"] pub type IER = crate::Reg; #[doc = "AFEC Interrupt Enable Register"] pub mod ier; #[doc = "IDR (w) register accessor: an alias for `Reg`"] pub type IDR = crate::Reg; #[doc = "AFEC Interrupt Disable Register"] pub mod idr; #[doc = "IMR (r) register accessor: an alias for `Reg`"] pub type IMR = crate::Reg; #[doc = "AFEC Interrupt Mask Register"] pub mod imr; #[doc = "ISR (r) register accessor: an alias for `Reg`"] pub type ISR = crate::Reg; #[doc = "AFEC Interrupt Status Register"] pub mod isr; #[doc = "OVER (r) register accessor: an alias for `Reg`"] pub type OVER = crate::Reg; #[doc = "AFEC Overrun Status Register"] pub mod over; #[doc = "CWR (rw) register accessor: an alias for `Reg`"] pub type CWR = crate::Reg; #[doc = "AFEC Compare Window Register"] pub mod cwr; #[doc = "CGR (rw) register accessor: an alias for `Reg`"] pub type CGR = crate::Reg; #[doc = "AFEC Channel Gain Register"] pub mod cgr; #[doc = "DIFFR (rw) register accessor: an alias for `Reg`"] pub type DIFFR = crate::Reg; #[doc = "AFEC Channel Differential Register"] pub mod diffr; #[doc = "CSELR (rw) register accessor: an alias for `Reg`"] pub type CSELR = crate::Reg; #[doc = "AFEC Channel Selection Register"] pub mod cselr; #[doc = "CDR (r) register accessor: an alias for `Reg`"] pub type CDR = crate::Reg; #[doc = "AFEC Channel Data Register"] pub mod cdr; #[doc = "COCR (rw) register accessor: an alias for `Reg`"] pub type COCR = crate::Reg; #[doc = "AFEC Channel Offset Compensation Register"] pub mod cocr; #[doc = "TEMPMR (rw) register accessor: an alias for `Reg`"] pub type TEMPMR = crate::Reg; #[doc = "AFEC Temperature Sensor Mode Register"] pub mod tempmr; #[doc = "TEMPCWR (rw) register accessor: an alias for `Reg`"] pub type TEMPCWR = crate::Reg; #[doc = "AFEC Temperature Compare Window Register"] pub mod tempcwr; #[doc = "ACR (rw) register accessor: an alias for `Reg`"] pub type ACR = crate::Reg; #[doc = "AFEC Analog Control Register"] pub mod acr; #[doc = "SHMR (rw) register accessor: an alias for `Reg`"] pub type SHMR = crate::Reg; #[doc = "AFEC Sample & Hold Mode Register"] pub mod shmr; #[doc = "COSR (rw) register accessor: an alias for `Reg`"] pub type COSR = crate::Reg; #[doc = "AFEC Correction Select Register"] pub mod cosr; #[doc = "CVR (rw) register accessor: an alias for `Reg`"] pub type CVR = crate::Reg; #[doc = "AFEC Correction Values Register"] pub mod cvr; #[doc = "CECR (rw) register accessor: an alias for `Reg`"] pub type CECR = crate::Reg; #[doc = "AFEC Channel Error Correction Register"] pub mod cecr; #[doc = "WPMR (rw) register accessor: an alias for `Reg`"] pub type WPMR = crate::Reg; #[doc = "AFEC Write Protection Mode Register"] pub mod wpmr; #[doc = "WPSR (r) register accessor: an alias for `Reg`"] pub type WPSR = crate::Reg; #[doc = "AFEC Write Protection Status Register"] pub mod wpsr;