- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

# apps/mass-storage/include/app/config_usb.h

Go to the documentation of this file.

    00001
    00041 #ifndef APP_CONFIG_USB_H_INCLUDED
    00042 #define APP_CONFIG_USB_H_INCLUDED
    00043
    00044 #include <app/version.h>
    00045
    00047 #define CONFIG_USB_NR_REQUESTS                  4
    00048
    00050
    00051 #define CONFIG_USB_FUNC_DEVICE_CLASS            0x00
    00052 #define CONFIG_USB_FUNC_DEVICE_SUBCLASS         0x00
    00053 #define CONFIG_USB_FUNC_DEVICE_PROTOCOL         0x00
    00054 #define CONFIG_USB_FUNC_VENDOR_ID               0x03eb  /* Atmel Corp. */
    00055 #define CONFIG_USB_FUNC_PRODUCT_ID              0x2112
    00056 #define CONFIG_USB_FUNC_MAJOR_VERSION           0
    00057 #define CONFIG_USB_FUNC_MINOR_VERSION           1
    00058 #define CONFIG_USB_FUNC_NR_CONFIGURATIONS       1
    00059 #define CONFIG_USB_FUNC_MAXPACKETSIZE0          64
    00060
    00061
    00066 #define CONFIG_MSC_BULK_INTERFACE_ID            0
    00067
    00068
    00070
    00071 #define CONFIG_MSC_BULK_IN_EP                   1
    00072 #define CONFIG_MSC_BULK_OUT_EP                  2
    00073 #define CONFIG_USBB_NR_EP                       3
    00074
    00075
    00077 #define CONFIG_MSC_BULK_NR_BANKS                1
    00078
    00079 #define CONFIG_MSC_INQ_VENDOR_ID                        \
    00080         'A', 't', 'm', 'e', 'l', ' ', ' ', ' '
    00081
    00082 #define CONFIG_MSC_INQ_PRODUCT_ID                       \
    00083         'U', 'S', 'B', ' ', 'M', 'a', 's', 's',         \
    00084         ' ', 'S', 't', 'o', 'r', 'a', 'g', 'e'
    00085
    00086 #define CONFIG_MSC_INQ_PRODUCT_VERSION                  \
    00087         '0' + 0, '.', '0' + 1, ' '
    00088
    00089 extern const char *get_serial_number(void);
    00090
    00092 #define CONFIG_USBB_NR_DMA_DESCRIPTORS          16
    00093
    00094 #define CONFIG_UDC_HIGH_SPEED           1
    00095 #define CONFIG_UDC_FULL_SPEED           1
    00096
    00097 #endif /* APP_CONFIG_USB_H_INCLUDED */