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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - power control register"] pub power: POWER, #[doc = "0x04 - SDI clock control register"] pub clkcr: CLKCR, #[doc = "0x08 - argument register"] pub arg: ARG, #[doc = "0x0c - command register"] pub cmd: CMD, #[doc = "0x10 - command response register"] pub respcmd: RESPCMD, #[doc = "0x14 - response 1..4 register"] pub resp1: RESP1, #[doc = "0x18 - response 1..4 register"] pub resp2: RESP2, #[doc = "0x1c - response 1..4 register"] pub resp3: RESP3, #[doc = "0x20 - response 1..4 register"] pub resp4: RESP4, #[doc = "0x24 - data timer register"] pub dtimer: DTIMER, #[doc = "0x28 - data length register"] pub dlen: DLEN, #[doc = "0x2c - data control register"] pub dctrl: DCTRL, #[doc = "0x30 - data counter register"] pub dcount: DCOUNT, #[doc = "0x34 - status register"] pub sta: STA, #[doc = "0x38 - interrupt clear register"] pub icr: ICR, #[doc = "0x3c - mask register"] pub mask: MASK, _reserved0: [u8; 8usize], #[doc = "0x48 - FIFO counter register"] pub fifocnt: FIFOCNT, _reserved1: [u8; 52usize], #[doc = "0x80 - data FIFO register"] pub fifo: FIFO, } #[doc = "power control register"] pub struct POWER { register: ::vcell::VolatileCell<u32>, } #[doc = "power control register"] pub mod power; #[doc = "SDI clock control register"] pub struct CLKCR { register: ::vcell::VolatileCell<u32>, } #[doc = "SDI clock control register"] pub mod clkcr; #[doc = "argument register"] pub struct ARG { register: ::vcell::VolatileCell<u32>, } #[doc = "argument register"] pub mod arg; #[doc = "command register"] pub struct CMD { register: ::vcell::VolatileCell<u32>, } #[doc = "command register"] pub mod cmd; #[doc = "command response register"] pub struct RESPCMD { register: ::vcell::VolatileCell<u32>, } #[doc = "command response register"] pub mod respcmd; #[doc = "response 1..4 register"] pub struct RESP1 { register: ::vcell::VolatileCell<u32>, } #[doc = "response 1..4 register"] pub mod resp1; #[doc = "response 1..4 register"] pub struct RESP2 { register: ::vcell::VolatileCell<u32>, } #[doc = "response 1..4 register"] pub mod resp2; #[doc = "response 1..4 register"] pub struct RESP3 { register: ::vcell::VolatileCell<u32>, } #[doc = "response 1..4 register"] pub mod resp3; #[doc = "response 1..4 register"] pub struct RESP4 { register: ::vcell::VolatileCell<u32>, } #[doc = "response 1..4 register"] pub mod resp4; #[doc = "data timer register"] pub struct DTIMER { register: ::vcell::VolatileCell<u32>, } #[doc = "data timer register"] pub mod dtimer; #[doc = "data length register"] pub struct DLEN { register: ::vcell::VolatileCell<u32>, } #[doc = "data length register"] pub mod dlen; #[doc = "data control register"] pub struct DCTRL { register: ::vcell::VolatileCell<u32>, } #[doc = "data control register"] pub mod dctrl; #[doc = "data counter register"] pub struct DCOUNT { register: ::vcell::VolatileCell<u32>, } #[doc = "data counter register"] pub mod dcount; #[doc = "status register"] pub struct STA { register: ::vcell::VolatileCell<u32>, } #[doc = "status register"] pub mod sta; #[doc = "interrupt clear register"] pub struct ICR { register: ::vcell::VolatileCell<u32>, } #[doc = "interrupt clear register"] pub mod icr; #[doc = "mask register"] pub struct MASK { register: ::vcell::VolatileCell<u32>, } #[doc = "mask register"] pub mod mask; #[doc = "FIFO counter register"] pub struct FIFOCNT { register: ::vcell::VolatileCell<u32>, } #[doc = "FIFO counter register"] pub mod fifocnt; #[doc = "data FIFO register"] pub struct FIFO { register: ::vcell::VolatileCell<u32>, } #[doc = "data FIFO register"] pub mod fifo;