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 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { _reserved0: [u8; 8usize], #[doc = "0x08 - AHB Configuration Register"] pub gahbcfg: GAHBCFG, #[doc = "0x0c - USB Configuration Register"] pub gusbcfg: GUSBCFG, #[doc = "0x10 - Reset Register"] pub grstctl: GRSTCTL, #[doc = "0x14 - Interrupt Register"] pub gintsts: GINTSTS, #[doc = "0x18 - Interrupt Mask Register"] pub gintmsk: GINTMSK, #[doc = "0x1c - Receive Status Debug Read Register"] pub grxstsr: GRXSTSR, #[doc = "0x20 - Receive Status Read and Pop Register"] pub grxstsp: GRXSTSP, #[doc = "0x24 - Receive FIFO Size Register"] pub grxfsiz: GRXFSIZ, #[doc = "0x28 - Non-Periodic Transmit FIFO Size Register"] pub gnptxfsiz: GNPTXFSIZ, _reserved1: [u8; 16usize], #[doc = "0x3c - USB Module Identification Register"] pub guid: GUID, _reserved2: [u8; 28usize], #[doc = "0x5c - Global DFIFO Software Config Register"] pub gdfifocfg: GDFIFOCFG, _reserved3: [u8; 164usize], #[doc = "0x104 - Device IN Endpoint 1 Transmit FIFO Size Register"] pub dieptxf1: DIEPTXF1, #[doc = "0x108 - Device IN Endpoint 2 Transmit FIFO Size Register"] pub dieptxf2: DIEPTXF2, #[doc = "0x10c - Device IN Endpoint 3 Transmit FIFO Size Register"] pub dieptxf3: DIEPTXF3, #[doc = "0x110 - Device IN Endpoint 4 Transmit FIFO Size Register"] pub dieptxf4: DIEPTXF4, #[doc = "0x114 - Device IN Endpoint 5 Transmit FIFO Size Register"] pub dieptxf5: DIEPTXF5, #[doc = "0x118 - Device IN Endpoint 6 Transmit FIFO Size Register"] pub dieptxf6: DIEPTXF6, _reserved4: [u8; 1764usize], #[doc = "0x800 - Device Configuration Register"] pub dcfg: DCFG, #[doc = "0x804 - Device Control Register"] pub dctl: DCTL, #[doc = "0x808 - Device Status Register"] pub dsts: DSTS, _reserved5: [u8; 4usize], #[doc = "0x810 - Device IN Endpoint Common Interrupt Mask Register"] pub diepmsk: DIEPMSK, #[doc = "0x814 - Device OUT Endpoint Common Interrupt Mask Register"] pub doepmsk: DOEPMSK, #[doc = "0x818 - Device All Endpoints Interrupt Register"] pub daint: DAINT, #[doc = "0x81c - Device All Endpoints Interrupt Mask Register"] pub daintmsk: DAINTMSK, _reserved6: [u8; 8usize], #[doc = "0x828 - Device VBUS Discharge Time Register"] pub dvbusdis: DVBUSDIS, #[doc = "0x82c - Device VBUS Pulsing Time Register"] pub dvbuspulse: DVBUSPULSE, _reserved7: [u8; 4usize], #[doc = "0x834 - Device IN Endpoint FIFO Empty Interrupt Mask Register"] pub diepempmsk: DIEPEMPMSK, _reserved8: [u8; 1480usize], #[doc = "0xe00 - Power and Clock Gating Control Register"] pub pcgcctl: PCGCCTL, } #[doc = "AHB Configuration Register"] pub struct GAHBCFG { register: ::vcell::VolatileCell<u32>, } #[doc = "AHB Configuration Register"] pub mod gahbcfg; #[doc = "USB Configuration Register"] pub struct GUSBCFG { register: ::vcell::VolatileCell<u32>, } #[doc = "USB Configuration Register"] pub mod gusbcfg; #[doc = "Reset Register"] pub struct GRSTCTL { register: ::vcell::VolatileCell<u32>, } #[doc = "Reset Register"] pub mod grstctl; #[doc = "Interrupt Register"] pub struct GINTSTS { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Register"] pub mod gintsts; #[doc = "Interrupt Mask Register"] pub struct GINTMSK { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Mask Register"] pub mod gintmsk; #[doc = "Receive Status Debug Read Register"] pub struct GRXSTSR { register: ::vcell::VolatileCell<u32>, } #[doc = "Receive Status Debug Read Register"] pub mod grxstsr; #[doc = "Receive Status Read and Pop Register"] pub struct GRXSTSP { register: ::vcell::VolatileCell<u32>, } #[doc = "Receive Status Read and Pop Register"] pub mod grxstsp; #[doc = "Receive FIFO Size Register"] pub struct GRXFSIZ { register: ::vcell::VolatileCell<u32>, } #[doc = "Receive FIFO Size Register"] pub mod grxfsiz; #[doc = "Non-Periodic Transmit FIFO Size Register"] pub struct GNPTXFSIZ { register: ::vcell::VolatileCell<u32>, } #[doc = "Non-Periodic Transmit FIFO Size Register"] pub mod gnptxfsiz; #[doc = "USB Module Identification Register"] pub struct GUID { register: ::vcell::VolatileCell<u32>, } #[doc = "USB Module Identification Register"] pub mod guid; #[doc = "Global DFIFO Software Config Register"] pub struct GDFIFOCFG { register: ::vcell::VolatileCell<u32>, } #[doc = "Global DFIFO Software Config Register"] pub mod gdfifocfg; #[doc = "Device IN Endpoint 1 Transmit FIFO Size Register"] pub struct DIEPTXF1 { register: ::vcell::VolatileCell<u32>, } #[doc = "Device IN Endpoint 1 Transmit FIFO Size Register"] pub mod dieptxf1; #[doc = "Device IN Endpoint 2 Transmit FIFO Size Register"] pub struct DIEPTXF2 { register: ::vcell::VolatileCell<u32>, } #[doc = "Device IN Endpoint 2 Transmit FIFO Size Register"] pub mod dieptxf2; #[doc = "Device IN Endpoint 3 Transmit FIFO Size Register"] pub struct DIEPTXF3 { register: ::vcell::VolatileCell<u32>, } #[doc = "Device IN Endpoint 3 Transmit FIFO Size Register"] pub mod dieptxf3; #[doc = "Device IN Endpoint 4 Transmit FIFO Size Register"] pub struct DIEPTXF4 { register: ::vcell::VolatileCell<u32>, } #[doc = "Device IN Endpoint 4 Transmit FIFO Size Register"] pub mod dieptxf4; #[doc = "Device IN Endpoint 5 Transmit FIFO Size Register"] pub struct DIEPTXF5 { register: ::vcell::VolatileCell<u32>, } #[doc = "Device IN Endpoint 5 Transmit FIFO Size Register"] pub mod dieptxf5; #[doc = "Device IN Endpoint 6 Transmit FIFO Size Register"] pub struct DIEPTXF6 { register: ::vcell::VolatileCell<u32>, } #[doc = "Device IN Endpoint 6 Transmit FIFO Size Register"] pub mod dieptxf6; #[doc = "Device Configuration Register"] pub struct DCFG { register: ::vcell::VolatileCell<u32>, } #[doc = "Device Configuration Register"] pub mod dcfg; #[doc = "Device Control Register"] pub struct DCTL { register: ::vcell::VolatileCell<u32>, } #[doc = "Device Control Register"] pub mod dctl; #[doc = "Device Status Register"] pub struct DSTS { register: ::vcell::VolatileCell<u32>, } #[doc = "Device Status Register"] pub mod dsts; #[doc = "Device IN Endpoint Common Interrupt Mask Register"] pub struct DIEPMSK { register: ::vcell::VolatileCell<u32>, } #[doc = "Device IN Endpoint Common Interrupt Mask Register"] pub mod diepmsk; #[doc = "Device OUT Endpoint Common Interrupt Mask Register"] pub struct DOEPMSK { register: ::vcell::VolatileCell<u32>, } #[doc = "Device OUT Endpoint Common Interrupt Mask Register"] pub mod doepmsk; #[doc = "Device All Endpoints Interrupt Register"] pub struct DAINT { register: ::vcell::VolatileCell<u32>, } #[doc = "Device All Endpoints Interrupt Register"] pub mod daint; #[doc = "Device All Endpoints Interrupt Mask Register"] pub struct DAINTMSK { register: ::vcell::VolatileCell<u32>, } #[doc = "Device All Endpoints Interrupt Mask Register"] pub mod daintmsk; #[doc = "Device VBUS Discharge Time Register"] pub struct DVBUSDIS { register: ::vcell::VolatileCell<u32>, } #[doc = "Device VBUS Discharge Time Register"] pub mod dvbusdis; #[doc = "Device VBUS Pulsing Time Register"] pub struct DVBUSPULSE { register: ::vcell::VolatileCell<u32>, } #[doc = "Device VBUS Pulsing Time Register"] pub mod dvbuspulse; #[doc = "Device IN Endpoint FIFO Empty Interrupt Mask Register"] pub struct DIEPEMPMSK { register: ::vcell::VolatileCell<u32>, } #[doc = "Device IN Endpoint FIFO Empty Interrupt Mask Register"] pub mod diepempmsk; #[doc = "Power and Clock Gating Control Register"] pub struct PCGCCTL { register: ::vcell::VolatileCell<u32>, } #[doc = "Power and Clock Gating Control Register"] pub mod pcgcctl;