1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - ADC Common status register"] pub csr: CSR, _reserved1: [u8; 4usize], #[doc = "0x08 - ADC common control register"] pub ccr: CCR, #[doc = "0x0c - ADC common regular data register for dual and triple modes"] pub cdr: CDR, #[doc = "0x10 - ADC x common regular data register for 32-bit dual mode"] pub cdr2: CDR2, } #[doc = "ADC Common status register"] pub struct CSR { register: vcell::VolatileCell<u32>, } #[doc = "ADC Common status register"] pub mod csr; #[doc = "ADC common control register"] pub struct CCR { register: vcell::VolatileCell<u32>, } #[doc = "ADC common control register"] pub mod ccr; #[doc = "ADC common regular data register for dual and triple modes"] pub struct CDR { register: vcell::VolatileCell<u32>, } #[doc = "ADC common regular data register for dual and triple modes"] pub mod cdr; #[doc = "ADC x common regular data register for 32-bit dual mode"] pub struct CDR2 { register: vcell::VolatileCell<u32>, } #[doc = "ADC x common regular data register for 32-bit dual mode"] pub mod cdr2;