- /* Enums: */\r
- /** Enum for the possible status codes for passing to the UpdateStatus() function. */\r
- enum StillImageHost_StatusCodes_t\r
- {\r
- Status_USBNotReady = 0, /**< USB is not ready (disconnected from a USB device) */\r
- Status_USBEnumerating = 1, /**< USB interface is enumerating */\r
- Status_USBReady = 2, /**< USB interface is connected and ready */\r
- Status_EnumerationError = 3, /**< Software error while enumerating the attached USB device */\r
- Status_HardwareError = 4, /**< Hardware error while enumerating the attached USB device */\r
- Status_Busy = 5, /**< Busy reading or writing to the attached Still Image device */\r
- Status_PIMACommandError = 6, /**< Error while sending or receiving a PIM command to the attached device */\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