USB configuration file.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
#define UDC_RESUME_EVENT | ( | ) | main_resume_action() |
Referenced by _usb_on_wakeup().
#define UDC_SOF_EVENT | ( | ) | main_sof_action() |
Referenced by _usb_on_sof_notify().
#define UDC_SUSPEND_EVENT | ( | ) | main_suspend_action() |
Referenced by _usb_on_suspend().
#define UDC_VBUS_EVENT | ( | b_vbus_high | ) |
USB Device Callbacks definitions (Optional)
Referenced by _uhd_vbus_handler().
#define UDD_ISOCHRONOUS_NB_BANK | ( | ep | ) | 1 |
USB Device Driver Configuration.
Limit the isochronous endpoint in singe bank mode for USBB driver to avoid exceeding USB DPRAM.
#define UDI_VENDOR_DISABLE_EXT | ( | ) | main_vendor_disable() |
Referenced by udi_vendor_disable().
#define UDI_VENDOR_ENABLE_EXT | ( | ) | main_vendor_enable() |
Mandatory when USB_DEVICE_ATTR authorizes remote wakeup feature.
When a extra string descriptor must be supported other than manufacturer, product and serial string USB Interface Configuration Configuration of vendor interfaceInterface callback definition
Referenced by udi_vendor_enable().
#define UDI_VENDOR_EPS_SIZE_BULK_FS 64 |
#define UDI_VENDOR_EPS_SIZE_BULK_HS 512 |
#define UDI_VENDOR_EPS_SIZE_INT_FS 64 |
endpoints size for full speed Note: Disable the endpoints of a type, if size equal 0
#define UDI_VENDOR_EPS_SIZE_INT_HS 64 |
endpoints size for high speed
#define UDI_VENDOR_EPS_SIZE_ISO_FS 0 |
#define UDI_VENDOR_EPS_SIZE_ISO_HS 64 |
#define UDI_VENDOR_SETUP_IN_RECEIVED | ( | ) | main_setup_in_received() |
Referenced by udi_vendor_setup().
#define UDI_VENDOR_SETUP_OUT_RECEIVED | ( | ) | main_setup_out_received() |
Referenced by udi_vendor_setup().
#define USB_DEVICE_ATTR (USB_CONFIG_ATTR_SELF_POWERED) |
#define USB_DEVICE_HS_SUPPORT |
Device speeds support Low speed not supported by this vendor class.
To authorize the High speed
#define USB_DEVICE_MAJOR_VERSION 1 |
#define USB_DEVICE_MANUFACTURE_NAME "ATMEL ASF" |
USB Device string definitions (Optional)
#define USB_DEVICE_MINOR_VERSION 0 |
#define USB_DEVICE_POWER 100 |
#define USB_DEVICE_PRODUCT_ID USB_PID_ATMEL_ASF_VENDOR_CLASS |
#define USB_DEVICE_PRODUCT_NAME "Vendor Class Example" |
#define USB_DEVICE_VENDOR_ID USB_VID_ATMEL |
USB Device Configuration.
Device definition (mandatory)