#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control register 1"] pub cr1: crate::Reg, #[doc = "0x04 - Control register 2"] pub cr2: crate::Reg, #[doc = "0x08 - Own address register 1"] pub oar1: crate::Reg, #[doc = "0x0c - Own address register 2"] pub oar2: crate::Reg, #[doc = "0x10 - Timing register"] pub timingr: crate::Reg, #[doc = "0x14 - Status register 1"] pub timeoutr: crate::Reg, #[doc = "0x18 - Interrupt and Status register"] pub isr: crate::Reg, #[doc = "0x1c - Interrupt clear register"] pub icr: crate::Reg, #[doc = "0x20 - PEC register"] pub pecr: crate::Reg, #[doc = "0x24 - Receive data register"] pub rxdr: crate::Reg, #[doc = "0x28 - Transmit data register"] pub txdr: crate::Reg, } #[doc = "CR1 register accessor: an alias for `Reg`"] pub type CR1 = crate::Reg; #[doc = "Control register 1"] pub mod cr1; #[doc = "CR2 register accessor: an alias for `Reg`"] pub type CR2 = crate::Reg; #[doc = "Control register 2"] pub mod cr2; #[doc = "OAR1 register accessor: an alias for `Reg`"] pub type OAR1 = crate::Reg; #[doc = "Own address register 1"] pub mod oar1; #[doc = "OAR2 register accessor: an alias for `Reg`"] pub type OAR2 = crate::Reg; #[doc = "Own address register 2"] pub mod oar2; #[doc = "TIMINGR register accessor: an alias for `Reg`"] pub type TIMINGR = crate::Reg; #[doc = "Timing register"] pub mod timingr; #[doc = "TIMEOUTR register accessor: an alias for `Reg`"] pub type TIMEOUTR = crate::Reg; #[doc = "Status register 1"] pub mod timeoutr; #[doc = "ISR register accessor: an alias for `Reg`"] pub type ISR = crate::Reg; #[doc = "Interrupt and Status register"] pub mod isr; #[doc = "ICR register accessor: an alias for `Reg`"] pub type ICR = crate::Reg; #[doc = "Interrupt clear register"] pub mod icr; #[doc = "PECR register accessor: an alias for `Reg`"] pub type PECR = crate::Reg; #[doc = "PEC register"] pub mod pecr; #[doc = "RXDR register accessor: an alias for `Reg`"] pub type RXDR = crate::Reg; #[doc = "Receive data register"] pub mod rxdr; #[doc = "TXDR register accessor: an alias for `Reg`"] pub type TXDR = crate::Reg; #[doc = "Transmit data register"] pub mod txdr;