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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - CEC control register"] pub cr: CR, #[doc = "0x04 - This register is used to configure the HDMI-CEC controller. It is mandatory to write CEC_CFGR only when CECEN=0."] pub cfgr: CFGR, #[doc = "0x08 - CEC Tx data register"] pub txdr: TXDR, #[doc = "0x0c - CEC Rx Data Register"] pub rxdr: RXDR, #[doc = "0x10 - CEC Interrupt and Status Register"] pub isr: ISR, #[doc = "0x14 - CEC interrupt enable register"] pub ier: IER, } #[doc = "CEC control register"] pub struct CR { register: vcell::VolatileCell<u32>, } #[doc = "CEC control register"] pub mod cr; #[doc = "This register is used to configure the HDMI-CEC controller. It is mandatory to write CEC_CFGR only when CECEN=0."] pub struct CFGR { register: vcell::VolatileCell<u32>, } #[doc = "This register is used to configure the HDMI-CEC controller. It is mandatory to write CEC_CFGR only when CECEN=0."] pub mod cfgr; #[doc = "CEC Tx data register"] pub struct TXDR { register: vcell::VolatileCell<u32>, } #[doc = "CEC Tx data register"] pub mod txdr; #[doc = "CEC Rx Data Register"] pub struct RXDR { register: vcell::VolatileCell<u32>, } #[doc = "CEC Rx Data Register"] pub mod rxdr; #[doc = "CEC Interrupt and Status Register"] pub struct ISR { register: vcell::VolatileCell<u32>, } #[doc = "CEC Interrupt and Status Register"] pub mod isr; #[doc = "CEC interrupt enable register"] pub struct IER { register: vcell::VolatileCell<u32>, } #[doc = "CEC interrupt enable register"] pub mod ier;