#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control Register"] pub cr: CR, #[doc = "0x04 - Mode Register"] pub mr: MR, #[doc = "0x08 - Data Timeout Register"] pub dtor: DTOR, #[doc = "0x0c - SD/SDIO Card Register"] pub sdcr: SDCR, #[doc = "0x10 - Argument Register"] pub argr: ARGR, #[doc = "0x14 - Command Register"] pub cmdr: CMDR, #[doc = "0x18 - Block Register"] pub blkr: BLKR, #[doc = "0x1c - Completion Signal Timeout Register"] pub cstor: CSTOR, #[doc = "0x20..0x30 - Response Register 0"] pub rspr: [RSPR; 4], #[doc = "0x30 - Receive Data Register"] pub rdr: RDR, #[doc = "0x34 - Transmit Data Register"] pub tdr: TDR, _reserved11: [u8; 0x08], #[doc = "0x40 - Status Register"] pub sr: SR, #[doc = "0x44 - Interrupt Enable Register"] pub ier: IER, #[doc = "0x48 - Interrupt Disable Register"] pub idr: IDR, #[doc = "0x4c - Interrupt Mask Register"] pub imr: IMR, #[doc = "0x50 - DMA Configuration Register"] pub dma: DMA, #[doc = "0x54 - Configuration Register"] pub cfg: CFG, _reserved17: [u8; 0x8c], #[doc = "0xe4 - Write Protection Mode Register"] pub wpmr: WPMR, #[doc = "0xe8 - Write Protection Status Register"] pub wpsr: WPSR, _reserved19: [u8; 0x0114], #[doc = "0x200..0x600 - FIFO Memory Aperture0 0"] pub fifo: [FIFO; 256], } #[doc = "CR (w) register accessor: an alias for `Reg`"] pub type CR = crate::Reg; #[doc = "Control Register"] pub mod cr; #[doc = "MR (rw) register accessor: an alias for `Reg`"] pub type MR = crate::Reg; #[doc = "Mode Register"] pub mod mr; #[doc = "DTOR (rw) register accessor: an alias for `Reg`"] pub type DTOR = crate::Reg; #[doc = "Data Timeout Register"] pub mod dtor; #[doc = "SDCR (rw) register accessor: an alias for `Reg`"] pub type SDCR = crate::Reg; #[doc = "SD/SDIO Card Register"] pub mod sdcr; #[doc = "ARGR (rw) register accessor: an alias for `Reg`"] pub type ARGR = crate::Reg; #[doc = "Argument Register"] pub mod argr; #[doc = "CMDR (w) register accessor: an alias for `Reg`"] pub type CMDR = crate::Reg; #[doc = "Command Register"] pub mod cmdr; #[doc = "BLKR (rw) register accessor: an alias for `Reg`"] pub type BLKR = crate::Reg; #[doc = "Block Register"] pub mod blkr; #[doc = "CSTOR (rw) register accessor: an alias for `Reg`"] pub type CSTOR = crate::Reg; #[doc = "Completion Signal Timeout Register"] pub mod cstor; #[doc = "RSPR (r) register accessor: an alias for `Reg`"] pub type RSPR = crate::Reg; #[doc = "Response Register 0"] pub mod rspr; #[doc = "RDR (r) register accessor: an alias for `Reg`"] pub type RDR = crate::Reg; #[doc = "Receive Data Register"] pub mod rdr; #[doc = "TDR (w) register accessor: an alias for `Reg`"] pub type TDR = crate::Reg; #[doc = "Transmit Data Register"] pub mod tdr; #[doc = "SR (r) register accessor: an alias for `Reg`"] pub type SR = crate::Reg; #[doc = "Status Register"] pub mod sr; #[doc = "IER (w) register accessor: an alias for `Reg`"] pub type IER = crate::Reg; #[doc = "Interrupt Enable Register"] pub mod ier; #[doc = "IDR (w) register accessor: an alias for `Reg`"] pub type IDR = crate::Reg; #[doc = "Interrupt Disable Register"] pub mod idr; #[doc = "IMR (r) register accessor: an alias for `Reg`"] pub type IMR = crate::Reg; #[doc = "Interrupt Mask Register"] pub mod imr; #[doc = "DMA (rw) register accessor: an alias for `Reg`"] pub type DMA = crate::Reg; #[doc = "DMA Configuration Register"] pub mod dma; #[doc = "CFG (rw) register accessor: an alias for `Reg`"] pub type CFG = crate::Reg; #[doc = "Configuration Register"] pub mod cfg; #[doc = "WPMR (rw) register accessor: an alias for `Reg`"] pub type WPMR = crate::Reg; #[doc = "Write Protection Mode Register"] pub mod wpmr; #[doc = "WPSR (r) register accessor: an alias for `Reg`"] pub type WPSR = crate::Reg; #[doc = "Write Protection Status Register"] pub mod wpsr; #[doc = "FIFO (rw) register accessor: an alias for `Reg`"] pub type FIFO = crate::Reg; #[doc = "FIFO Memory Aperture0 0"] pub mod fifo;