Declaration of main function used by example.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
void | main_usb_sof_event (void) |
Notify that a SOF has been sent (each 1 ms) More... | |
void | main_usb_vendor_change (uhc_device_t *dev, bool b_present) |
Notify that a USB device vendor has been connected or disconnected. More... | |
void main_usb_sof_event | ( | void | ) |
Notify that a SOF has been sent (each 1 ms)
References main_usb_sof_counter, and ui_usb_sof_event().
void main_usb_vendor_change | ( | uhc_device_t * | dev, |
bool | b_present | ||
) |
Notify that a USB device vendor has been connected or disconnected.
dev | Pointer on USB device information |
b_present | true, if the device has been connected |
References main_b_usb_start_test, and UNUSED.