Make XPLAINBridge serial bridge much more reliable for the reception of characters...
[pub/USBasp.git] / Demos / Device / ClassDriver / MassStorage / MassStorage.txt
1 /** \file
2 *
3 * This file contains special DoxyGen information for the generation of the main page and other special
4 * documentation pages. It is not a project source file.
5 */
6
7 /** \mainpage Mass Storage Device Demo
8 *
9 * \section SSec_Compat Demo Compatibility:
10 *
11 * The following list indicates what microcontrollers are compatible with this demo.
12 *
13 * - Series 7 USB AVRs
14 * - Series 6 USB AVRs
15 * - Series 4 USB AVRs
16 * - Series 2 USB AVRs
17 *
18 * \section SSec_Info USB Information:
19 *
20 * The following table gives a rundown of the USB utilization of this demo.
21 *
22 * <table>
23 * <tr>
24 * <td><b>USB Mode:</b></td>
25 * <td>Device</td>
26 * </tr>
27 * <tr>
28 * <td><b>USB Class:</b></td>
29 * <td>Mass Storage Device</td>
30 * </tr>
31 * <tr>
32 * <td><b>USB Subclass:</b></td>
33 * <td>Bulk-Only Transport</td>
34 * </tr>
35 * <tr>
36 * <td><b>Relevant Standards:</b></td>
37 * <td>USBIF Mass Storage Standard \n
38 * USB Bulk-Only Transport Standard \n
39 * SCSI Primary Commands Specification \n
40 * SCSI Block Commands Specification</td>
41 * </tr>
42 * <tr>
43 * <td><b>Usable Speeds:</b></td>
44 * <td>Full Speed Mode</td>
45 * </tr>
46 * </table>
47 *
48 * \section SSec_Description Project Description:
49 *
50 * Dual LUN Mass Storage demonstration application. This gives a simple
51 * reference application for implementing a multiple LUN USB Mass Storage
52 * device using the basic USB UFI drivers in all modern OSes (i.e. no
53 * special drivers required).
54 *
55 * On start-up the system will automatically enumerate and function as an
56 * external mass storage device with two LUNs (separate disks) which may
57 * be formatted and used in the same manner as commercial USB Mass Storage
58 * devices.
59 *
60 * You will need to format the mass storage drives upon first run of this
61 * demonstration - as the device acts only as a data block transport between
62 * the host and the storage media, it does not matter what file system is used,
63 * as the data interpretation is performed by the host and not the USB device.
64 *
65 * This demo is not restricted to only two LUNs; by changing the TOTAL_LUNS
66 * value in MassStorageDualLUN.h, any number of LUNs can be used (from 1 to
67 * 255), with each LUN being allocated an equal portion of the available
68 * Dataflash memory.
69 *
70 * The USB control endpoint is managed entirely by the library using endpoint
71 * interrupts, as the INTERRUPT_CONTROL_ENDPOINT option is enabled. This allows for
72 * the host to reset the Mass Storage device state during long transfers without
73 * the need for complicated polling logic.
74 *
75 * \section SSec_Options Project Options
76 *
77 * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
78 *
79 * <table>
80 * <tr>
81 * <td><b>Define Name:</b></td>
82 * <td><b>Location:</b></td>
83 * <td><b>Description:</b></td>
84 * </tr>
85 * <tr>
86 * <td>TOTAL_LUNS</td>
87 * <td>MassStorage.h</td>
88 * <td>Total number of Logical Units (drives) in the device. The total device capacity is shared equally between each drive
89 * - this can be set to any positive non-zero amount.</td>
90 * </tr>
91 * </table>
92 */