This file contains the USB parameters that uniquely identify the USB application through descriptor tables.
Definition in file usb_descriptors.c.
#include "conf_usb.h"
#include "usb_drv.h"
#include "usb_descriptors.h"
#include "usb_standard_request.h"
#include "usb_specific_request.h"
Go to the source code of this file.
Definition at line 88 of file usb_descriptors.c.
Definition at line 135 of file usb_descriptors.c.
Initial value:
{ sizeof(S_usb_device_descriptor), DEVICE_DESCRIPTOR, Usb_format_mcu_to_usb_data(16, USB_SPECIFICATION), DEVICE_CLASS, DEVICE_SUB_CLASS, DEVICE_PROTOCOL, EP_CONTROL_LENGTH, Usb_format_mcu_to_usb_data(16, VENDOR_ID), Usb_format_mcu_to_usb_data(16, PRODUCT_ID), Usb_format_mcu_to_usb_data(16, RELEASE_NUMBER), MAN_INDEX, PROD_INDEX, SN_INDEX, NB_CONFIGURATION }
Definition at line 68 of file usb_descriptors.c.
Initial value:
{ sizeof(S_usb_device_qualifier_descriptor), DEVICE_QUALIFIER_DESCRIPTOR, Usb_format_mcu_to_usb_data(16, USB_SPECIFICATION), DEVICE_CLASS, DEVICE_SUB_CLASS, DEVICE_PROTOCOL, EP_CONTROL_LENGTH, NB_CONFIGURATION, 0 }
Definition at line 181 of file usb_descriptors.c.
Initial value:
{ sizeof(S_usb_language_id), STRING_DESCRIPTOR, Usb_format_mcu_to_usb_data(16, LANGUAGE_ID) }
Definition at line 197 of file usb_descriptors.c.
Referenced by usb_user_get_descriptor().
Initial value:
{ sizeof(S_usb_manufacturer_string_descriptor), STRING_DESCRIPTOR, USB_MANUFACTURER_NAME }
Definition at line 206 of file usb_descriptors.c.
Referenced by usb_user_get_descriptor().
Initial value:
{ sizeof(S_usb_product_string_descriptor), STRING_DESCRIPTOR, USB_PRODUCT_NAME }
Definition at line 215 of file usb_descriptors.c.
Referenced by usb_user_get_descriptor().
Initial value:
{ sizeof(S_usb_serial_number), STRING_DESCRIPTOR, USB_SERIAL_NUMBER }
Definition at line 224 of file usb_descriptors.c.
Referenced by usb_user_get_descriptor().