USB parameters. More...
#include "config.h"#include "conf_usb.h"#include "lib_mcu/usb/usb_drv.h"#include "usb_descriptors.h"#include "modules/usb/device_chap9/usb_standard_request.h"#include "usb_specific_request.h"#include "lib_mcu/flash/flash_drv.h"
Go to the source code of this file.
USB parameters.
This file contains the usb parameters that uniquely identify the application through descriptor tables.
Definition in file usb_descriptors.c.
{
sizeof(usb_dev_desc)
, DESCRIPTOR_DEVICE
, Usb_write_word_enum_struc( 0x0200 )
, 0
, 0
, 0
, 32
, Usb_write_word_enum_struc( VID_ATMEL )
, Usb_write_word_enum_struc( PID_MegaHIDMouse )
, Usb_write_word_enum_struc( 0x1000 )
, 0x01
, 0x02
, 0x03
, 1
}
Definition at line 68 of file usb_descriptors.c.
Definition at line 87 of file usb_descriptors.c.
Referenced by hid_get_hid_descriptor().
{
sizeof(usb_user_manufacturer_string_descriptor)
, DESCRIPTOR_STRING
, { ((U16)( 'A' )) , ((U16)( 'T' )) , ((U16)( 'M' )) , ((U16)( 'E' )) , ((U16)( 'L' )) }
}
Definition at line 134 of file usb_descriptors.c.
Referenced by usb_user_get_descriptor().
{
sizeof(usb_user_product_string_descriptor)
, DESCRIPTOR_STRING
, { ((U16)( 'A' )) ,((U16)( 'V' )) ,((U16)( 'R' )) ,((U16)( ' ' )) ,((U16)( 'U' )) ,((U16)( 'S' )) ,((U16)( 'B' )) ,((U16)( ' ' )) ,((U16)( 'M' )) ,((U16)( 'O' )) ,((U16)( 'U' )) ,((U16)( 'S' )) ,((U16)( 'E' )) ,((U16)( ' ' )) ,((U16)( 'D' )) ,((U16)( 'E' )) ,((U16)( 'M' )) ,((U16)( 'O' )) }
}
Definition at line 143 of file usb_descriptors.c.
Referenced by usb_user_get_descriptor().
{
sizeof(usb_user_serial_number)+4*SN_LENGTH
, DESCRIPTOR_STRING
}
Definition at line 152 of file usb_descriptors.c.
Referenced by usb_user_get_descriptor().
{
sizeof(usb_user_language_id)
, DESCRIPTOR_STRING
, Usb_write_word_enum_struc( 0x0409 )
}
Definition at line 166 of file usb_descriptors.c.
Referenced by usb_user_get_descriptor().
{{
0x05,0x01,
0x09,0x02,
0xA1,0x01,
0x09,0x01,
0xA1,0x00,
0x05,0x09,
0x19,0x01,
0x29,0x03,
0x15,0x00,
0x25,0x01,
0x75,0x01,
0x95,0x03,
0x81,0x02,
0x75,0x05,
0x95,0x01,
0x81,0x01,
0x05,0x01,
0x09,0x30,
0x09,0x31,
0x09,0x38,
0x15,0x81,
0x25,0x7F,
0x75,0x08,
0x95,0x03,
0x81,0x06,
0xC0,
0xC0
}}
Definition at line 172 of file usb_descriptors.c.
Referenced by hid_get_report_descriptor().
1.7.2