MAV'RIC
|
USB configuration file for CDC application. More...
#include "libs/asf/avr32/utils/compiler.h"
#include "libs/asf/common/services/usb/class/cdc/device/udi_cdc_conf.h"
#include <stdio_usb.h>
Go to the source code of this file.
Defines | |
#define | USB_DEVICE_VENDOR_ID USB_VID_ATMEL |
Device definition (mandatory) | |
#define | USB_DEVICE_PRODUCT_ID USB_PID_ATMEL_AVR_CDC |
#define | USB_DEVICE_MAJOR_VERSION 1 |
#define | USB_DEVICE_MINOR_VERSION 0 |
#define | USB_DEVICE_POWER 100 |
#define | USB_DEVICE_MANUFACTURE_NAME "ATMEL AVR" |
#define | USB_DEVICE_PRODUCT_NAME "CDC" |
#define | USB_DEVICE_ATTR (USB_CONFIG_ATTR_SELF_POWERED) |
#define | UDC_VBUS_EVENT(b_vbus_high) stdio_usb_vbus_event(b_vbus_high) |
USB Device string definitions (Optional) | |
#define | UDC_SOF_EVENT() |
#define | UDC_SUSPEND_EVENT() |
#define | UDC_RESUME_EVENT() |
#define | UDI_CDC_ENABLE_EXT() stdio_usb_enable() |
Mandatory when USB_DEVICE_ATTR authorizes remote wakeup feature. | |
#define | UDI_CDC_DISABLE_EXT() stdio_usb_disable() |
#define | UDI_CDC_RX_NOTIFY() usb_interupt_rx_notify() |
#define | UDI_CDC_SET_CODING_EXT(cfg) |
#define | UDI_CDC_SET_DTR_EXT(set) |
#define | UDI_CDC_SET_RTS_EXT(set) |
#define | UDI_CDC_LOW_RATE |
#define | UDI_CDC_DEFAULT_RATE 57600 |
Default configuration of communication port. | |
#define | UDI_CDC_DEFAULT_STOPBITS CDC_STOP_BITS_1 |
#define | UDI_CDC_DEFAULT_PARITY CDC_PAR_NONE |
#define | UDI_CDC_DEFAULT_DATABITS 8 |
void | usb_interupt_rx_notify (void) |
USB configuration file for CDC application.
Copyright (C) 2009 Atmel Corporation. All rights reserved.
#define UDC_VBUS_EVENT | ( | b_vbus_high | ) | stdio_usb_vbus_event(b_vbus_high) |
USB Device string definitions (Optional)
Device speeds support Low speed not supported by CDC To authorize the High speed USB Device Callbacks definitions (Optional)
#define UDI_CDC_ENABLE_EXT | ( | ) | stdio_usb_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 CDC interface Interface callback definition
#define UDI_CDC_LOW_RATE |
Define it when the transfer CDC Device to Host is a low rate (<512000 bauds) to reduce CDC buffers size
#define USB_DEVICE_VENDOR_ID USB_VID_ATMEL |
Device definition (mandatory)
USB Device Configuration