apps/mass-storage/include/app/config_usb.h File Reference

Application-specific USB configuration parameters. More...

#include <app/version.h>

Include dependency graph for config_usb.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CONFIG_USB_NR_REQUESTS   4
 Number of struct usb_request objects in the request pool.
#define CONFIG_MSC_BULK_NR_BANKS   1
 Number of banks for the mass storage bulk endpoints.
#define CONFIG_MSC_INQ_VENDOR_ID   'A', 't', 'm', 'e', 'l', ' ', ' ', ' '
 Vendor ID in INQUIRY response (8 bytes).
#define CONFIG_MSC_INQ_PRODUCT_ID
 Product ID in INQUIRY response (16 bytes).
#define CONFIG_MSC_INQ_PRODUCT_VERSION   '0' + 0, '.', '0' + 1, ' '
 Product Version in INQUIRY response (4 bytes).
#define CONFIG_USBB_NR_DMA_DESCRIPTORS   16
 Number of DMA descriptors in the pool.
#define CONFIG_USB_FUNC_DEVICE_CLASS   0x00
 USB device descriptor definitions.
#define CONFIG_MSC_BULK_INTERFACE_ID   0
 wMaxPacketSize for ep0
#define CONFIG_MSC_BULK_IN_EP   1
 USB device endpoint IDs.


Detailed Description

Application-specific USB configuration parameters.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file config_usb.h.


Define Documentation

#define CONFIG_MSC_BULK_IN_EP   1

USB device endpoint IDs.

Definition at line 71 of file config_usb.h.

#define CONFIG_MSC_BULK_INTERFACE_ID   0

wMaxPacketSize for ep0

USB device interface IDs

Definition at line 66 of file config_usb.h.

#define CONFIG_MSC_BULK_NR_BANKS   1

Number of banks for the mass storage bulk endpoints.

Definition at line 77 of file config_usb.h.

#define CONFIG_MSC_INQ_PRODUCT_ID

Value:

'U', 'S', 'B', ' ', 'M', 'a', 's', 's',         \
        ' ', 'S', 't', 'o', 'r', 'a', 'g', 'e'
Product ID in INQUIRY response (16 bytes).

Definition at line 82 of file config_usb.h.

#define CONFIG_MSC_INQ_PRODUCT_VERSION   '0' + 0, '.', '0' + 1, ' '

Product Version in INQUIRY response (4 bytes).

Definition at line 86 of file config_usb.h.

#define CONFIG_MSC_INQ_VENDOR_ID   'A', 't', 'm', 'e', 'l', ' ', ' ', ' '

Vendor ID in INQUIRY response (8 bytes).

Definition at line 79 of file config_usb.h.

#define CONFIG_USB_FUNC_DEVICE_CLASS   0x00

USB device descriptor definitions.

Definition at line 51 of file config_usb.h.

#define CONFIG_USB_NR_REQUESTS   4

Number of struct usb_request objects in the request pool.

Definition at line 47 of file config_usb.h.

Referenced by usb_init().

#define CONFIG_USBB_NR_DMA_DESCRIPTORS   16

Number of DMA descriptors in the pool.

Definition at line 92 of file config_usb.h.


Generated on Tue Sep 15 10:17:35 2009 for libavr32 by  doxygen 1.5.8