Kaynağa Gözat

mass rename tud/dcd_irq_handler to tud/dcd_init_handler

hathach 5 yıl önce
ebeveyn
işleme
50be9d7c3a
81 değiştirilmiş dosya ile 104 ekleme ve 104 silme
  1. 2 2
      changelog.md
  2. 1 1
      docs/porting.md
  3. 1 1
      examples/device/board_test/Makefile
  4. 1 1
      hw/bsp/adafruit_clue/adafruit_clue.c
  5. 1 1
      hw/bsp/arduino_nano33_ble/arduino_nano33_ble.c
  6. 1 1
      hw/bsp/circuitplayground_bluefruit/circuitplayground_bluefruit.c
  7. 1 1
      hw/bsp/circuitplayground_express/circuitplayground_express.c
  8. 1 1
      hw/bsp/ea4088qs/ea4088qs.c
  9. 2 2
      hw/bsp/ea4357/ea4357.c
  10. 1 1
      hw/bsp/feather_m0_express/feather_m0_express.c
  11. 4 4
      hw/bsp/feather_m4_express/feather_m4_express.c
  12. 1 1
      hw/bsp/feather_nrf52840_express/feather_nrf52840_express.c
  13. 1 1
      hw/bsp/feather_nrf52840_sense/feather_nrf52840_sense.c
  14. 1 1
      hw/bsp/feather_stm32f405/feather_stm32f405.c
  15. 1 1
      hw/bsp/fomu/fomu.c
  16. 1 1
      hw/bsp/itsybitsy_m0/itsybitsy_m0.c
  17. 4 4
      hw/bsp/itsybitsy_m4/itsybitsy_m4.c
  18. 1 1
      hw/bsp/lpcxpresso11u37/lpcxpresso11u37.c
  19. 1 1
      hw/bsp/lpcxpresso11u68/lpcxpresso11u68.c
  20. 1 1
      hw/bsp/lpcxpresso1347/lpcxpresso1347.c
  21. 1 1
      hw/bsp/lpcxpresso1549/lpcxpresso1549.c
  22. 1 1
      hw/bsp/lpcxpresso1769/lpcxpresso1769.c
  23. 1 1
      hw/bsp/lpcxpresso51u68/lpcxpresso51u68.c
  24. 1 1
      hw/bsp/lpcxpresso54114/lpcxpresso54114.c
  25. 2 2
      hw/bsp/lpcxpresso55s69/lpcxpresso55s69.c
  26. 1 1
      hw/bsp/mbed1768/mbed1768.c
  27. 2 2
      hw/bsp/mcb1800/mcb1800.c
  28. 1 1
      hw/bsp/metro_m0_express/metro_m0_express.c
  29. 4 4
      hw/bsp/metro_m4_express/metro_m4_express.c
  30. 1 1
      hw/bsp/mimxrt1010_evk/mimxrt1010_evk.c
  31. 1 1
      hw/bsp/mimxrt1015_evk/mimxrt1015_evk.c
  32. 1 1
      hw/bsp/mimxrt1020_evk/mimxrt1020_evk.c
  33. 2 2
      hw/bsp/mimxrt1050_evkb/mimxrt1050_evkb.c
  34. 2 2
      hw/bsp/mimxrt1060_evk/mimxrt1060_evk.c
  35. 2 2
      hw/bsp/mimxrt1064_evk/mimxrt1064_evk.c
  36. 1 1
      hw/bsp/msp_exp430f5529lp/msp_exp430f5529lp.c
  37. 2 2
      hw/bsp/ngx4330/ngx4330.c
  38. 1 1
      hw/bsp/nrf52840_mdk_dongle/nrf52840_mdk_dongle.c
  39. 1 1
      hw/bsp/nutiny_nuc121s/nutiny_nuc121.c
  40. 1 1
      hw/bsp/nutiny_nuc125s/nutiny_nuc125.c
  41. 1 1
      hw/bsp/nutiny_nuc126v/nutiny_nuc126.c
  42. 1 1
      hw/bsp/nutiny_sdk_nuc120/nutiny_sdk_nuc120.c
  43. 1 1
      hw/bsp/nutiny_sdk_nuc505/nutiny_sdk_nuc505.c
  44. 1 1
      hw/bsp/pca10056/pca10056.c
  45. 1 1
      hw/bsp/pca10059/pca10059.c
  46. 1 1
      hw/bsp/pca10100/pca10100.c
  47. 1 1
      hw/bsp/pyboardv11/pyboardv11.c
  48. 1 1
      hw/bsp/raytac_mdbt50q_rx/raytac_mdbt50q_rx.c
  49. 1 1
      hw/bsp/samg55xplained/samg55xplained.c
  50. 1 1
      hw/bsp/seeeduino_xiao/seeeduino_xiao.c
  51. 1 1
      hw/bsp/stm32f070rbnucleo/stm32f070rbnucleo.c
  52. 1 1
      hw/bsp/stm32f072disco/stm32f072disco.c
  53. 3 3
      hw/bsp/stm32f103bluepill/stm32f103bluepill.c
  54. 1 1
      hw/bsp/stm32f207nucleo/stm32f207nucleo.c
  55. 3 3
      hw/bsp/stm32f303disco/stm32f303disco.c
  56. 1 1
      hw/bsp/stm32f401blackpill/stm32f401blackpill.c
  57. 1 1
      hw/bsp/stm32f407disco/stm32f407disco.c
  58. 1 1
      hw/bsp/stm32f411blackpill/stm32f411blackpill.c
  59. 1 1
      hw/bsp/stm32f411disco/stm32f411disco.c
  60. 1 1
      hw/bsp/stm32f412disco/stm32f412disco.c
  61. 1 1
      hw/bsp/stm32f767nucleo/stm32f767nucleo.c
  62. 1 1
      hw/bsp/stm32h743nucleo/stm32h743nucleo.c
  63. 1 1
      hw/bsp/stm32l0538disco/stm32l0538disco.c
  64. 1 1
      hw/bsp/stm32l476disco/stm32l476disco.c
  65. 2 2
      hw/bsp/teensy_40/teensy40.c
  66. 1 1
      src/device/dcd.h
  67. 1 1
      src/device/usbd.h
  68. 2 2
      src/portable/espressif/esp32s2/dcd_esp32s2.c
  69. 1 1
      src/portable/microchip/samd/dcd_samd.c
  70. 1 1
      src/portable/microchip/samg/dcd_samg.c
  71. 1 1
      src/portable/nordic/nrf5x/dcd_nrf5x.c
  72. 1 1
      src/portable/nuvoton/nuc120/dcd_nuc120.c
  73. 1 1
      src/portable/nuvoton/nuc121/dcd_nuc121.c
  74. 1 1
      src/portable/nuvoton/nuc505/dcd_nuc505.c
  75. 1 1
      src/portable/nxp/lpc17_40/dcd_lpc17_40.c
  76. 1 1
      src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c
  77. 1 1
      src/portable/nxp/transdimension/dcd_transdimension.c
  78. 1 1
      src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c
  79. 1 1
      src/portable/st/synopsys/dcd_synopsys.c
  80. 1 1
      src/portable/ti/msp430x5xx/dcd_msp430x5xx.c
  81. 1 1
      src/portable/valentyusb/eptri/dcd_eptri.c

+ 2 - 2
changelog.md

@@ -4,7 +4,7 @@
 
 
 ### Breaking
 ### Breaking
 
 
-- TinyUSB does not directly implement USB IRQ Handler function anymore. Application must implement IRQ Handler and invoke `tud_irq_handler(rhport)`. This is due to:
+- TinyUSB does not directly implement USB IRQ Handler function anymore. Application must implement IRQ Handler and invoke `tud_int_handler(rhport)`. This is due to:
   
   
   - IRQ Handler name can be different across system depending on the startup
   - IRQ Handler name can be different across system depending on the startup
   - Some OS need to execute enterISR()/exitISR() to work properly, also tracing tool may need to insert trace ISR enter/exit to record usb event
   - Some OS need to execute enterISR()/exitISR() to work properly, also tracing tool may need to insert trace ISR enter/exit to record usb event
@@ -12,7 +12,7 @@
 
 
 ### MCU
 ### MCU
 
 
-- All default IRQ Handler is renamed to `dcd_irq_handler()`
+- All default IRQ Handler is renamed to `dcd_int_handler()`
 
 
 ## 0.6.0 - 2019.03.30
 ## 0.6.0 - 2019.03.30
 
 

+ 1 - 1
docs/porting.md

@@ -68,7 +68,7 @@ This function should leave an internal D+/D- pull-up in its default power-on sta
 
 
 Enables or disables the USB device interrupt(s). May be used to prevent concurrency issues when mutating data structures shared between main code and the interrupt handler.
 Enables or disables the USB device interrupt(s). May be used to prevent concurrency issues when mutating data structures shared between main code and the interrupt handler.
 
 
-##### dcd_irq_handler
+##### dcd_int_handler
 
 
 Processes all the hardware generated events e.g Bus reset, new data packet from host etc ... It will be called by application in the MCU USB interrupt handler.
 Processes all the hardware generated events e.g Bus reset, new data packet from host etc ... It will be called by application in the MCU USB interrupt handler.
 
 

+ 1 - 1
examples/device/board_test/Makefile

@@ -13,6 +13,6 @@ SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
 # This can cause some TinyUSB API missing, this hack to allow us to fill those API
 # This can cause some TinyUSB API missing, this hack to allow us to fill those API
 # to pass the compilation process
 # to pass the compilation process
 CFLAGS +=	\
 CFLAGS +=	\
-	-D"tud_irq_handler(x)= " \
+	-D"tud_int_handler(x)= " \
 
 
 include ../../rules.mk
 include ../../rules.mk

+ 1 - 1
hw/bsp/adafruit_clue/adafruit_clue.c

@@ -40,7 +40,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/arduino_nano33_ble/arduino_nano33_ble.c

@@ -41,7 +41,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 /*------------------------------------------------------------------*/
 /*------------------------------------------------------------------*/

+ 1 - 1
hw/bsp/circuitplayground_bluefruit/circuitplayground_bluefruit.c

@@ -40,7 +40,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 /*------------------------------------------------------------------*/
 /*------------------------------------------------------------------*/

+ 1 - 1
hw/bsp/circuitplayground_express/circuitplayground_express.c

@@ -40,7 +40,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_Handler(void)
 void USB_Handler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/ea4088qs/ea4088qs.c

@@ -37,7 +37,7 @@ void USB_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 

+ 2 - 2
hw/bsp/ea4357/ea4357.c

@@ -240,7 +240,7 @@ void USB0_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 
@@ -251,7 +251,7 @@ void USB1_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(1);
+    tud_int_handler(1);
   #endif
   #endif
 }
 }
 
 

+ 1 - 1
hw/bsp/feather_m0_express/feather_m0_express.c

@@ -40,7 +40,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_Handler(void)
 void USB_Handler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 4 - 4
hw/bsp/feather_m4_express/feather_m4_express.c

@@ -37,22 +37,22 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_0_Handler (void)
 void USB_0_Handler (void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 void USB_1_Handler (void)
 void USB_1_Handler (void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 void USB_2_Handler (void)
 void USB_2_Handler (void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 void USB_3_Handler (void)
 void USB_3_Handler (void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/feather_nrf52840_express/feather_nrf52840_express.c

@@ -41,7 +41,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 /*------------------------------------------------------------------*/
 /*------------------------------------------------------------------*/

+ 1 - 1
hw/bsp/feather_nrf52840_sense/feather_nrf52840_sense.c

@@ -40,7 +40,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 /*------------------------------------------------------------------*/
 /*------------------------------------------------------------------*/

+ 1 - 1
hw/bsp/feather_stm32f405/feather_stm32f405.c

@@ -34,7 +34,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void OTG_FS_IRQHandler(void)
 void OTG_FS_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/fomu/fomu.c

@@ -63,7 +63,7 @@ void isr(void)
 
 
 #if CFG_TUSB_RHPORT0_MODE == OPT_MODE_DEVICE
 #if CFG_TUSB_RHPORT0_MODE == OPT_MODE_DEVICE
   if (irqs & (1 << USB_INTERRUPT)) {
   if (irqs & (1 << USB_INTERRUPT)) {
-    tud_irq_handler(0);
+    tud_int_handler(0);
   }
   }
 #endif
 #endif
   if (irqs & (1 << TIMER0_INTERRUPT)) {
   if (irqs & (1 << TIMER0_INTERRUPT)) {

+ 1 - 1
hw/bsp/itsybitsy_m0/itsybitsy_m0.c

@@ -40,7 +40,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_Handler(void)
 void USB_Handler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 4 - 4
hw/bsp/itsybitsy_m4/itsybitsy_m4.c

@@ -37,22 +37,22 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_0_Handler (void)
 void USB_0_Handler (void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 void USB_1_Handler (void)
 void USB_1_Handler (void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 void USB_2_Handler (void)
 void USB_2_Handler (void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 void USB_3_Handler (void)
 void USB_3_Handler (void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/lpcxpresso11u37/lpcxpresso11u37.c

@@ -32,7 +32,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_IRQHandler(void)
 void USB_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //---------------------------------------------------------------- ----+
 //---------------------------------------------------------------- ----+

+ 1 - 1
hw/bsp/lpcxpresso11u68/lpcxpresso11u68.c

@@ -32,7 +32,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_IRQHandler(void)
 void USB_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/lpcxpresso1347/lpcxpresso1347.c

@@ -32,7 +32,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_IRQHandler(void)
 void USB_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/lpcxpresso1549/lpcxpresso1549.c

@@ -32,7 +32,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_IRQHandler(void)
 void USB_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/lpcxpresso1769/lpcxpresso1769.c

@@ -37,7 +37,7 @@ void USB_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 

+ 1 - 1
hw/bsp/lpcxpresso51u68/lpcxpresso51u68.c

@@ -35,7 +35,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB0_IRQHandler(void)
 void USB0_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/lpcxpresso54114/lpcxpresso54114.c

@@ -35,7 +35,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB0_IRQHandler(void)
 void USB0_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 2 - 2
hw/bsp/lpcxpresso55s69/lpcxpresso55s69.c

@@ -35,12 +35,12 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB0_IRQHandler(void)
 void USB0_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 void USB1_IRQHandler(void)
 void USB1_IRQHandler(void)
 {
 {
-  tud_irq_handler(1);
+  tud_int_handler(1);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/mbed1768/mbed1768.c

@@ -145,7 +145,7 @@ void USB_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 

+ 2 - 2
hw/bsp/mcb1800/mcb1800.c

@@ -37,7 +37,7 @@ void USB0_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 
@@ -48,7 +48,7 @@ void USB1_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(1);
+    tud_int_handler(1);
   #endif
   #endif
 }
 }
 
 

+ 1 - 1
hw/bsp/metro_m0_express/metro_m0_express.c

@@ -40,7 +40,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_Handler(void)
 void USB_Handler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 4 - 4
hw/bsp/metro_m4_express/metro_m4_express.c

@@ -37,22 +37,22 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_0_Handler (void)
 void USB_0_Handler (void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 void USB_1_Handler (void)
 void USB_1_Handler (void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 void USB_2_Handler (void)
 void USB_2_Handler (void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 void USB_3_Handler (void)
 void USB_3_Handler (void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/mimxrt1010_evk/mimxrt1010_evk.c

@@ -125,7 +125,7 @@ void USB_OTG1_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 

+ 1 - 1
hw/bsp/mimxrt1015_evk/mimxrt1015_evk.c

@@ -125,7 +125,7 @@ void USB_OTG1_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 

+ 1 - 1
hw/bsp/mimxrt1020_evk/mimxrt1020_evk.c

@@ -124,7 +124,7 @@ void USB_OTG1_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 

+ 2 - 2
hw/bsp/mimxrt1050_evkb/mimxrt1050_evkb.c

@@ -128,7 +128,7 @@ void USB_OTG1_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 
@@ -139,7 +139,7 @@ void USB_OTG2_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(1);
+    tud_int_handler(1);
   #endif
   #endif
 }
 }
 
 

+ 2 - 2
hw/bsp/mimxrt1060_evk/mimxrt1060_evk.c

@@ -128,7 +128,7 @@ void USB_OTG1_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 
@@ -139,7 +139,7 @@ void USB_OTG2_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(1);
+    tud_int_handler(1);
   #endif
   #endif
 }
 }
 
 

+ 2 - 2
hw/bsp/mimxrt1064_evk/mimxrt1064_evk.c

@@ -128,7 +128,7 @@ void USB_OTG1_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 
@@ -139,7 +139,7 @@ void USB_OTG2_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(1);
+    tud_int_handler(1);
   #endif
   #endif
 }
 }
 
 

+ 1 - 1
hw/bsp/msp_exp430f5529lp/msp_exp430f5529lp.c

@@ -33,7 +33,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void __attribute__ ((interrupt(USB_UBM_VECTOR))) USB_UBM_ISR(void)
 void __attribute__ ((interrupt(USB_UBM_VECTOR))) USB_UBM_ISR(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 2 - 2
hw/bsp/ngx4330/ngx4330.c

@@ -229,7 +229,7 @@ void USB0_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 
@@ -240,7 +240,7 @@ void USB1_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(1);
+    tud_int_handler(1);
   #endif
   #endif
 }
 }
 
 

+ 1 - 1
hw/bsp/nrf52840_mdk_dongle/nrf52840_mdk_dongle.c

@@ -40,7 +40,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 /*------------------------------------------------------------------*/
 /*------------------------------------------------------------------*/

+ 1 - 1
hw/bsp/nutiny_nuc121s/nutiny_nuc121.c

@@ -34,7 +34,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/nutiny_nuc125s/nutiny_nuc125.c

@@ -34,7 +34,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/nutiny_nuc126v/nutiny_nuc126.c

@@ -35,7 +35,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/nutiny_sdk_nuc120/nutiny_sdk_nuc120.c

@@ -34,7 +34,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/nutiny_sdk_nuc505/nutiny_sdk_nuc505.c

@@ -32,7 +32,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/pca10056/pca10056.c

@@ -41,7 +41,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 /*------------------------------------------------------------------*/
 /*------------------------------------------------------------------*/

+ 1 - 1
hw/bsp/pca10059/pca10059.c

@@ -40,7 +40,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 /*------------------------------------------------------------------*/
 /*------------------------------------------------------------------*/

+ 1 - 1
hw/bsp/pca10100/pca10100.c

@@ -41,7 +41,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 /*------------------------------------------------------------------*/
 /*------------------------------------------------------------------*/

+ 1 - 1
hw/bsp/pyboardv11/pyboardv11.c

@@ -34,7 +34,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void OTG_FS_IRQHandler(void)
 void OTG_FS_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/raytac_mdbt50q_rx/raytac_mdbt50q_rx.c

@@ -40,7 +40,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USBD_IRQHandler(void)
 void USBD_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 /*------------------------------------------------------------------*/
 /*------------------------------------------------------------------*/

+ 1 - 1
hw/bsp/samg55xplained/samg55xplained.c

@@ -100,7 +100,7 @@ void board_init(void)
 void UDP_Handler(void)
 void UDP_Handler(void)
 {
 {
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 

+ 1 - 1
hw/bsp/seeeduino_xiao/seeeduino_xiao.c

@@ -40,7 +40,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_Handler(void)
 void USB_Handler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/stm32f070rbnucleo/stm32f070rbnucleo.c

@@ -32,7 +32,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_IRQHandler(void)
 void USB_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/stm32f072disco/stm32f072disco.c

@@ -32,7 +32,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_IRQHandler(void)
 void USB_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 3 - 3
hw/bsp/stm32f103bluepill/stm32f103bluepill.c

@@ -32,17 +32,17 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_HP_IRQHandler(void)
 void USB_HP_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 void USB_LP_IRQHandler(void)
 void USB_LP_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 void USBWakeUp_IRQHandler(void)
 void USBWakeUp_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/stm32f207nucleo/stm32f207nucleo.c

@@ -33,7 +33,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void OTG_FS_IRQHandler(void)
 void OTG_FS_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 3 - 3
hw/bsp/stm32f303disco/stm32f303disco.c

@@ -38,7 +38,7 @@
 // the highest possible transfer rate.
 // the highest possible transfer rate.
 void USB_HP_CAN_TX_IRQHandler(void)
 void USB_HP_CAN_TX_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 // USB low-priority interrupt (Channel 20): Triggered by all USB events
 // USB low-priority interrupt (Channel 20): Triggered by all USB events
@@ -46,14 +46,14 @@ void USB_HP_CAN_TX_IRQHandler(void)
 // interrupt source before serving the interrupt.
 // interrupt source before serving the interrupt.
 void USB_LP_CAN_RX0_IRQHandler(void)
 void USB_LP_CAN_RX0_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 // USB wakeup interrupt (Channel 42): Triggered by the wakeup event from the USB
 // USB wakeup interrupt (Channel 42): Triggered by the wakeup event from the USB
 // Suspend mode.
 // Suspend mode.
 void USBWakeUp_IRQHandler(void)
 void USBWakeUp_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/stm32f401blackpill/stm32f401blackpill.c

@@ -34,7 +34,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void OTG_FS_IRQHandler(void)
 void OTG_FS_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/stm32f407disco/stm32f407disco.c

@@ -33,7 +33,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void OTG_FS_IRQHandler(void)
 void OTG_FS_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/stm32f411blackpill/stm32f411blackpill.c

@@ -33,7 +33,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void OTG_FS_IRQHandler(void)
 void OTG_FS_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/stm32f411disco/stm32f411disco.c

@@ -32,7 +32,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void OTG_FS_IRQHandler(void)
 void OTG_FS_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/stm32f412disco/stm32f412disco.c

@@ -33,7 +33,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void OTG_FS_IRQHandler(void)
 void OTG_FS_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/stm32f767nucleo/stm32f767nucleo.c

@@ -34,7 +34,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void OTG_FS_IRQHandler(void)
 void OTG_FS_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/stm32h743nucleo/stm32h743nucleo.c

@@ -34,7 +34,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void OTG_FS_IRQHandler(void)
 void OTG_FS_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/stm32l0538disco/stm32l0538disco.c

@@ -32,7 +32,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void USB_IRQHandler(void)
 void USB_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 1 - 1
hw/bsp/stm32l476disco/stm32l476disco.c

@@ -33,7 +33,7 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void OTG_FS_IRQHandler(void)
 void OTG_FS_IRQHandler(void)
 {
 {
-  tud_irq_handler(0);
+  tud_int_handler(0);
 }
 }
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+

+ 2 - 2
hw/bsp/teensy_40/teensy40.c

@@ -129,7 +129,7 @@ void USB_OTG1_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(0);
+    tud_int_handler(0);
   #endif
   #endif
 }
 }
 
 
@@ -140,7 +140,7 @@ void USB_OTG2_IRQHandler(void)
   #endif
   #endif
 
 
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
   #if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE
-    tud_irq_handler(1);
+    tud_int_handler(1);
   #endif
   #endif
 }
 }
 
 

+ 1 - 1
src/device/dcd.h

@@ -89,7 +89,7 @@ typedef struct TU_ATTR_ALIGNED(4)
 void dcd_init       (uint8_t rhport);
 void dcd_init       (uint8_t rhport);
 
 
 // Interrupt Handler
 // Interrupt Handler
-void dcd_irq_handler(uint8_t rhport) TU_ATTR_USED;
+void dcd_int_handler(uint8_t rhport);
 
 
 // Enable device interrupt
 // Enable device interrupt
 void dcd_int_enable (uint8_t rhport);
 void dcd_int_enable (uint8_t rhport);

+ 1 - 1
src/device/usbd.h

@@ -48,7 +48,7 @@ bool tud_init (void);
 void tud_task (void);
 void tud_task (void);
 
 
 // Interrupt handler, name alias to DCD
 // Interrupt handler, name alias to DCD
-#define tud_irq_handler   dcd_irq_handler
+#define tud_int_handler   dcd_int_handler
 
 
 // Check if device is connected and configured
 // Check if device is connected and configured
 bool tud_mounted(void);
 bool tud_mounted(void);

+ 2 - 2
src/portable/espressif/esp32s2/dcd_esp32s2.c

@@ -638,7 +638,7 @@ static void handle_epin_ints(void)
 }
 }
 
 
 
 
-static void dcd_int_handler(void* arg)
+static void _dcd_int_handler(void* arg)
 {
 {
   (void) arg;
   (void) arg;
 
 
@@ -726,7 +726,7 @@ static void dcd_int_handler(void* arg)
 void dcd_int_enable (uint8_t rhport)
 void dcd_int_enable (uint8_t rhport)
 {
 {
   (void) rhport;
   (void) rhport;
-  esp_intr_alloc(ETS_USB_INTR_SOURCE, ESP_INTR_FLAG_LOWMED, (intr_handler_t) dcd_int_handler, NULL, &usb_ih);
+  esp_intr_alloc(ETS_USB_INTR_SOURCE, ESP_INTR_FLAG_LOWMED, (intr_handler_t) _dcd_int_handler, NULL, &usb_ih);
 }
 }
 
 
 void dcd_int_disable (uint8_t rhport)
 void dcd_int_disable (uint8_t rhport)

+ 1 - 1
src/portable/microchip/samd/dcd_samd.c

@@ -331,7 +331,7 @@ void maybe_transfer_complete(void) {
 }
 }
 
 
 
 
-void dcd_irq_handler (uint8_t rhport)
+void dcd_int_handler (uint8_t rhport)
 {
 {
   (void) rhport;
   (void) rhport;
 
 

+ 1 - 1
src/portable/microchip/samg/dcd_samg.c

@@ -347,7 +347,7 @@ void dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr)
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 // ISR
 // ISR
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
-void dcd_irq_handler(uint8_t rhport)
+void dcd_int_handler(uint8_t rhport)
 {
 {
   uint32_t const intr_mask   = UDP->UDP_IMR;
   uint32_t const intr_mask   = UDP->UDP_IMR;
   uint32_t const intr_status = UDP->UDP_ISR & intr_mask;
   uint32_t const intr_status = UDP->UDP_ISR & intr_mask;

+ 1 - 1
src/portable/nordic/nrf5x/dcd_nrf5x.c

@@ -373,7 +373,7 @@ void bus_reset(void)
   _dcd.xfer[0][TUSB_DIR_OUT].mps = MAX_PACKET_SIZE;
   _dcd.xfer[0][TUSB_DIR_OUT].mps = MAX_PACKET_SIZE;
 }
 }
 
 
-void dcd_irq_handler(uint8_t rhport)
+void dcd_int_handler(uint8_t rhport)
 {
 {
   (void) rhport;
   (void) rhport;
 
 

+ 1 - 1
src/portable/nuvoton/nuc120/dcd_nuc120.c

@@ -306,7 +306,7 @@ void dcd_edpt_clear_stall(uint8_t rhport, uint8_t ep_addr)
   ep->CFG |= USBD_CFG_CSTALL_Msk;
   ep->CFG |= USBD_CFG_CSTALL_Msk;
 }
 }
 
 
-void dcd_irq_handler(uint8_t rhport)
+void dcd_int_handler(uint8_t rhport)
 {
 {
   (void) rhport;
   (void) rhport;
 
 

+ 1 - 1
src/portable/nuvoton/nuc121/dcd_nuc121.c

@@ -312,7 +312,7 @@ void dcd_edpt_clear_stall(uint8_t rhport, uint8_t ep_addr)
   ep->CFG |= USBD_CFG_CSTALL_Msk;
   ep->CFG |= USBD_CFG_CSTALL_Msk;
 }
 }
 
 
-void dcd_irq_handler(uint8_t rhport)
+void dcd_int_handler(uint8_t rhport)
 {
 {
   (void) rhport;
   (void) rhport;
 
 

+ 1 - 1
src/portable/nuvoton/nuc505/dcd_nuc505.c

@@ -435,7 +435,7 @@ void dcd_edpt_clear_stall(uint8_t rhport, uint8_t ep_addr)
   }
   }
 }
 }
 
 
-void dcd_irq_handler(uint8_t rhport)
+void dcd_int_handler(uint8_t rhport)
 {
 {
   (void) rhport;
   (void) rhport;
 
 

+ 1 - 1
src/portable/nxp/lpc17_40/dcd_lpc17_40.c

@@ -505,7 +505,7 @@ static void dd_complete_isr(uint8_t rhport, uint8_t ep_id)
 }
 }
 
 
 // main USB IRQ handler
 // main USB IRQ handler
-void dcd_irq_handler(uint8_t rhport)
+void dcd_int_handler(uint8_t rhport)
 {
 {
   uint32_t const dev_int_status = LPC_USB->DevIntSt & LPC_USB->DevIntEn;
   uint32_t const dev_int_status = LPC_USB->DevIntSt & LPC_USB->DevIntEn;
   LPC_USB->DevIntClr = dev_int_status;// Acknowledge handled interrupt
   LPC_USB->DevIntClr = dev_int_status;// Acknowledge handled interrupt

+ 1 - 1
src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c

@@ -345,7 +345,7 @@ static void process_xfer_isr(uint32_t int_status)
   }
   }
 }
 }
 
 
-void dcd_irq_handler(uint8_t rhport)
+void dcd_int_handler(uint8_t rhport)
 {
 {
   (void) rhport; // TODO support multiple USB on supported mcu such as LPC55s69
   (void) rhport; // TODO support multiple USB on supported mcu such as LPC55s69
 
 

+ 1 - 1
src/portable/nxp/transdimension/dcd_transdimension.c

@@ -503,7 +503,7 @@ bool dcd_edpt_xfer(uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t t
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 // ISR
 // ISR
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
-void dcd_irq_handler(uint8_t rhport)
+void dcd_int_handler(uint8_t rhport)
 {
 {
   dcd_registers_t* const dcd_reg = _dcd_controller[rhport].regs;
   dcd_registers_t* const dcd_reg = _dcd_controller[rhport].regs;
 
 

+ 1 - 1
src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c

@@ -499,7 +499,7 @@ static void dcd_ep_ctr_handler(void)
   }
   }
 }
 }
 
 
-void dcd_irq_handler(uint8_t rhport) {
+void dcd_int_handler(uint8_t rhport) {
 
 
   (void) rhport;
   (void) rhport;
 
 

+ 1 - 1
src/portable/st/synopsys/dcd_synopsys.c

@@ -669,7 +669,7 @@ static void handle_epin_ints(USB_OTG_DeviceTypeDef * dev, USB_OTG_INEndpointType
   }
   }
 }
 }
 
 
-void dcd_irq_handler(uint8_t rhport) {
+void dcd_int_handler(uint8_t rhport) {
 
 
   (void) rhport;
   (void) rhport;
 
 

+ 1 - 1
src/portable/ti/msp430x5xx/dcd_msp430x5xx.c

@@ -558,7 +558,7 @@ static void handle_setup_packet(void)
   dcd_event_setup_received(0, (uint8_t*) &_setup_packet[0], true);
   dcd_event_setup_received(0, (uint8_t*) &_setup_packet[0], true);
 }
 }
 
 
-void dcd_irq_handler(uint8_t rhport)
+void dcd_int_handler(uint8_t rhport)
 {
 {
   (void) rhport;
   (void) rhport;
 
 

+ 1 - 1
src/portable/valentyusb/eptri/dcd_eptri.c

@@ -626,7 +626,7 @@ static void handle_setup(void)
 
 
   usb_setup_ev_pending_write(1);
   usb_setup_ev_pending_write(1);
 }
 }
-void dcd_irq_handler(uint8_t rhport)
+void dcd_int_handler(uint8_t rhport)
 {
 {
   (void)rhport;
   (void)rhport;
   uint8_t next_ev;
   uint8_t next_ev;