USB configuration file.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
|
|
#define | USB_DEVICE_VENDOR_ID USB_VID_ATMEL |
| USB Device Configuration. More...
|
|
#define | USB_DEVICE_PRODUCT_ID USB_PID_ATMEL_ASF_MSC_HIDKEYBOARD |
|
#define | USB_DEVICE_MAJOR_VERSION 1 |
|
#define | USB_DEVICE_MINOR_VERSION 0 |
|
#define | USB_DEVICE_POWER 100 |
|
#define | USB_DEVICE_ATTR (USB_CONFIG_ATTR_REMOTE_WAKEUP|USB_CONFIG_ATTR_SELF_POWERED) |
|
#define | USB_DEVICE_MANUFACTURE_NAME "ATMEL ASF" |
| USB Device string definitions (Optional) More...
|
|
#define | USB_DEVICE_PRODUCT_NAME "HID Keyboard and MSC" |
|
#define | USB_DEVICE_SERIAL_NAME "123123123123" |
|
|
#define | UDC_VBUS_EVENT(b_vbus_high) |
| Device speeds support. More...
|
|
#define | UDC_SOF_EVENT() main_sof_action() |
|
#define | UDC_SUSPEND_EVENT() main_suspend_action() |
|
#define | UDC_RESUME_EVENT() main_resume_action() |
|
#define | UDC_REMOTEWAKEUP_ENABLE() main_remotewakeup_enable() |
| Mandatory when USB_DEVICE_ATTR authorizes remote wakeup feature. More...
|
|
#define | UDC_REMOTEWAKEUP_DISABLE() main_remotewakeup_disable() |
|
|
#define | USB_DEVICE_EP_CTRL_SIZE 64 |
| When a extra string descriptor must be supported other than manufacturer, product and serial string. More...
|
|
#define | USB_DEVICE_NB_INTERFACE 2 |
| Two interfaces for this device (MSC + HID keyboard) More...
|
|
#define | USB_DEVICE_MAX_EP 3 |
| 3 endpoints used by HID keyboard and MSC interfaces More...
|
|
|
#define | UDI_MSC_GLOBAL_VENDOR_ID 'A', 'T', 'M', 'E', 'L', ' ', ' ', ' ' |
| USB Interface Configuration. More...
|
|
#define | UDI_MSC_GLOBAL_PRODUCT_VERSION '1', '.', '0', '0' |
|
#define | UDI_MSC_ENABLE_EXT() main_msc_enable() |
| Interface callback definition. More...
|
|
#define | UDI_MSC_DISABLE_EXT() main_msc_disable() |
|
#define | UDI_MSC_EP_IN (1 | USB_EP_DIR_IN) |
| USB MSC low level configuration In standalone these configurations are defined by the MSC module. More...
|
|
#define | UDI_MSC_EP_OUT (2 | USB_EP_DIR_OUT) |
|
#define | UDI_MSC_IFACE_NUMBER 0 |
| Interface number. More...
|
|
|
#define | UDI_HID_KBD_ENABLE_EXT() main_keyboard_enable() |
| Configuration of HID Keyboard interface. More...
|
|
#define | UDI_HID_KBD_DISABLE_EXT() main_keyboard_disable() |
|
#define | UDI_HID_KBD_CHANGE_LED(value) ui_kbd_led(value) |
|
#define | UDI_HID_KBD_EP_IN (3 | USB_EP_DIR_IN) |
| USB HID Keyboard low level configuration In standalone these configurations are defined by the HID Keyboard module. More...
|
|
#define | UDI_HID_KBD_IFACE_NUMBER 1 |
| Interface number. More...
|
|
|
#define | UDI_COMPOSITE_DESC_T |
| Description of Composite Device. More...
|
|
#define | UDI_COMPOSITE_DESC_FS |
| USB Interfaces descriptor value for Full Speed. More...
|
|
#define | UDI_COMPOSITE_DESC_HS |
| USB Interfaces descriptor value for High Speed. More...
|
|
#define | UDI_COMPOSITE_API |
| USB Interface APIs. More...
|
|
#define USB_DEVICE_EP_CTRL_SIZE 64 |
When a extra string descriptor must be supported other than manufacturer, product and serial string.
USB Device low level configuration When only one interface is used, these configurations are defined by the class module. For composite device, these configuration must be defined hereControl endpoint size