projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor documentation page updates.
[pub/lufa.git]
/
Demos
/
Device
/
MassStorage
/
MassStorage.h
diff --git
a/Demos/Device/MassStorage/MassStorage.h
b/Demos/Device/MassStorage/MassStorage.h
index
a50edac
..
50a7725
100644
(file)
--- a/
Demos/Device/MassStorage/MassStorage.h
+++ b/
Demos/Device/MassStorage/MassStorage.h
@@
-54,12
+54,22
@@
#include <LUFA/Drivers/USB/Class/Device/MassStorage.h>
\r
/* Macros: */
\r
#include <LUFA/Drivers/USB/Class/Device/MassStorage.h>
\r
/* Macros: */
\r
+ /** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
\r
#define LEDMASK_USB_NOTREADY LEDS_LED1
\r
#define LEDMASK_USB_NOTREADY LEDS_LED1
\r
+
\r
+ /** LED mask for the library LED driver, to indicate that the USB interface is enumerating. */
\r
#define LEDMASK_USB_ENUMERATING (LEDS_LED2 | LEDS_LED3)
\r
#define LEDMASK_USB_ENUMERATING (LEDS_LED2 | LEDS_LED3)
\r
+
\r
+ /** LED mask for the library LED driver, to indicate that the USB interface is ready. */
\r
#define LEDMASK_USB_READY (LEDS_LED2 | LEDS_LED4)
\r
#define LEDMASK_USB_READY (LEDS_LED2 | LEDS_LED4)
\r
+
\r
+ /** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */
\r
#define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)
\r
#define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)
\r
- #define LEDMASK_USB_BUSY LEDS_LED2
\r
+
\r
+ /** LED mask for the library LED driver, to indicate that the USB interface is busy. */
\r
+ #define LEDMASK_USB_BUSY (LEDS_LED2)
\r
\r
\r
+ /** Total number of logical drives within the device - must be non-zero. */
\r
#define TOTAL_LUNS 2
\r
\r
/** Blocks in each LUN, calculated from the total capacity divided by the total number of Logical Units in the device. */
\r
#define TOTAL_LUNS 2
\r
\r
/** Blocks in each LUN, calculated from the total capacity divided by the total number of Logical Units in the device. */
\r