69 #define USB_CONFIG_ATTRIBUTES_RESERVED 0x80
70 #define USB_CONFIG_BUSPOWERED (USB_CONFIG_ATTRIBUTES_RESERVED | 0x00)
71 #define USB_CONFIG_SELFPOWERED (USB_CONFIG_ATTRIBUTES_RESERVED | 0x40)
72 #define USB_CONFIG_REMOTEWAKEUP (USB_CONFIG_ATTRIBUTES_RESERVED | 0x20)
78 #define Is_device_enumerated() ((usb_configuration_nb!=0) ? TRUE : FALSE)
79 #define Is_device_not_enumerated() ((usb_configuration_nb!=0) ? FALSE : TRUE)
This file manages the USB task either device/host or both.
void usb_process_request(void)
usb_process_request.
U8 usb_configuration_nb
Public : (U8) usb_configuration_nb Store the number of the USB configuration used by the USB device w...
This file contains the usb parameters that uniquely identify the application through descriptor table...