#include "modules/usb/usb_task.h"
#include "usb_descriptors.h"
Go to the source code of this file.
Defines | |
#define | ATTACHED 0 |
#define | POWERED 1 |
#define | DEFAULT 2 |
#define | ADDRESSED 3 |
#define | CONFIGURED 4 |
#define | SUSPENDED 5 |
#define | USB_REMOTE_WAKEUP 1 |
#define | OTG_B_HNP_ENABLE 3 |
#define | OTG_A_HNP_SUPPORT 4 |
#define | OTG_A_ALT_HNP_SUPPORT 5 |
#define | Is_device_enumerated() ((usb_configuration_nb!=0) ? TRUE : FALSE) |
#define | Is_device_not_enumerated() ((usb_configuration_nb!=0) ? FALSE : TRUE) |
Functions | |
void | usb_process_request (void) |
void | usb_generate_remote_wakeup (void) |
This function manages the remote wake up generation. | |
Variables | |
U8 | usb_configuration_nb |
Public : (U8) usb_configuration_nb Store the number of the USB configuration used by the USB device when its value is different from zero, it means the device mode is enumerated Used with USB_DEVICE_FEATURE == ENABLED only /. | |
U8 | remote_wakeup_feature |
U8 | f_get_serial_string |
This file contains the USB endpoint 0 management routines corresponding to the standard enumeration process (refer to chapter 9 of the USB specification. This file calls routines of the usb_specific_request.c file for non-standard request management. The enumeration parameters (descriptor tables) are contained in the usb_descriptors.c file.
Definition in file usb_standard_request.h.