| 192 | } |
| 193 | |
| 194 | static void usb_device_event(enum sched_item_id event) { |
| 195 | (void)event; |
| 196 | usb.event.type = USB_TIMER_EVENT; |
| 197 | usb_dispatch_event(); |
| 198 | } |
| 199 | |
| 200 | uint8_t usb_status(void) { |
| 201 | return (usb.regs.otgcsr & (OTGCSR_A_VBUS_VLD | OTGCSR_A_SESS_VLD | OTGCSR_B_SESS_VLD) ? 0x80 : 0) | |
nothing calls this directly
no test coverage detected