Minor updates to the Benito programmer - remove redundant PORT register manipulations.
[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 table indicates what microcontrollers are compatible with this demo.
12 *
13 * - AT90USB1287
14 * - AT90USB1286
15 * - AT90USB647
16 * - AT90USB646
17 * - ATMEGA32U6
18 * - ATMEGA32U4
19 * - ATMEGA16U4
20 * - AT90USB162
21 * - AT90USB82
22 *
23 * \section SSec_Info USB Information:
24 *
25 * The following table gives a rundown of the USB utilization of this demo.
26 *
27 * <table>
28 * <tr>
29 * <td><b>USB Mode:</b></td>
30 * <td>Device</td>
31 * </tr>
32 * <tr>
33 * <td><b>USB Class:</b></td>
34 * <td>Mass Storage Device</td>
35 * </tr>
36 * <tr>
37 * <td><b>USB Subclass:</b></td>
38 * <td>Bulk-Only Transport</td>
39 * </tr>
40 * <tr>
41 * <td><b>Relevant Standards:</b></td>
42 * <td>USBIF Mass Storage Standard</td>
43 * <td>USB Bulk-Only Transport Standard</td>
44 * <td>SCSI Primary Commands Specification</td>
45 * <td>SCSI Block Commands Specification</td>
46 * </tr>
47 * <tr>
48 * <td><b>Usable Speeds:</b></td>
49 * <td>Full Speed Mode</td>
50 * </tr>
51 * </table>
52 *
53 * \section SSec_Description Project Description:
54 *
55 * Dual LUN Mass Storage demonstration application. This gives a simple
56 * reference application for implementing a multiple LUN USB Mass Storage
57 * device using the basic USB UFI drivers in all modern OSes (i.e. no
58 * special drivers required).
59 *
60 * On start-up the system will automatically enumerate and function as an
61 * external mass storage device with two LUNs (separate disks) which may
62 * be formatted and used in the same manner as commercial USB Mass Storage
63 * devices.
64 *
65 * You will need to format the mass storage drives upon first run of this
66 * demonstration - as the device acts only as a data block transport between
67 * the host and the storage media, it does not matter what file system is used,
68 * as the data interpretation is performed by the host and not the USB device.
69 *
70 * This demo is not restricted to only two LUNs; by changing the TOTAL_LUNS
71 * value in MassStorageDualLUN.h, any number of LUNs can be used (from 1 to
72 * 255), with each LUN being allocated an equal portion of the available
73 * Dataflash memory.
74 *
75 * The USB control endpoint is managed entirely by the library using endpoint
76 * interrupts, as the INTERRUPT_CONTROL_ENDPOINT option is enabled. This allows for
77 * the host to reset the Mass Storage device state during long transfers without
78 * the need for complicated polling logic.
79 *
80 * \section SSec_Options Project Options
81 *
82 * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
83 *
84 * <table>
85 * <tr>
86 * <td><b>Define Name:</b></td>
87 * <td><b>Location:</b></td>
88 * <td><b>Description:</b></td>
89 * </tr>
90 * <tr>
91 * <td>TOTAL_LUNS</td>
92 * <td>MassStorage.h</td>
93 * <td>Total number of Logical Units (drives) in the device. The total device capacity is shared equally between each drive
94 * - this can be set to any positive non-zero amount.</td>
95 * </tr>
96 * </table>
97 */