This file contains the specific request decoding for enumeration process.
Definition in file usb_specific_request.h.
#include "conf_usb.h"
Go to the source code of this file.
Defines | |
#define | DFU_ABORT 0x06 |
#define | DFU_CLRSTATUS 0x04 |
#define | DFU_DETACH 0x00 |
DFU-specific requests. | |
#define | DFU_DNLOAD 0x01 |
#define | DFU_FUNCTIONAL_DESCRIPTOR 0x21 |
DFU descriptor types. | |
#define | DFU_GETSTATE 0x05 |
#define | DFU_GETSTATUS 0x03 |
#define | DFU_UPLOAD 0x02 |
Functions | |
void | usb_user_endpoint_init (U8) |
This function configures the endpoints of the device application. | |
Bool | usb_user_get_descriptor (U8, U8) |
This function returns the size and the pointer on a user information structure. | |
Bool | usb_user_read_request (U8, U8) |
This function is called by the standard USB read request function when the USB request is not supported. | |
Variables | |
const S_usb_user_configuration_descriptor | usb_conf_desc |
const S_usb_device_descriptor | usb_dev_desc |
const S_usb_language_id | usb_user_language_id |
const S_usb_manufacturer_string_descriptor | usb_user_manufacturer_string_descriptor |
const S_usb_product_string_descriptor | usb_user_product_string_descriptor |
const S_usb_serial_number | usb_user_serial_number |
#define DFU_ABORT 0x06 |
#define DFU_CLRSTATUS 0x04 |
#define DFU_DETACH 0x00 |
DFU-specific requests.
Definition at line 70 of file usb_specific_request.h.
Referenced by usb_user_read_request().
#define DFU_DNLOAD 0x01 |
#define DFU_FUNCTIONAL_DESCRIPTOR 0x21 |
#define DFU_GETSTATE 0x05 |
#define DFU_GETSTATUS 0x03 |
#define DFU_UPLOAD 0x02 |
Definition at line 88 of file usb_descriptors.c.
Definition at line 68 of file usb_descriptors.c.