#include "conf_usb.h"
Macros | |
#define | GET_MAX_LUN 0xFE |
#define | HID_DESCRIPTOR 0x21 |
HID descriptor types. More... | |
#define | HID_GET_IDLE 0x02 |
#define | HID_GET_PROTOCOL 0x03 |
#define | HID_GET_REPORT 0x01 |
HID-specific requests. More... | |
#define | HID_PHYSICAL_DESCRIPTOR 0x23 |
#define | HID_REPORT_DESCRIPTOR 0x22 |
#define | HID_REPORT_FEATURE 0x03 |
#define | HID_REPORT_INPUT 0x01 |
HID report types. More... | |
#define | HID_REPORT_OUTPUT 0x02 |
#define | HID_SET_IDLE 0x0A |
#define | HID_SET_PROTOCOL 0x0B |
#define | HID_SET_REPORT 0x09 |
#define | MASS_STORAGE_RESET 0xFF |
Functions | |
void | usb_user_endpoint_init (uint8_t) |
This function configures the endpoints of the device application. More... | |
bool | usb_user_get_descriptor (uint8_t, uint8_t) |
This function returns the size and the pointer on a user information structure. More... | |
bool | usb_user_read_request (uint8_t, uint8_t) |
This function is called by the standard USB read request function when the USB request is not supported. More... | |
#define GET_MAX_LUN 0xFE |
Referenced by usb_user_read_request().
#define HID_DESCRIPTOR 0x21 |
HID descriptor types.
Referenced by host_hid_get_descriptor(), and usb_user_read_request().
#define HID_GET_IDLE 0x02 |
Referenced by host_hid_get_idle(), and usb_user_read_request().
#define HID_GET_PROTOCOL 0x03 |
Referenced by host_hid_get_protocol(), and usb_user_read_request().
#define HID_GET_REPORT 0x01 |
HID-specific requests.
Referenced by host_hid_get_report(), and usb_user_read_request().
#define HID_PHYSICAL_DESCRIPTOR 0x23 |
Referenced by usb_user_read_request().
#define HID_REPORT_DESCRIPTOR 0x22 |
Referenced by host_hid_get_descriptor(), host_mouse_hid_task(), and usb_user_read_request().
#define HID_REPORT_FEATURE 0x03 |
Referenced by usb_user_read_request().
#define HID_REPORT_INPUT 0x01 |
HID report types.
Referenced by usb_user_read_request().
#define HID_REPORT_OUTPUT 0x02 |
Referenced by usb_user_read_request().
#define HID_SET_IDLE 0x0A |
Referenced by host_hid_set_idle(), and usb_user_read_request().
#define HID_SET_PROTOCOL 0x0B |
Referenced by host_hid_set_protocol(), and usb_user_read_request().
#define HID_SET_REPORT 0x09 |
Referenced by host_hid_set_report(), and usb_user_read_request().
#define MASS_STORAGE_RESET 0xFF |
Referenced by usb_user_read_request().
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 |