#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control Register"] pub ctrl: crate::Reg, #[doc = "0x04 - Command Register"] pub cmd: crate::Reg, #[doc = "0x08 - State Register"] pub state: crate::Reg, #[doc = "0x0c - Status Register"] pub status: crate::Reg, #[doc = "0x10 - Clock Division Register"] pub clkdiv: crate::Reg, #[doc = "0x14 - Slave Address Register"] pub saddr: crate::Reg, #[doc = "0x18 - Slave Address Mask Register"] pub saddrmask: crate::Reg, #[doc = "0x1c - Receive Buffer Data Register"] pub rxdata: crate::Reg, #[doc = "0x20 - Receive Buffer Double Data Register"] pub rxdouble: crate::Reg, #[doc = "0x24 - Receive Buffer Data Peek Register"] pub rxdatap: crate::Reg, #[doc = "0x28 - Receive Buffer Double Data Peek Register"] pub rxdoublep: crate::Reg, #[doc = "0x2c - Transmit Buffer Data Register"] pub txdata: crate::Reg, #[doc = "0x30 - Transmit Buffer Double Data Register"] pub txdouble: crate::Reg, #[doc = "0x34 - Interrupt Flag Register"] pub if_: crate::Reg, #[doc = "0x38 - Interrupt Flag Set Register"] pub ifs: crate::Reg, #[doc = "0x3c - Interrupt Flag Clear Register"] pub ifc: crate::Reg, #[doc = "0x40 - Interrupt Enable Register"] pub ien: crate::Reg, #[doc = "0x44 - I/O Routing Pin Enable Register"] pub routepen: crate::Reg, #[doc = "0x48 - I/O Routing Location Register"] pub routeloc0: crate::Reg, } #[doc = "CTRL register accessor: an alias for `Reg`"] pub type CTRL = crate::Reg; #[doc = "Control Register"] pub mod ctrl; #[doc = "CMD register accessor: an alias for `Reg`"] pub type CMD = crate::Reg; #[doc = "Command Register"] pub mod cmd; #[doc = "STATE register accessor: an alias for `Reg`"] pub type STATE = crate::Reg; #[doc = "State Register"] pub mod state; #[doc = "STATUS register accessor: an alias for `Reg`"] pub type STATUS = crate::Reg; #[doc = "Status Register"] pub mod status; #[doc = "CLKDIV register accessor: an alias for `Reg`"] pub type CLKDIV = crate::Reg; #[doc = "Clock Division Register"] pub mod clkdiv; #[doc = "SADDR register accessor: an alias for `Reg`"] pub type SADDR = crate::Reg; #[doc = "Slave Address Register"] pub mod saddr; #[doc = "SADDRMASK register accessor: an alias for `Reg`"] pub type SADDRMASK = crate::Reg; #[doc = "Slave Address Mask Register"] pub mod saddrmask; #[doc = "RXDATA register accessor: an alias for `Reg`"] pub type RXDATA = crate::Reg; #[doc = "Receive Buffer Data Register"] pub mod rxdata; #[doc = "RXDOUBLE register accessor: an alias for `Reg`"] pub type RXDOUBLE = crate::Reg; #[doc = "Receive Buffer Double Data Register"] pub mod rxdouble; #[doc = "RXDATAP register accessor: an alias for `Reg`"] pub type RXDATAP = crate::Reg; #[doc = "Receive Buffer Data Peek Register"] pub mod rxdatap; #[doc = "RXDOUBLEP register accessor: an alias for `Reg`"] pub type RXDOUBLEP = crate::Reg; #[doc = "Receive Buffer Double Data Peek Register"] pub mod rxdoublep; #[doc = "TXDATA register accessor: an alias for `Reg`"] pub type TXDATA = crate::Reg; #[doc = "Transmit Buffer Data Register"] pub mod txdata; #[doc = "TXDOUBLE register accessor: an alias for `Reg`"] pub type TXDOUBLE = crate::Reg; #[doc = "Transmit Buffer Double Data Register"] pub mod txdouble; #[doc = "IF register accessor: an alias for `Reg`"] pub type IF = crate::Reg; #[doc = "Interrupt Flag Register"] pub mod if_; #[doc = "IFS register accessor: an alias for `Reg`"] pub type IFS = crate::Reg; #[doc = "Interrupt Flag Set Register"] pub mod ifs; #[doc = "IFC register accessor: an alias for `Reg`"] pub type IFC = crate::Reg; #[doc = "Interrupt Flag Clear Register"] pub mod ifc; #[doc = "IEN register accessor: an alias for `Reg`"] pub type IEN = crate::Reg; #[doc = "Interrupt Enable Register"] pub mod ien; #[doc = "ROUTEPEN register accessor: an alias for `Reg`"] pub type ROUTEPEN = crate::Reg; #[doc = "I/O Routing Pin Enable Register"] pub mod routepen; #[doc = "ROUTELOC0 register accessor: an alias for `Reg`"] pub type ROUTELOC0 = crate::Reg; #[doc = "I/O Routing Location Register"] pub mod routeloc0;