nvic::enable_irq(irq_number);
}
+#[no_mangle]
+#[allow(non_snake_case)]
+pub unsafe extern fn USB_DeviceIsrDisable()
+{
+ let irq_number = 24; // USB0
+
+ nvic::disable_irq(irq_number);
+}
+
#[no_mangle]
#[allow(non_snake_case)]
pub unsafe extern fn USB_DeviceClockInit()