|
| 1 | +# Note: if you want to include `OTG_FS_GLOBAL`, `OTG_FS_DEVICE`, `OTG_FS_HOST` and `OTG_FS_PWRCLK`, |
| 2 | +# then try include `../peripherals/otg_fs_f4.yaml` into device yaml file instead. |
| 3 | +# |
| 4 | +# the main frame of this file was generated from stm32f429.svd.patched |
| 5 | + |
| 6 | +DCFG: |
| 7 | + PFIVL: |
| 8 | + Interval80: [0, "80% of the frame interval"] |
| 9 | + Interval85: [1, "85% of the frame interval"] |
| 10 | + Interval90: [2, "90% of the frame interval"] |
| 11 | + Interval95: [3, "95% of the frame interval"] |
| 12 | + DAD: |
| 13 | + SendStallDirectly: |
| 14 | + [ |
| 15 | + 0, |
| 16 | + "Send a STALL handshake on a nonzero-length status OUT transaction and do not send the received OUT packet to the application", |
| 17 | + ] |
| 18 | + SendStallByCondition: |
| 19 | + [ |
| 20 | + 1, |
| 21 | + "Send the received OUT packet to the application (zero-length or nonzero-length) and send a handshake based on the NAK and STALL bits for the endpoint in the Device endpoint control register", |
| 22 | + ] |
| 23 | + NZLSOHSK: |
| 24 | + ByCondition: [0, ""] |
| 25 | + SendStall: [1, ""] |
| 26 | + DSPD: |
| 27 | + FullSpeed: [3, "Full speed (USB 1.1 transceiver clock is 48 MHz)"] |
| 28 | + |
| 29 | +DCTL: |
| 30 | + POPRGDNE: |
| 31 | + NotDone: [0, ""] |
| 32 | + Done: [1, ""] |
| 33 | + CGONAK: |
| 34 | + Clear: [1, ""] |
| 35 | + SGONAK: |
| 36 | + Clear: [1, ""] |
| 37 | + CGINAK: |
| 38 | + Clear: [1, ""] |
| 39 | + SGINAK: |
| 40 | + Clear: [1, ""] |
| 41 | + TCTL: |
| 42 | + Disabled: [0, "Test mode disabled"] |
| 43 | + JMode: [1, "Test_J mode"] |
| 44 | + KMode: [2, "Test_K mode"] |
| 45 | + SE0NAK: [3, "Test_SE0_NAK mode"] |
| 46 | + Packet: [4, "Test_Packet mode"] |
| 47 | + ForceEnable: [5, "Test_Force_Enable"] |
| 48 | + GONSTS: |
| 49 | + ByCondition: [0, "A handshake is sent based on the FIFO Status and the NAK and STALL bit settings"] |
| 50 | + AllNAK: |
| 51 | + [ |
| 52 | + 1, |
| 53 | + "No data is written to the RxFIFO, irrespective of space availability. Sends a NAK handshake on all packets, except on SETUP transactions. All isochronous OUT packets are dropped", |
| 54 | + ] |
| 55 | + GINSTS: |
| 56 | + ByCondition: [0, "A handshake is sent out based on the data availability in the transmit FIFO"] |
| 57 | + AllNAK: |
| 58 | + [ |
| 59 | + 1, |
| 60 | + "A NAK handshake is sent out on all non-periodic IN endpoints, irrespective of the data availability in the transmit FIFO", |
| 61 | + ] |
| 62 | + SDIS: |
| 63 | + Normal: |
| 64 | + [ |
| 65 | + 0, |
| 66 | + "Normal operation. When this bit is cleared after a soft disconnect, the core generates a device connect event to the USB host. When the device is reconnected, the USB host restarts device enumeration", |
| 67 | + ] |
| 68 | + Disconnect: [1, "The core generates a device disconnect event to the USB host"] |
| 69 | + RWUSIG: |
| 70 | + Clear: [0, ""] |
| 71 | + WakeUp: [1, ""] |
| 72 | + |
| 73 | +DSTS: |
| 74 | + FNSOF: [0, 0x3fff] |
| 75 | + EERR: |
| 76 | + Clear: [0, ""] |
| 77 | + Error: [1, ""] |
| 78 | + ENUMSPD: |
| 79 | + FullSpeed: [3, "Full speed (PHY clock is running at 48 MHz)"] |
| 80 | + SUSPSTS: |
| 81 | + Clear: [0, ""] |
| 82 | + Suspended: [1, ""] |
| 83 | + |
| 84 | +DIEPMSK: |
| 85 | + NAKM: |
| 86 | + Masked: [0, "Masked interrupt"] |
| 87 | + Unmasked: [1, "Unmasked interrupt"] |
| 88 | + INEPNEM: |
| 89 | + Masked: [0, "Masked interrupt"] |
| 90 | + Unmasked: [1, "Unmasked interrupt"] |
| 91 | + INEPNMM: |
| 92 | + Masked: [0, "Masked interrupt"] |
| 93 | + Unmasked: [1, "Unmasked interrupt"] |
| 94 | + ITTXFEMSK: |
| 95 | + Masked: [0, "Masked interrupt"] |
| 96 | + Unmasked: [1, "Unmasked interrupt"] |
| 97 | + TOM: |
| 98 | + Masked: [0, "Masked interrupt"] |
| 99 | + Unmasked: [1, "Unmasked interrupt"] |
| 100 | + EPDM: |
| 101 | + Masked: [0, "Masked interrupt"] |
| 102 | + Unmasked: [1, "Unmasked interrupt"] |
| 103 | + XFRCM: |
| 104 | + Masked: [0, "Masked interrupt"] |
| 105 | + Unmasked: [1, "Unmasked interrupt"] |
| 106 | + |
| 107 | +DOEPMSK: |
| 108 | + NAKMSK: |
| 109 | + Masked: [0, "Masked interrupt"] |
| 110 | + Unmasked: [1, "Unmasked interrupt"] |
| 111 | + BERRM: |
| 112 | + Masked: [0, "Masked interrupt"] |
| 113 | + Unmasked: [1, "Unmasked interrupt"] |
| 114 | + OUTPKTERRM: |
| 115 | + Masked: [0, "Masked interrupt"] |
| 116 | + Unmasked: [1, "Unmasked interrupt"] |
| 117 | + STSPHSRXM: |
| 118 | + Masked: [0, "Masked interrupt"] |
| 119 | + Unmasked: [1, "Unmasked interrupt"] |
| 120 | + OTEPDM: |
| 121 | + Masked: [0, "Masked interrupt"] |
| 122 | + Unmasked: [1, "Unmasked interrupt"] |
| 123 | + STUPM: |
| 124 | + Masked: [0, "Masked interrupt"] |
| 125 | + Unmasked: [1, "Unmasked interrupt"] |
| 126 | + EPDM: |
| 127 | + Masked: [0, "Masked interrupt"] |
| 128 | + Unmasked: [1, "Unmasked interrupt"] |
| 129 | + XFRCM: |
| 130 | + Masked: [0, "Masked interrupt"] |
| 131 | + Unmasked: [1, "Unmasked interrupt"] |
| 132 | + |
| 133 | +DAINT: |
| 134 | + OEPINT: [0, 0xF] |
| 135 | + IEPINT: [0, 0xF] |
| 136 | + |
| 137 | +DAINTMSK: |
| 138 | + OEPM: [0, 0xF] |
| 139 | + IEPM: [0, 0xF] |
| 140 | + |
| 141 | +DVBUSDIS: |
| 142 | + VBUSDT: [0, 0xFFFF] |
| 143 | + |
| 144 | +DVBUSPULSE: |
| 145 | + DVBUSP: [0, 0xFFF] |
| 146 | + |
| 147 | +DIEPEMPMSK: |
| 148 | + INEPTXFEM: [0, 0xF] |
| 149 | + |
| 150 | +DIEPCTL0: |
| 151 | + EPENA: |
| 152 | + Disabled: [0, ""] |
| 153 | + Enabled: [1, "Start transmitting data on the endpoint 0"] |
| 154 | + EPDIS: |
| 155 | + Clear: [0, ""] |
| 156 | + Stop: [1, "Stop transmitting data on an endpoint"] |
| 157 | + SNAK: |
| 158 | + Clear: [0, ""] |
| 159 | + Set: [1, ""] |
| 160 | + CNAK: |
| 161 | + Set: [1, "A write to this bit clears the NAK bit for the endpoint"] |
| 162 | + TXFNUM: [0, 0xF] |
| 163 | + STALL: |
| 164 | + Clear: [0, "the core clears it when a SETUP token is received for this endpoint"] |
| 165 | + Set: [1, ""] |
| 166 | + EPTYP: [0, 0] |
| 167 | + NAKSTS: |
| 168 | + ByCondition: [0, "The core is transmitting non-NAK handshakes based on the FIFO status"] |
| 169 | + AllNAK: [1, "The core is transmitting NAK handshakes on this endpoint"] |
| 170 | + USBAEP: [1, 1] |
| 171 | + MPSIZ: |
| 172 | + Byte64: [0, "64 bytes"] |
| 173 | + Byte32: [1, "32 bytes"] |
| 174 | + Byte16: [2, "16 bytes"] |
| 175 | + Byte8: [3, "8 bytes"] |
| 176 | + |
| 177 | +DIEPCTL[1-3]: |
| 178 | + EPENA: |
| 179 | + Disabled: [0, ""] |
| 180 | + Enabled: [1, "Start transmitting data on the endpoint 0"] |
| 181 | + EPDIS: |
| 182 | + Clear: [0, ""] |
| 183 | + Stop: [1, "Stop transmitting data on an endpoint"] |
| 184 | + SODDFRM: |
| 185 | + OddFrame: [1, "Sets the Even/Odd frame (EONUM) field to Odd frame"] |
| 186 | + SD0PID: |
| 187 | + Set: [1, "sets the endpoint data PID (DPID) field in this register to DATA0"] |
| 188 | + SEVNFRM: |
| 189 | + EvenFrame: [1, "Sets the Even/Odd frame (EONUM) field to even frame"] |
| 190 | + SNAK: |
| 191 | + Set: [1, "sets the NAK bit for the endpoint"] |
| 192 | + CNAK: |
| 193 | + Set: [1, "A write to this bit clears the NAK bit for the endpoint"] |
| 194 | + TXFNUM: [0, 0xF] |
| 195 | + STALL: |
| 196 | + Clear: [0, ""] |
| 197 | + Stall: [1, "Stall all tokens from the USB host to this endpoint"] |
| 198 | + EPTYP: |
| 199 | + Control: [0, ""] |
| 200 | + Isochronous: [1, ""] |
| 201 | + Bulk: [2, ""] |
| 202 | + Interrupt: [3, ""] |
| 203 | + NAKSTS: |
| 204 | + ByCondition: [0, "The core is transmitting non-NAK handshakes based on the FIFO status"] |
| 205 | + AllNAK: [1, "The core is transmitting NAK handshakes on this endpoint"] |
| 206 | + EONUM: |
| 207 | + Even: [0, "Even frame"] |
| 208 | + Odd: [1, "Odd frame"] |
| 209 | + DPID: |
| 210 | + Data0: [0, "DATA0"] |
| 211 | + Data1: [1, "DATA1"] |
| 212 | + USBAEP: |
| 213 | + Inactive: [0, "Endpoint is inactive"] |
| 214 | + Active: [1, "Endpoint is active"] |
| 215 | + MPSIZ: [0, 3] |
| 216 | + |
| 217 | +DOEPCTL0: |
| 218 | + EPENA: |
| 219 | + Disabled: [0, ""] |
| 220 | + Enabled: [1, "Start transmitting data on the endpoint 0"] |
| 221 | + EPDIS: [0, 0] |
| 222 | + SNAK: |
| 223 | + Clear: [0, ""] |
| 224 | + Set: [1, ""] |
| 225 | + CNAK: |
| 226 | + Set: [1, "A write to this bit clears the NAK bit for the endpoint"] |
| 227 | + STALL: |
| 228 | + Clear: [0, ""] |
| 229 | + Set: [1, ""] |
| 230 | + SNPM: |
| 231 | + Clear: [0, ""] |
| 232 | + Set: [1, ""] |
| 233 | + EPTYP: [1, 1] |
| 234 | + NAKSTS: |
| 235 | + ByCondition: [0, "The core is transmitting non-NAK handshakes based on the FIFO status"] |
| 236 | + AllNAK: [1, "The core is transmitting NAK handshakes on this endpoint"] |
| 237 | + USBAEP: [1, 1] |
| 238 | + MPSIZ: |
| 239 | + Byte64: [0, "64 bytes"] |
| 240 | + Byte32: [1, "32 bytes"] |
| 241 | + Byte16: [2, "16 bytes"] |
| 242 | + Byte8: [3, "8 bytes"] |
| 243 | + |
| 244 | +DOEPCTL[1-3]: |
| 245 | + EPENA: |
| 246 | + Disabled: [0, ""] |
| 247 | + Enabled: [1, "Start transmitting data on an endpoint"] |
| 248 | + EPDIS: |
| 249 | + Clear: [0, ""] |
| 250 | + Stop: [1, "Stop transmitting data on an endpoint"] |
| 251 | + SD1PID: |
| 252 | + Set: [1, "sets the endpoint data PID (DPID) field in this register to DATA1"] |
| 253 | + SODDFRM: |
| 254 | + OddFrame: [1, "Sets the Even/Odd frame (EONUM) field to Odd frame"] |
| 255 | + SD0PID: |
| 256 | + Set: [1, "sets the endpoint data PID (DPID) field in this register to DATA0"] |
| 257 | + SEVNFRM: |
| 258 | + EvenFrame: [1, "Sets the Even/Odd frame (EONUM) field to even frame"] |
| 259 | + SNAK: |
| 260 | + Set: [1, "sets the NAK bit for the endpoint"] |
| 261 | + CNAK: |
| 262 | + Set: [1, "A write to this bit clears the NAK bit for the endpoint"] |
| 263 | + STALL: |
| 264 | + Clear: [0, ""] |
| 265 | + Stall: [1, "Stall all tokens from the USB host to this endpoint"] |
| 266 | + SNPM: |
| 267 | + Clear: [0, ""] |
| 268 | + Set: [1, ""] |
| 269 | + EPTYP: |
| 270 | + Control: [0, ""] |
| 271 | + Isochronous: [1, ""] |
| 272 | + Bulk: [2, ""] |
| 273 | + Interrupt: [3, ""] |
| 274 | + NAKSTS: |
| 275 | + ByCondition: [0, "The core is transmitting non-NAK handshakes based on the FIFO status"] |
| 276 | + AllNAK: [1, "The core is transmitting NAK handshakes on this endpoint"] |
| 277 | + EONUM: |
| 278 | + Even: [0, "Even frame"] |
| 279 | + Odd: [1, "Odd frame"] |
| 280 | + DPID: |
| 281 | + Data0: [0, "DATA0"] |
| 282 | + Data1: [1, "DATA1"] |
| 283 | + USBAEP: |
| 284 | + Inactive: [0, "Endpoint is inactive"] |
| 285 | + Active: [1, "Endpoint is active"] |
| 286 | + MPSIZ: [0, 0x7FF] |
| 287 | + |
| 288 | +DIEPINT[0-3]: |
| 289 | + NAK: |
| 290 | + NotNAK: [0, ""] |
| 291 | + NAK: [1, ""] |
| 292 | + PKTDRPSTS: |
| 293 | + NotDropped: [0, ""] |
| 294 | + Dropped: [1, ""] |
| 295 | + TXFE: |
| 296 | + NotEmpty: [0, ""] |
| 297 | + Empty: [1, ""] |
| 298 | + INEPNE: [0, 1] |
| 299 | + INEPNM: [0, 1] |
| 300 | + ITTXFE: [0, 1] |
| 301 | + TOC: |
| 302 | + NotTimeout: [0, ""] |
| 303 | + Timeout: [1, ""] |
| 304 | + EPDISD: |
| 305 | + NotDisabled: [0, ""] |
| 306 | + Disabled: [1, ""] |
| 307 | + XFRC: |
| 308 | + NotCompleted: [0, ""] |
| 309 | + Completed: [1, ""] |
| 310 | + |
| 311 | +DOEPINT[0-3]: |
| 312 | + NAK: |
| 313 | + NotNAK: [0, ""] |
| 314 | + NAK: [1, ""] |
| 315 | + BERR: |
| 316 | + NotBabbled: [0, ""] |
| 317 | + Babbled: [1, ""] |
| 318 | + OUTPKTERR: |
| 319 | + NoError: [0, ""] |
| 320 | + Error: [1, ""] |
| 321 | + STSPHSRX: |
| 322 | + NotReceived: [0, ""] |
| 323 | + Received: [1, ""] |
| 324 | + OTEPDIS: |
| 325 | + NotReceived: [0, ""] |
| 326 | + Received: [1, ""] |
| 327 | + STUP: |
| 328 | + NotCompleted: [0, ""] |
| 329 | + Completed: [1, ""] |
| 330 | + EPDISD: |
| 331 | + NotDisabled: [0, ""] |
| 332 | + Disabled: [1, ""] |
| 333 | + XFRC: |
| 334 | + NotCompleted: [0, ""] |
| 335 | + Completed: [1, ""] |
| 336 | + |
| 337 | +DIEPTSIZ0: |
| 338 | + PKTCNT: [0, 3] |
| 339 | + XFRSIZ: [0, 0x7F] |
| 340 | + |
| 341 | +DOEPTSIZ0: |
| 342 | + STUPCNT: |
| 343 | + Packet1: [1, "1 packet"] |
| 344 | + Packet2: [2, "2 packets"] |
| 345 | + Packet3: [3, "3 packets"] |
| 346 | + PKTCNT: [0, 1] |
| 347 | + XFRSIZ: [0, 0x7F] |
| 348 | + |
| 349 | +DIEPTSIZ[1-3]: |
| 350 | + PKTCNT: [0, 0x3FF] |
| 351 | + XFRSIZ: [0, 0x1FFF_FFFF] |
| 352 | + |
| 353 | +DTXFSTS[0-3]: |
| 354 | + INEPTFSAV: [0, 0xFFFF] |
| 355 | + |
| 356 | +DOEPTSIZ[1-3]: |
| 357 | + RXDPID: |
| 358 | + Data0: [0, ""] |
| 359 | + Data1: [2, ""] |
| 360 | + Data2: [1, ""] |
| 361 | + MData: [3, ""] |
| 362 | + STUPCNT: |
| 363 | + Packet1: [1, "1 packet"] |
| 364 | + Packet2: [2, "2 packets"] |
| 365 | + Packet3: [3, "3 packets"] |
| 366 | + PKTCNT: [0, 0x3FF] |
| 367 | + XFRSIZ: [0, 0x7_FFFF] |
0 commit comments