MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / usb_host_int

Function usb_host_int

core/usb/usb.c:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 (usb.regs.hcor.usbsts & usb.regs.hcor.usbintr ? ISR_HOST : 0) ) & ~usb.regs.imr);
32}
33void usb_host_int(uint8_t which) {
34 usb.regs.hcor.usbsts |= which & 0x3F;
35 usb_update();
36}
37void usb_otg_int(uint16_t which) {
38 usb.regs.otgisr |= which & OTGISR_MASK;
39 usb_update();

Callers

nothing calls this directly

Calls 1

usb_updateFunction · 0.85

Tested by

no test coverage detected