USB configuration file.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | USB_DEVICE_VENDOR_ID USB_VID_ATMEL |
USB Device Configuration. More... | |
#define | USB_DEVICE_PRODUCT_ID USB_PID_ATMEL_ASF_PHDC |
#define | USB_DEVICE_MAJOR_VERSION 1 |
#define | USB_DEVICE_MINOR_VERSION 0 |
#define | USB_DEVICE_POWER 100 /* Consumption on Vbus line (mA) */ |
#define | USB_DEVICE_ATTR (USB_CONFIG_ATTR_SELF_POWERED) |
#define | USB_DEVICE_MANUFACTURE_NAME "ATMEL AVR" |
#define | USB_DEVICE_PRODUCT_NAME "PHDC" |
#define | UDC_VBUS_EVENT(b_vbus_high) |
Device speeds support Low speed is not authorized. More... | |
#define | UDC_SOF_EVENT() main_sof_action() |
#define | UDC_SUSPEND_EVENT() main_suspend_action() |
#define | UDC_RESUME_EVENT() main_resume_action() |
#define | UDI_PHDC_ENABLE_EXT() main_phdc_enable() |
USB Interface Configuration. More... | |
#define | UDI_PHDC_DISABLE_EXT() main_phdc_disable() |
#define | UDI_PHDC_DATAMSG_FORMAT USB_PHDC_DATAMSG_FORMAT_11073_20601 |
#define | UDI_PHDC_SPECIALIZATION {0x1011} |
#define | UDI_PHDC_QOS_OUT (USB_PHDC_QOS_MEDIUM_BEST) |
#define | UDI_PHDC_QOS_IN (USB_PHDC_QOS_MEDIUM_BEST) |
#define UDC_RESUME_EVENT | ( | ) | main_resume_action() |
Referenced by if().
#define UDC_SOF_EVENT | ( | ) | main_sof_action() |
#define UDC_SUSPEND_EVENT | ( | ) | main_suspend_action() |
Referenced by if().
#define UDC_VBUS_EVENT | ( | b_vbus_high | ) |
Device speeds support Low speed is not authorized.
USB Device Callbacks definitions (Optional)
Referenced by udd_vbus_handler().
#define UDI_PHDC_DATAMSG_FORMAT USB_PHDC_DATAMSG_FORMAT_11073_20601 |
#define UDI_PHDC_DISABLE_EXT | ( | ) | main_phdc_disable() |
Referenced by udi_phdc_disable().
#define UDI_PHDC_ENABLE_EXT | ( | ) | main_phdc_enable() |
#define UDI_PHDC_QOS_IN (USB_PHDC_QOS_MEDIUM_BEST) |
Referenced by udi_phdc_senddata().
#define UDI_PHDC_QOS_OUT (USB_PHDC_QOS_MEDIUM_BEST) |
Referenced by udi_phdc_waitdata().
#define UDI_PHDC_SPECIALIZATION {0x1011} |
#define USB_DEVICE_ATTR (USB_CONFIG_ATTR_SELF_POWERED) |
#define USB_DEVICE_MAJOR_VERSION 1 |
#define USB_DEVICE_MANUFACTURE_NAME "ATMEL AVR" |
#define USB_DEVICE_MINOR_VERSION 0 |
#define USB_DEVICE_POWER 100 /* Consumption on Vbus line (mA) */ |
#define USB_DEVICE_PRODUCT_ID USB_PID_ATMEL_ASF_PHDC |
#define USB_DEVICE_PRODUCT_NAME "PHDC" |
#define USB_DEVICE_VENDOR_ID USB_VID_ATMEL |
USB Device Configuration.