1 /*********************************************************************************************************//** 2 * @file IP/Example/ht32f5xxxx_02_usbdconf.h 3 * @version $Rev:: 5656 $ 4 * @date $Date:: 2021-11-24 #$ 5 * @brief The configuration file of USB Device Driver. 6 ************************************************************************************************************* 7 * @attention 8 * 9 * Firmware Disclaimer Information 10 * 11 * 1. The customer hereby acknowledges and agrees that the program technical documentation, including the 12 * code, which is supplied by Holtek Semiconductor Inc., (hereinafter referred to as "HOLTEK") is the 13 * proprietary and confidential intellectual property of HOLTEK, and is protected by copyright law and 14 * other intellectual property laws. 15 * 16 * 2. The customer hereby acknowledges and agrees that the program technical documentation, including the 17 * code, is confidential information belonging to HOLTEK, and must not be disclosed to any third parties 18 * other than HOLTEK and the customer. 19 * 20 * 3. The program technical documentation, including the code, is provided "as is" and for customer reference 21 * only. After delivery by HOLTEK, the customer shall use the program technical documentation, including 22 * the code, at their own risk. HOLTEK disclaims any expressed, implied or statutory warranties, including 23 * the warranties of merchantability, satisfactory quality and fitness for a particular purpose. 24 * 25 * <h2><center>Copyright (C) Holtek Semiconductor Inc. All rights reserved</center></h2> 26 ************************************************************************************************************/ 27 // <<< Use Configuration Wizard in Context Menu >>> 28 29 /* Define to prevent recursive inclusion -------------------------------------------------------------------*/ 30 #ifndef __HT32F5XXXX_02_USBDCONF_H 31 #define __HT32F5XXXX_02_USBDCONF_H 32 33 // <e0> Enter Low Power mode when Suspended 34 #define USBDCORE_ENABLE_LOW_POWER (0) 35 // </e> 36 37 #if (USBDCORE_ENABLE_LOW_POWER == 1) 38 #define USBDCore_LowPower() PWRCU_DeepSleep1(PWRCU_SLEEP_ENTRY_WFE) 39 #else 40 #define USBDCore_LowPower(...) 41 #endif 42 43 /*----------------------------------------------------------------------------------------------------------*/ 44 /* USB Interrupt Enable */ 45 /*----------------------------------------------------------------------------------------------------------*/ 46 // <h> USB Interrupt Setting (UIER) 47 // <o0.0> USB Global Interrupt Enable (UGIE) (Default) 48 // <o0.1> Start Of Frame Interrupt Enable (SOFIE) 49 // <o0.2> USB Reset Interrupt Enable (URSTIE) (Default) 50 // <o0.3> Resume Interrupt Enable (RSMIE) (Default) 51 // <o0.4> Suspend Interrupt Enable (SUSPIE) (Default) 52 // <o0.5> Expected Start of Frame Interrupt Enable (ESOFE) 53 // <o0.8> Control Endpoint Interrupt Enable (EP0IE) (Default) 54 // <o0.9> Endpoint1 Interrupt Enable (EP1IE) 55 // <o0.10> Endpoint2 Interrupt Enable (EP2IE) 56 // <o0.11> Endpoint3 Interrupt Enable (EP3IE) 57 // <o0.12> Endpoint4 Interrupt Enable (EP4IE) 58 // <o0.13> Endpoint5 Interrupt Enable (EP5IE) 59 // <o0.14> Endpoint6 Interrupt Enable (EP6IE) 60 // <o0.15> Endpoint7 Interrupt Enable (EP7IE) 61 // <o0.16> Endpoint8 Interrupt Enable (EP8IE) 62 // <o0.17> Endpoint9 Interrupt Enable (EP9IE) 63 #define _UIER (0x011D) 64 // </h> 65 66 67 /*----------------------------------------------------------------------------------------------------------*/ 68 /* Endpoint0 Configuration Setting */ 69 /*----------------------------------------------------------------------------------------------------------*/ 70 // <h> Control Endpoint0 Configuration 71 // <o0> Endpoint Buffer Length (EPLEN) 72 // <8=> 8 bytes 73 // <16=> 16 bytes 74 // <32=> 32 bytes 75 // <64=> 64 bytes 76 /* Maximum: 64 Bytes */ 77 #define _EP0LEN (64) 78 79 80 // <h> Control Endpoint0 Interrupt Enable Settings (EP0IER) 81 // <o0.0> OUT Token Packet Received Interrupt Enable (OTRXIE) 82 // <o0.1> OUT Data Packet Received Interrupt Enable (ODRXIE) (Default) 83 // <o0.2> OUT Data Buffer Overrun Interrupt Enable (ODOVIE) 84 // <o0.3> IN Token Packet Received Interrupt Enable (ITRXIE) 85 // <o0.4> IN Data Packet Transmitted Interrupt Enable (IDTXIE) (Default) 86 // <o0.5> NAK Transmitted Interrupt Enable (NAKIE) 87 // <o0.6> STALL Transmitted Interrupt Enable (STLIE) 88 // <o0.7> USB Error Interrupt Enable (UERIE) 89 // <o0.8> SETUP Token Packet Received Interrupt Enable (STRXIE) 90 // <o0.9> SETUP Data Packet Received Interrupt Enable (SDRXIE) (Default) 91 // <o0.10> SETUP Data Error Interrupt Enable (SDERIE) 92 // <o0.11> Zero Length Data Packet Received Interrupt Enable (ZLRXIE) 93 #define _EP0_IER (0x212) 94 // </h> 95 // </h> 96 97 /*----------------------------------------------------------------------------------------------------------*/ 98 /* Endpoint1 Configuration Setting */ 99 /*----------------------------------------------------------------------------------------------------------*/ 100 // <e0> Endpoint1 Configuration 101 #define _EP1_ENABLE (0) 102 103 // <o0> Endpoint Address (EPADR) 104 // <1=> 1 105 // <2=> 2 106 // <3=> 3 107 // <4=> 4 108 // <5=> 5 109 // <6=> 6 110 // <7=> 7 111 // <8=> 8 112 // <9=> 9 113 #define _EP1_CFG_EPADR (1) 114 115 // <o0.0> Endpoint Enable (EPEN) 116 #define _EP1_CFG_EPEN_TMP (1) 117 118 // <o0> Endpoint Transfer Type 119 // <2=> Bulk 120 // <3=> Interrupt 121 #define _EP1_TYPR (3) 122 123 // <o0> Endpoint Direction (EPDIR) 124 // <1=> IN 125 // <0=> OUT 126 #define _EP1_CFG_EPDIR (1) 127 128 // <o0> Endpoint Buffer Length (EPLEN) (in byte) <4-64:4> 129 /* Maximum: 64 Bytes */ 130 #define _EP1LEN_TMP (8) 131 132 // <h> Endpoint Interrupt Enable Settings (EPIER) 133 // <o0> Endpoint Interrupt Enable Settings (EPIER) <0x0-0xFF:1> 134 // <o0.0> OUT Token Packet Received Interrupt Enable (OTRXIE) 135 // <o0.1> OUT Data Packet Received Interrupt Enable (ODRXIE) 136 // <o0.2> OUT Data Buffer Overrun Interrupt Enable (ODOVIE) 137 // <o0.3> IN Token Packet Received Interrupt Enable (ITRXIE) 138 // <o0.4> IN Data Packet Transmitted Interrupt Enable (IDTXIE) 139 // <o0.5> NAK Transmitted Interrupt Enable (NAKIE) 140 // <o0.6> STALL Transmitted Interrupt Enable (STLIE) 141 // <o0.7> USB Error Interrupt Enable (UERIE) 142 #define _EP1_IER (0x10) 143 // </h> 144 // </e> 145 146 147 /*----------------------------------------------------------------------------------------------------------*/ 148 /* Endpoint2 Configuration Setting */ 149 /*----------------------------------------------------------------------------------------------------------*/ 150 // <e0> Endpoint2 Configuration 151 #define _EP2_ENABLE (0) 152 153 // <o0> Endpoint Address (EPADR) 154 // <1=> 1 155 // <2=> 2 156 // <3=> 3 157 // <4=> 4 158 // <5=> 5 159 // <6=> 6 160 // <7=> 7 161 // <8=> 8 162 // <9=> 9 163 #define _EP2_CFG_EPADR (2) 164 165 // <o0.0> Endpoint Enable (EPEN) 166 #define _EP2_CFG_EPEN_TMP (1) 167 168 // <o0> Endpoint Transfer Type 169 // <2=> Bulk 170 // <3=> Interrupt 171 #define _EP2_TYPR (3) 172 173 // <o0> Endpoint Direction (EPDIR) 174 // <1=> IN 175 // <0=> OUT 176 #define _EP2_CFG_EPDIR (0) 177 178 // <o0> Endpoint Buffer Length (EPLEN) (in byte) <4-64:4> 179 /* Maximum: 64 Bytes */ 180 #define _EP2LEN_TMP (8) 181 182 // <h> Endpoint Interrupt Enable Settings (EPIER) 183 // <o0> Endpoint Interrupt Enable Settings (EPIER) <0x0-0xFF:1> 184 // <o0.0> OUT Token Packet Received Interrupt Enable (OTRXIE) 185 // <o0.1> OUT Data Packet Received Interrupt Enable (ODRXIE) 186 // <o0.2> OUT Data Buffer Overrun Interrupt Enable (ODOVIE) 187 // <o0.3> IN Token Packet Received Interrupt Enable (ITRXIE) 188 // <o0.4> IN Data Packet Transmitted Interrupt Enable (IDTXIE) 189 // <o0.5> NAK Transmitted Interrupt Enable (NAKIE) 190 // <o0.6> STALL Transmitted Interrupt Enable (STLIE) 191 // <o0.7> USB Error Interrupt Enable (UERIE) 192 #define _EP2_IER (0x002) 193 // </h> 194 // </e> 195 196 /*----------------------------------------------------------------------------------------------------------*/ 197 /* Endpoint3 Configuration Setting */ 198 /*----------------------------------------------------------------------------------------------------------*/ 199 // <e0> Endpoint3 Configuration 200 #define _EP3_ENABLE (0) 201 202 // <o0> Endpoint Address (EPADR) 203 // <1=> 1 204 // <2=> 2 205 // <3=> 3 206 // <4=> 4 207 // <5=> 5 208 // <6=> 6 209 // <7=> 7 210 // <8=> 8 211 // <9=> 9 212 #define _EP3_CFG_EPADR (3) 213 214 // <o0.0> Endpoint Enable (EPEN) 215 #define _EP3_CFG_EPEN_TMP (1) 216 217 // <o0> Endpoint Transfer Type 218 // <2=> Bulk 219 // <3=> Interrupt 220 #define _EP3_TYPR (3) 221 222 // <o0> Endpoint Direction (EPDIR) 223 // <1=> IN 224 // <0=> OUT 225 #define _EP3_CFG_EPDIR (1) 226 227 // <o0> Endpoint Buffer Length (EPLEN) (in byte) <4-64:4> 228 /* Maximum: 64 Bytes */ 229 #define _EP3LEN_TMP (8) 230 231 // <h> Endpoint Interrupt Enable Settings (EPIER) 232 // <o0> Endpoint Interrupt Enable Settings (EPIER) <0x0-0xFF:1> 233 // <o0.0> OUT Token Packet Received Interrupt Enable (OTRXIE) 234 // <o0.1> OUT Data Packet Received Interrupt Enable (ODRXIE) 235 // <o0.2> OUT Data Buffer Overrun Interrupt Enable (ODOVIE) 236 // <o0.3> IN Token Packet Received Interrupt Enable (ITRXIE) 237 // <o0.4> IN Data Packet Transmitted Interrupt Enable (IDTXIE) 238 // <o0.5> NAK Transmitted Interrupt Enable (NAKIE) 239 // <o0.6> STALL Transmitted Interrupt Enable (STLIE) 240 // <o0.7> USB Error Interrupt Enable (UERIE) 241 #define _EP3_IER (0x10) 242 // </h> 243 // </e> 244 245 /*----------------------------------------------------------------------------------------------------------*/ 246 /* Endpoint4 Configuration Setting */ 247 /*----------------------------------------------------------------------------------------------------------*/ 248 // <e0> Endpoint4 Configuration 249 #define _EP4_ENABLE (0) 250 251 // <o0> Endpoint Address (EPADR) 252 // <1=> 1 253 // <2=> 2 254 // <3=> 3 255 // <4=> 4 256 // <5=> 5 257 // <6=> 6 258 // <7=> 7 259 // <8=> 8 260 // <9=> 9 261 #define _EP4_CFG_EPADR (4) 262 263 // <o0.0> Endpoint Enable (EPEN) 264 #define _EP4_CFG_EPEN_TMP (1) 265 266 // <o0> Endpoint Transfer Type 267 // <1=> Isochronous 268 // <2=> Bulk 269 // <3=> Interrupt 270 #define _EP4_TYPR (3) 271 272 // <o0> Endpoint Direction (EPDIR) 273 // <1=> IN 274 // <0=> OUT 275 #define _EP4_CFG_EPDIR (0) 276 277 // <o0> Endpoint Buffer Length (EPLEN) (in byte) <4-1000:4> 278 /* Maximum: 1000 Bytes */ 279 #define _EP4LEN_TMP (8) 280 281 // <o0> Single/Double Buffer Selection (SDBS) 282 // <0=> Single Buffer 283 // <1=> Double Buffer 284 #define _EP4_CFG_SDBS (0) 285 286 // <h> Endpoint Interrupt Enable Settings (EPIER) 287 // <o0> Endpoint Interrupt Enable Settings (EPIER) <0x0-0xFF:1> 288 // <o0.0> OUT Token Packet Received Interrupt Enable (OTRXIE) 289 // <o0.1> OUT Data Packet Received Interrupt Enable (ODRXIE) 290 // <o0.2> OUT Data Buffer Overrun Interrupt Enable (ODOVIE) 291 // <o0.3> IN Token Packet Received Interrupt Enable (ITRXIE) 292 // <o0.4> IN Data Packet Transmitted Interrupt Enable (IDTXIE) 293 // <o0.5> NAK Transmitted Interrupt Enable (NAKIE) 294 // <o0.6> STALL Transmitted Interrupt Enable (STLIE) 295 // <o0.7> USB Error Interrupt Enable (UERIE) 296 #define _EP4_IER (0x02) 297 // </h> 298 // </e> 299 300 301 /*----------------------------------------------------------------------------------------------------------*/ 302 /* Endpoint5 Configuration Setting */ 303 /*----------------------------------------------------------------------------------------------------------*/ 304 // <e0> Endpoint5 Configuration 305 #define _EP5_ENABLE (0) 306 307 // <o0> Endpoint Address (EPADR) 308 // <1=> 1 309 // <2=> 2 310 // <3=> 3 311 // <4=> 4 312 // <5=> 5 313 // <6=> 6 314 // <7=> 7 315 // <8=> 8 316 // <9=> 9 317 #define _EP5_CFG_EPADR (5) 318 319 // <o0.0> Endpoint Enable (EPEN) 320 #define _EP5_CFG_EPEN_TMP (1) 321 322 // <o0> Endpoint Transfer Type 323 // <1=> Isochronous 324 // <2=> Bulk 325 // <3=> Interrupt 326 #define _EP5_TYPR (3) 327 328 // <o0> Endpoint Direction (EPDIR) 329 // <1=> IN 330 // <0=> OUT 331 #define _EP5_CFG_EPDIR (1) 332 333 // <o0> Endpoint Buffer Length (EPLEN) (in byte) <4-1000:4> 334 /* Maximum: 1000 Bytes */ 335 #define _EP5LEN_TMP (8) 336 337 338 // <o0> Single/Double Buffer Selection (SDBS) 339 // <0=> Single Buffer 340 // <1=> Double Buffer 341 #define _EP5_CFG_SDBS (0) 342 343 // <h> Endpoint Interrupt Enable Settings (EPIER) 344 // <o0> Endpoint Interrupt Enable Settings (EPIER) <0x0-0xFF:1> 345 // <o0.0> OUT Token Packet Received Interrupt Enable (OTRXIE) 346 // <o0.1> OUT Data Packet Received Interrupt Enable (ODRXIE) 347 // <o0.2> OUT Data Buffer Overrun Interrupt Enable (ODOVIE) 348 // <o0.3> IN Token Packet Received Interrupt Enable (ITRXIE) 349 // <o0.4> IN Data Packet Transmitted Interrupt Enable (IDTXIE) 350 // <o0.5> NAK Transmitted Interrupt Enable (NAKIE) 351 // <o0.6> STALL Transmitted Interrupt Enable (STLIE) 352 // <o0.7> USB Error Interrupt Enable (UERIE) 353 #define _EP5_IER (0x10) 354 // </h> 355 // </e> 356 357 358 /*----------------------------------------------------------------------------------------------------------*/ 359 /* Endpoint6 Configuration Setting */ 360 /*----------------------------------------------------------------------------------------------------------*/ 361 // <e0> Endpoint6 Configuration 362 #define _EP6_ENABLE (0) 363 364 // <o0> Endpoint Address (EPADR) 365 // <1=> 1 366 // <2=> 2 367 // <3=> 3 368 // <4=> 4 369 // <5=> 5 370 // <6=> 6 371 // <7=> 7 372 // <8=> 8 373 // <9=> 9 374 #define _EP6_CFG_EPADR (6) 375 376 // <o0.0> Endpoint Enable (EPEN) 377 #define _EP6_CFG_EPEN_TMP (1) 378 379 // <o0> Endpoint Transfer Type 380 // <1=> Isochronous 381 // <2=> Bulk 382 // <3=> Interrupt 383 #define _EP6_TYPR (3) 384 385 // <o0> Endpoint Direction (EPDIR) 386 // <1=> IN 387 // <0=> OUT 388 #define _EP6_CFG_EPDIR (0) 389 390 // <o0> Endpoint Buffer Length (EPLEN) (in byte) <4-1000:4> 391 /* Maximum: 1000 Bytes */ 392 #define _EP6LEN_TMP (8) 393 394 // <o0> Single/Double Buffer Selection (SDBS) 395 // <0=> Single Buffer 396 // <1=> Double Buffer 397 #define _EP6_CFG_SDBS (0) 398 399 // <h> Endpoint Interrupt Enable Settings (EPIER) 400 // <o0> Endpoint Interrupt Enable Settings (EPIER) <0x0-0xFF:1> 401 // <o0.0> OUT Token Packet Received Interrupt Enable (OTRXIE) 402 // <o0.1> OUT Data Packet Received Interrupt Enable (ODRXIE) 403 // <o0.2> OUT Data Buffer Overrun Interrupt Enable (ODOVIE) 404 // <o0.3> IN Token Packet Received Interrupt Enable (ITRXIE) 405 // <o0.4> IN Data Packet Transmitted Interrupt Enable (IDTXIE) 406 // <o0.5> NAK Transmitted Interrupt Enable (NAKIE) 407 // <o0.6> STALL Transmitted Interrupt Enable (STLIE) 408 // <o0.7> USB Error Interrupt Enable (UERIE) 409 #define _EP6_IER (0x02) 410 // </h> 411 // </e> 412 413 414 /*----------------------------------------------------------------------------------------------------------*/ 415 /* Endpoint7 Configuration Setting */ 416 /*----------------------------------------------------------------------------------------------------------*/ 417 // <e0> Endpoint7 Configuration 418 #define _EP7_ENABLE (0) 419 420 // <o0> Endpoint Address (EPADR) 421 // <1=> 1 422 // <2=> 2 423 // <3=> 3 424 // <4=> 4 425 // <5=> 5 426 // <6=> 6 427 // <7=> 7 428 // <8=> 8 429 // <9=> 9 430 #define _EP7_CFG_EPADR (7) 431 432 // <o0.0> Endpoint Enable (EPEN) 433 #define _EP7_CFG_EPEN_TMP (1) 434 435 // <o0> Endpoint Transfer Type 436 // <1=> Isochronous 437 // <2=> Bulk 438 // <3=> Interrupt 439 #define _EP7_TYPR (3) 440 441 // <o0> Endpoint Direction (EPDIR) 442 // <1=> IN 443 // <0=> OUT 444 #define _EP7_CFG_EPDIR (1) 445 446 // <o0> Endpoint Buffer Length (EPLEN) (in byte) <4-1000:4> 447 /* Maximum: 1000 Bytes */ 448 #define _EP7LEN_TMP (8) 449 450 // <o0> Single/Double Buffer Selection (SDBS) 451 // <0=> Single Buffer 452 // <1=> Double Buffer 453 #define _EP7_CFG_SDBS (0) 454 455 // <h> Endpoint Interrupt Enable Settings (EPIER) 456 // <o0> Endpoint Interrupt Enable Settings (EPIER) <0x0-0xFF:1> 457 // <o0.0> OUT Token Packet Received Interrupt Enable (OTRXIE) 458 // <o0.1> OUT Data Packet Received Interrupt Enable (ODRXIE) 459 // <o0.2> OUT Data Buffer Overrun Interrupt Enable (ODOVIE) 460 // <o0.3> IN Token Packet Received Interrupt Enable (ITRXIE) 461 // <o0.4> IN Data Packet Transmitted Interrupt Enable (IDTXIE) 462 // <o0.5> NAK Transmitted Interrupt Enable (NAKIE) 463 // <o0.6> STALL Transmitted Interrupt Enable (STLIE) 464 // <o0.7> USB Error Interrupt Enable (UERIE) 465 #define _EP7_IER (0x10) 466 // </h> 467 // </e> 468 469 470 /*----------------------------------------------------------------------------------------------------------*/ 471 /* Endpoint8 Configuration Setting */ 472 /*----------------------------------------------------------------------------------------------------------*/ 473 // <e0> Endpoint8 Configuration 474 #define _EP8_ENABLE (0) 475 476 // <o0> Endpoint Address (EPADR) 477 // <1=> 1 478 // <2=> 2 479 // <3=> 3 480 // <4=> 4 481 // <5=> 5 482 // <6=> 6 483 // <7=> 7 484 // <8=> 8 485 // <9=> 9 486 #define _EP8_CFG_EPADR (8) 487 488 // <o0.0> Endpoint Enable (EPEN) 489 #define _EP8_CFG_EPEN_TMP (1) 490 491 // <o0> Endpoint Transfer Type 492 // <2=> Bulk 493 // <3=> Interrupt 494 #define _EP8_TYPR (3) 495 496 // <o0> Endpoint Direction (EPDIR) 497 // <1=> IN 498 // <0=> OUT 499 #define _EP8_CFG_EPDIR (1) 500 501 // <o0> Endpoint Buffer Length (EPLEN) (in byte) <4-64:4> 502 /* Maximum: 64 Bytes */ 503 #define _EP8LEN_TMP (8) 504 505 // <h> Endpoint Interrupt Enable Settings (EPIER) 506 // <o0> Endpoint Interrupt Enable Settings (EPIER) <0x0-0xFF:1> 507 // <o0.0> OUT Token Packet Received Interrupt Enable (OTRXIE) 508 // <o0.1> OUT Data Packet Received Interrupt Enable (ODRXIE) 509 // <o0.2> OUT Data Buffer Overrun Interrupt Enable (ODOVIE) 510 // <o0.3> IN Token Packet Received Interrupt Enable (ITRXIE) 511 // <o0.4> IN Data Packet Transmitted Interrupt Enable (IDTXIE) 512 // <o0.5> NAK Transmitted Interrupt Enable (NAKIE) 513 // <o0.6> STALL Transmitted Interrupt Enable (STLIE) 514 // <o0.7> USB Error Interrupt Enable (UERIE) 515 #define _EP8_IER (0x10) 516 // </h> 517 // </e> 518 519 520 /*----------------------------------------------------------------------------------------------------------*/ 521 /* Endpoint9 Configuration Setting */ 522 /*----------------------------------------------------------------------------------------------------------*/ 523 // <e0> Endpoint9 Configuration 524 #define _EP9_ENABLE (0) 525 526 // <o0> Endpoint Address (EPADR) 527 // <1=> 1 528 // <2=> 2 529 // <3=> 3 530 // <4=> 4 531 // <5=> 5 532 // <6=> 6 533 // <7=> 7 534 // <8=> 8 535 // <9=> 9 536 #define _EP9_CFG_EPADR (9) 537 538 // <o0.0> Endpoint Enable (EPEN) 539 #define _EP9_CFG_EPEN_TMP (1) 540 541 // <o0> Endpoint Transfer Type 542 // <2=> Bulk 543 // <3=> Interrupt 544 #define _EP9_TYPR (3) 545 546 // <o0> Endpoint Direction (EPDIR) 547 // <1=> IN 548 // <0=> OUT 549 #define _EP9_CFG_EPDIR (1) 550 551 // <o0> Endpoint Buffer Length (EPLEN) (in byte) <4-64:4> 552 /* Maximum: 64 Bytes */ 553 #define _EP9LEN_TMP (8) 554 555 // <h> Endpoint Interrupt Enable Settings (EPIER) 556 // <o0> Endpoint Interrupt Enable Settings (EPIER) <0x0-0xFF:1> 557 // <o0.0> OUT Token Packet Received Interrupt Enable (OTRXIE) 558 // <o0.1> OUT Data Packet Received Interrupt Enable (ODRXIE) 559 // <o0.2> OUT Data Buffer Overrun Interrupt Enable (ODOVIE) 560 // <o0.3> IN Token Packet Received Interrupt Enable (ITRXIE) 561 // <o0.4> IN Data Packet Transmitted Interrupt Enable (IDTXIE) 562 // <o0.5> NAK Transmitted Interrupt Enable (NAKIE) 563 // <o0.6> STALL Transmitted Interrupt Enable (STLIE) 564 // <o0.7> USB Error Interrupt Enable (UERIE) 565 #define _EP9_IER (0x10) 566 // </h> 567 // </e> 568 569 #endif 570