Пример #1
0
static void usb_reset_all_endpoints(
	const usb_device_t* const device
) {
	usb_disable_all_endpoints(device);
	usb_clear_all_pending_interrupts(device);
	usb_flush_all_primed_endpoints(device);
}
Пример #2
0
static void usb_reset_all_endpoints() {
	usb_disable_all_endpoints();
	usb_clear_all_pending_interrupts();
	usb_flush_all_primed_endpoints();
}