USB configuration file.
Copyright (c) 2009-2018 Microchip Technology Inc. and its subsidiaries.
#define UDC_REMOTEWAKEUP_DISABLE | ( | ) | main_remotewakeup_disable() |
Referenced by udc_req_std_dev_clear_feature(), and udc_reset().
#define UDC_REMOTEWAKEUP_ENABLE | ( | ) | main_remotewakeup_enable() |
Mandatory when USB_DEVICE_ATTR authorizes remote wakeup feature.
Referenced by udc_req_std_dev_set_feature().
#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.
To define a Low speed device To authorize the High speed USB Device Callbacks definitions (Optional)
Referenced by udd_vbus_handler().
#define UDI_HID_KBD_CHANGE_LED | ( | value | ) | ui_kbd_led(value) |
Referenced by udi_hid_kbd_setreport_valid().
#define UDI_HID_KBD_DISABLE_EXT | ( | ) | main_kbd_disable() |
Referenced by udi_hid_kbd_disable().
#define UDI_HID_KBD_ENABLE_EXT | ( | ) | main_kbd_enable() |
When a extra string descriptor must be supported other than manufacturer, product and serial string.
USB Interface Configuration Configuration of HID Keyboard interfaceInterface callback definition
Referenced by udi_hid_kbd_enable().
#define USB_DEVICE_ATTR (USB_CONFIG_ATTR_REMOTE_WAKEUP|USB_CONFIG_ATTR_SELF_POWERED) |
#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_HIDKEYBOARD |
#define USB_DEVICE_PRODUCT_NAME "HID Keyboard" |
#define USB_DEVICE_VENDOR_ID USB_VID_ATMEL |
USB Device Configuration.
Device definition (mandatory)