Add briefs for the library core structures.

pull/1469/head
Dean Camera 15 years ago
parent 0557676013
commit 9257f4ab8e

@ -74,7 +74,7 @@ void TCP_TCPTask(USB_ClassInfo_RNDIS_Device_t* RNDISInterfaceInfo)
} }
/* Get pointer to the output frame info struct for convenience */ /* Get pointer to the output frame info struct for convenience */
Ethernet_Frame_Info_t* FrameOUT = (Ethernet_Frame_Info_t*)&RNDISInterfaceInfo->State.FrameOUT; Ethernet_Frame_Info_t* FrameOUT = &RNDISInterfaceInfo->State.FrameOUT;
/* Bail out early if there is already a frame waiting to be sent in the Ethernet OUT buffer */ /* Bail out early if there is already a frame waiting to be sent in the Ethernet OUT buffer */
if (FrameOUT->FrameInBuffer) if (FrameOUT->FrameInBuffer)

File diff suppressed because one or more lines are too long

@ -74,7 +74,7 @@ BRIEF_MEMBER_DESC = YES
# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the # Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
# brief descriptions will be completely suppressed. # brief descriptions will be completely suppressed.
REPEAT_BRIEF = YES REPEAT_BRIEF = NO
# This tag implements a quasi-intelligent brief description abbreviator # This tag implements a quasi-intelligent brief description abbreviator
# that is used to form the text in various listings. Each string # that is used to form the text in various listings. Each string

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Buttons driver header for the ATAVRUSBRF01. * \brief Board specific Buttons driver header for the ATAVRUSBRF01.
* *
* Board specific Buttons driver header for the ATAVRUSBRF01.
*
* \note This file should not be included directly. It is automatically included as needed by the Buttons driver * \note This file should not be included directly. It is automatically included as needed by the Buttons driver
* dispatch header located in LUFA/Drivers/Board/Buttons.h. * dispatch header located in LUFA/Drivers/Board/Buttons.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific LED driver header for the ATAVRUSBRF01. * \brief Board specific LED driver header for the ATAVRUSBRF01.
* *
* Board specific LED driver header for the ATAVRUSBRF01.
*
* \note This file should not be included directly. It is automatically included as needed by the LEDs driver * \note This file should not be included directly. It is automatically included as needed by the LEDs driver
* dispatch header located in LUFA/Drivers/Board/LEDs.h. * dispatch header located in LUFA/Drivers/Board/LEDs.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Buttons driver header for the BUMBLEB. * \brief Board specific Buttons driver header for the BUMBLEB.
* *
* Board specific Buttons driver header for the BUMBLEB.
*
* The BUMBLEB third-party board does not include any on-board peripherals, but does have an officially recommended * The BUMBLEB third-party board does not include any on-board peripherals, but does have an officially recommended
* external peripheral layout for buttons, LEDs and a Joystick. * external peripheral layout for buttons, LEDs and a Joystick.
* *

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific joystick driver header for the BUMLEB. * \brief Board specific joystick driver header for the BUMLEB.
* *
* Board specific joystick driver header for the BUMLEB.
*
* The BUMBLEB third-party board does not include any on-board peripherals, but does have an officially recommended * The BUMBLEB third-party board does not include any on-board peripherals, but does have an officially recommended
* external peripheral layout for buttons, LEDs and a Joystick. * external peripheral layout for buttons, LEDs and a Joystick.
* *

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific LED driver header for the BUMBLEB. * \brief Board specific LED driver header for the BUMBLEB.
* *
* Board specific LED driver header for the BUMBLEB.
*
* The BUMBLEB third-party board does not include any on-board peripherals, but does have an officially recommended * The BUMBLEB third-party board does not include any on-board peripherals, but does have an officially recommended
* external peripheral layout for buttons, LEDs and a Joystick. * external peripheral layout for buttons, LEDs and a Joystick.
* *

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Dataflash commands header for the AT45DB321C as mounted on the EVK527. * \brief Board specific Dataflash commands header for the AT45DB321C as mounted on the EVK527.
* *
* Board specific Dataflash commands header for the AT45DB321C as mounted on the EVK527.
*
* \note This file should not be included directly. It is automatically included as needed by the dataflash driver * \note This file should not be included directly. It is automatically included as needed by the dataflash driver
* dispatch header located in LUFA/Drivers/Board/Dataflash.h. * dispatch header located in LUFA/Drivers/Board/Dataflash.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Buttons driver header for the EVK527. * \brief Board specific Buttons driver header for the EVK527.
* *
* Board specific Buttons driver header for the EVK527.
*
* \note This file should not be included directly. It is automatically included as needed by the Buttons driver * \note This file should not be included directly. It is automatically included as needed by the Buttons driver
* dispatch header located in LUFA/Drivers/Board/Buttons.h. * dispatch header located in LUFA/Drivers/Board/Buttons.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Dataflash driver header for the EVK527. * \brief Board specific Dataflash driver header for the EVK527.
* *
* Board specific Dataflash driver header for the EVK527.
*
* \note This file should not be included directly. It is automatically included as needed by the dataflash driver * \note This file should not be included directly. It is automatically included as needed by the dataflash driver
* dispatch header located in LUFA/Drivers/Board/Dataflash.h. * dispatch header located in LUFA/Drivers/Board/Dataflash.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific joystick driver header for the EVK527. * \brief Board specific joystick driver header for the EVK527.
* *
* Board specific joystick driver header for the EVK527.
*
* \note This file should not be included directly. It is automatically included as needed by the joystick driver * \note This file should not be included directly. It is automatically included as needed by the joystick driver
* dispatch header located in LUFA/Drivers/Board/Joystick.h. * dispatch header located in LUFA/Drivers/Board/Joystick.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific LED driver header for the EVK527. * \brief Board specific LED driver header for the EVK527.
* *
* Board specific LED driver header for the EVK527.
*
* \note This file should not be included directly. It is automatically included as needed by the LEDs driver * \note This file should not be included directly. It is automatically included as needed by the LEDs driver
* dispatch header located in LUFA/Drivers/Board/LEDs.h. * dispatch header located in LUFA/Drivers/Board/LEDs.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific LED driver header for the RZUSBSTICK. * \brief Board specific LED driver header for the RZUSBSTICK.
* *
* Board specific LED driver header for the RZUSBSTICK.
*
* \note This file should not be included directly. It is automatically included as needed by the LEDs driver * \note This file should not be included directly. It is automatically included as needed by the LEDs driver
* dispatch header located in LUFA/Drivers/Board/LEDs.h. * dispatch header located in LUFA/Drivers/Board/LEDs.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Dataflash commands header for the AT45DB321C as mounted on the STK525. * \brief Board specific Dataflash commands header for the AT45DB321C as mounted on the STK525.
* *
* Board specific Dataflash commands header for the AT45DB321C as mounted on the STK525.
*
* \note This file should not be included directly. It is automatically included as needed by the dataflash driver * \note This file should not be included directly. It is automatically included as needed by the dataflash driver
* dispatch header located in LUFA/Drivers/Board/Dataflash.h. * dispatch header located in LUFA/Drivers/Board/Dataflash.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Buttons driver header for the STK525. * \brief Board specific Buttons driver header for the STK525.
* *
* Board specific Buttons driver header for the STK525.
*
* \note This file should not be included directly. It is automatically included as needed by the Buttons driver * \note This file should not be included directly. It is automatically included as needed by the Buttons driver
* dispatch header located in LUFA/Drivers/Board/Buttons.h. * dispatch header located in LUFA/Drivers/Board/Buttons.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Dataflash driver header for the STK525. * \brief Board specific Dataflash driver header for the STK525.
* *
* Board specific Dataflash driver header for the STK525.
*
* \note This file should not be included directly. It is automatically included as needed by the dataflash driver * \note This file should not be included directly. It is automatically included as needed by the dataflash driver
* dispatch header located in LUFA/Drivers/Board/Dataflash.h. * dispatch header located in LUFA/Drivers/Board/Dataflash.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific joystick driver header for the STK525. * \brief Board specific joystick driver header for the STK525.
* *
* Board specific joystick driver header for the STK525.
*
* \note This file should not be included directly. It is automatically included as needed by the joystick driver * \note This file should not be included directly. It is automatically included as needed by the joystick driver
* dispatch header located in LUFA/Drivers/Board/Joystick.h. * dispatch header located in LUFA/Drivers/Board/Joystick.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific LED driver header for the STK525. * \brief Board specific LED driver header for the STK525.
* *
* Board specific LED driver header for the STK525.
*
* \note This file should not be included directly. It is automatically included as needed by the LEDs driver * \note This file should not be included directly. It is automatically included as needed by the LEDs driver
* dispatch header located in LUFA/Drivers/Board/LEDs.h. * dispatch header located in LUFA/Drivers/Board/LEDs.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Dataflash commands header for the AT45DB642D as mounted on the STK526. * \brief Board specific Dataflash commands header for the AT45DB642D as mounted on the STK526.
* *
* Board specific Dataflash commands header for the AT45DB642D as mounted on the STK526.
*
* \note This file should not be included directly. It is automatically included as needed by the dataflash driver * \note This file should not be included directly. It is automatically included as needed by the dataflash driver
* dispatch header located in LUFA/Drivers/Board/Dataflash.h. * dispatch header located in LUFA/Drivers/Board/Dataflash.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Buttons driver header for the STK526. * \brief Board specific Buttons driver header for the STK526.
* *
* Board specific Buttons driver header for the STK526.
*
* \note This file should not be included directly. It is automatically included as needed by the Buttons driver * \note This file should not be included directly. It is automatically included as needed by the Buttons driver
* dispatch header located in LUFA/Drivers/Board/Buttons.h. * dispatch header located in LUFA/Drivers/Board/Buttons.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Dataflash driver header for the STK525. * \brief Board specific Dataflash driver header for the STK525.
* *
* Board specific Dataflash driver header for the STK525.
*
* \note This file should not be included directly. It is automatically included as needed by the dataflash driver * \note This file should not be included directly. It is automatically included as needed by the dataflash driver
* dispatch header located in LUFA/Drivers/Board/Dataflash.h. * dispatch header located in LUFA/Drivers/Board/Dataflash.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific joystick driver header for the STK526. * \brief Board specific joystick driver header for the STK526.
* *
* Board specific joystick driver header for the STK526.
*
* \note This file should not be included directly. It is automatically included as needed by the joystick driver * \note This file should not be included directly. It is automatically included as needed by the joystick driver
* dispatch header located in LUFA/Drivers/Board/Joystick.h. * dispatch header located in LUFA/Drivers/Board/Joystick.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific LED driver header for the STK526. * \brief Board specific LED driver header for the STK526.
* *
* Board specific LED driver header for the STK526.
*
* \note This file should not be included directly. It is automatically included as needed by the LEDs driver * \note This file should not be included directly. It is automatically included as needed by the LEDs driver
* dispatch header located in LUFA/Drivers/Board/LEDs.h. * dispatch header located in LUFA/Drivers/Board/LEDs.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific LED driver header for the PJRC Teensy boards. * \brief Board specific LED driver header for the PJRC Teensy boards.
* *
* Board specific LED driver header for the PJRC Teensy boards.
*
* \note This file should not be included directly. It is automatically included as needed by the LEDs driver * \note This file should not be included directly. It is automatically included as needed by the LEDs driver
* dispatch header located in LUFA/Drivers/Board/LEDs.h. * dispatch header located in LUFA/Drivers/Board/LEDs.h.
*/ */

@ -31,7 +31,7 @@
/** \file /** \file
* \brief Master include file for the board temperature sensor driver. * \brief Master include file for the board temperature sensor driver.
* *
* Temperature sensor board driver for the USB boards which contain a temperature sensor. * Master include file for the board temperature sensor driver, for the USB boards which contain a temperature sensor.
*/ */
/** \ingroup Group_BoardDrivers /** \ingroup Group_BoardDrivers

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Dataflash commands header for the AT45DB642D as mounted on the USBKEY. * \brief Board specific Dataflash commands header for the AT45DB642D as mounted on the USBKEY.
* *
* Board specific Dataflash commands header for the AT45DB642D as mounted on the USBKEY.
*
* \note This file should not be included directly. It is automatically included as needed by the dataflash driver * \note This file should not be included directly. It is automatically included as needed by the dataflash driver
* dispatch header located in LUFA/Drivers/Board/Dataflash.h. * dispatch header located in LUFA/Drivers/Board/Dataflash.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Buttons driver header for the USBKEY. * \brief Board specific Buttons driver header for the USBKEY.
* *
* Board specific Buttons driver header for the USBKEY.
*
* \note This file should not be included directly. It is automatically included as needed by the Buttons driver * \note This file should not be included directly. It is automatically included as needed by the Buttons driver
* dispatch header located in LUFA/Drivers/Board/Buttons.h. * dispatch header located in LUFA/Drivers/Board/Buttons.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Dataflash driver header for the USBKEY. * \brief Board specific Dataflash driver header for the USBKEY.
* *
* Board specific Dataflash driver header for the USBKEY.
*
* \note This file should not be included directly. It is automatically included as needed by the dataflash driver * \note This file should not be included directly. It is automatically included as needed by the dataflash driver
* dispatch header located in LUFA/Drivers/Board/Dataflash.h. * dispatch header located in LUFA/Drivers/Board/Dataflash.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific joystick driver header for the USBKEY. * \brief Board specific joystick driver header for the USBKEY.
* *
* Board specific joystick driver header for the USBKEY.
*
* \note This file should not be included directly. It is automatically included as needed by the joystick driver * \note This file should not be included directly. It is automatically included as needed by the joystick driver
* dispatch header located in LUFA/Drivers/Board/Joystick.h. * dispatch header located in LUFA/Drivers/Board/Joystick.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific LED driver header for the USBKEY. * \brief Board specific LED driver header for the USBKEY.
* *
* Board specific LED driver header for the USBKEY.
*
* \note This file should not be included directly. It is automatically included as needed by the LEDs driver * \note This file should not be included directly. It is automatically included as needed by the LEDs driver
* dispatch header located in LUFA/Drivers/Board/LEDs.h. * dispatch header located in LUFA/Drivers/Board/LEDs.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Dataflash commands header for the AT45DB642D as mounted on the XPLAIN. * \brief Board specific Dataflash commands header for the AT45DB642D as mounted on the XPLAIN.
* *
* Board specific Dataflash commands header for the AT45DB642D as mounted on the XPLAIN.
*
* \note This file should not be included directly. It is automatically included as needed by the dataflash driver * \note This file should not be included directly. It is automatically included as needed by the dataflash driver
* dispatch header located in LUFA/Drivers/Board/Dataflash.h. * dispatch header located in LUFA/Drivers/Board/Dataflash.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific Dataflash driver header for the XPLAIN. * \brief Board specific Dataflash driver header for the XPLAIN.
* *
* Board specific Dataflash driver header for the XPLAIN.
*
* \note This file should not be included directly. It is automatically included as needed by the dataflash driver * \note This file should not be included directly. It is automatically included as needed by the dataflash driver
* dispatch header located in LUFA/Drivers/Board/Dataflash.h. * dispatch header located in LUFA/Drivers/Board/Dataflash.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Board specific LED driver header for the XPLAIN. * \brief Board specific LED driver header for the XPLAIN.
* *
* Board specific LED driver header for the XPLAIN.
*
* \note This file should not be included directly. It is automatically included as needed by the LEDs driver * \note This file should not be included directly. It is automatically included as needed by the LEDs driver
* dispatch header located in LUFA/Drivers/Board/LEDs.h. * dispatch header located in LUFA/Drivers/Board/LEDs.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Master include file for the library USB Audio Class driver. * \brief Master include file for the library USB Audio Class driver.
* *
* Master include file for the library USB Audio Class driver, for both host and device modes, where available.
*
* This file should be included in all user projects making use of this optional class driver, instead of * This file should be included in all user projects making use of this optional class driver, instead of
* including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories. * including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Master include file for the library USB CDC-ACM Class driver. * \brief Master include file for the library USB CDC-ACM Class driver.
* *
* Master include file for the library USB CDC Class driver, for both host and device modes, where available.
*
* This file should be included in all user projects making use of this optional class driver, instead of * This file should be included in all user projects making use of this optional class driver, instead of
* including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories. * including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Common definitions and declarations for the library USB Audio Class driver. * \brief Common definitions and declarations for the library USB Audio Class driver.
* *
* Common definitions and declarations for the library USB Audio Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/Audio.h. * dispatch header located in LUFA/Drivers/USB/Class/Audio.h.
*/ */
@ -234,7 +236,9 @@
#define EP_ACCEPTS_SMALL_PACKETS (0 << 7) #define EP_ACCEPTS_SMALL_PACKETS (0 << 7)
/* Type Defines: */ /* Type Defines: */
/** Type define for an Audio class specific interface descriptor. This follows a regular interface descriptor to /** \brief Audio Class Specific Interface Descriptor.
*
* Type define for an Audio class specific interface descriptor. This follows a regular interface descriptor to
* supply extra information about the audio device's layout to the host. See the USB Audio specification for more * supply extra information about the audio device's layout to the host. See the USB Audio specification for more
* details. * details.
*/ */
@ -250,7 +254,9 @@
uint8_t InterfaceNumbers[1]; /**< Interface numbers of each audio interface */ uint8_t InterfaceNumbers[1]; /**< Interface numbers of each audio interface */
} USB_Audio_Interface_AC_t; } USB_Audio_Interface_AC_t;
/** Type define for an Audio class specific Feature Unit descriptor. This indicates to the host what features /** \brief Audio Class Specific Feature Unit Descriptor.
*
* Type define for an Audio class specific Feature Unit descriptor. This indicates to the host what features
* are present in the device's audio stream for basic control, such as per-channel volume. See the USB Audio * are present in the device's audio stream for basic control, such as per-channel volume. See the USB Audio
* specification for more details. * specification for more details.
*/ */
@ -268,7 +274,9 @@
uint8_t FeatureUnitStrIndex; /**< Index of a string descriptor describing this descriptor within the device */ uint8_t FeatureUnitStrIndex; /**< Index of a string descriptor describing this descriptor within the device */
} USB_Audio_FeatureUnit_t; } USB_Audio_FeatureUnit_t;
/** Type define for an Audio class specific input terminal descriptor. This indicates to the host that the device /** \brief Audio Class Specific Input Terminal Descriptor.
*
* Type define for an Audio class specific input terminal descriptor. This indicates to the host that the device
* contains an input audio source, either from a physical terminal on the device, or a logical terminal (for example, * contains an input audio source, either from a physical terminal on the device, or a logical terminal (for example,
* a USB endpoint). See the USB Audio specification for more details. * a USB endpoint). See the USB Audio specification for more details.
*/ */
@ -289,7 +297,9 @@
uint8_t TerminalStrIndex; /**< Index of a string descriptor describing this descriptor within the device */ uint8_t TerminalStrIndex; /**< Index of a string descriptor describing this descriptor within the device */
} USB_Audio_InputTerminal_t; } USB_Audio_InputTerminal_t;
/** Type define for an Audio class specific output terminal descriptor. This indicates to the host that the device /** \brief Audio Class Specific Output Terminal Descriptor.
*
* Type define for an Audio class specific output terminal descriptor. This indicates to the host that the device
* contains an output audio sink, either to a physical terminal on the device, or a logical terminal (for example, * contains an output audio sink, either to a physical terminal on the device, or a logical terminal (for example,
* a USB endpoint). See the USB Audio specification for more details. * a USB endpoint). See the USB Audio specification for more details.
*/ */
@ -308,7 +318,9 @@
uint8_t TerminalStrIndex; /**< Index of a string descriptor describing this descriptor within the device */ uint8_t TerminalStrIndex; /**< Index of a string descriptor describing this descriptor within the device */
} USB_Audio_OutputTerminal_t; } USB_Audio_OutputTerminal_t;
/** Type define for an Audio class specific streaming interface descriptor. This indicates to the host /** \brief Audio Class Specific Streaming Audio Interface Descriptor.
*
* Type define for an Audio class specific streaming interface descriptor. This indicates to the host
* how audio streams within the device are formatted. See the USB Audio specification for more details. * how audio streams within the device are formatted. See the USB Audio specification for more details.
*/ */
typedef struct typedef struct
@ -322,7 +334,9 @@
uint16_t AudioFormat; /**< Format of the audio stream, see Audio Device Formats specification */ uint16_t AudioFormat; /**< Format of the audio stream, see Audio Device Formats specification */
} USB_Audio_Interface_AS_t; } USB_Audio_Interface_AS_t;
/** Type define for a 24bit audio sample frequency structure. GCC does not contain a built in 24bit datatype, /** \brief 24-Bit Audio Frequency Structure.
*
* Type define for a 24bit audio sample frequency structure. GCC does not contain a built in 24bit datatype,
* this this structure is used to build up the value instead. Fill this structure with the SAMPLE_FREQ() macro. * this this structure is used to build up the value instead. Fill this structure with the SAMPLE_FREQ() macro.
*/ */
typedef struct typedef struct
@ -331,7 +345,9 @@
uint8_t HighByte; /**< Upper 8 bits of the 24-bit value */ uint8_t HighByte; /**< Upper 8 bits of the 24-bit value */
} USB_Audio_SampleFreq_t; } USB_Audio_SampleFreq_t;
/** Type define for an Audio class specific audio format descriptor. This is used to give the host full details /** \brief Audio Class Specific Format Descriptor.
*
* Type define for an Audio class specific audio format descriptor. This is used to give the host full details
* about the number of channels, the sample resolution, acceptable sample frequencies and encoding method used * about the number of channels, the sample resolution, acceptable sample frequencies and encoding method used
* in the device's audio streams. See the USB Audio specification for more details. * in the device's audio streams. See the USB Audio specification for more details.
*/ */
@ -350,7 +366,9 @@
USB_Audio_SampleFreq_t SampleFrequencies[AUDIO_TOTAL_SAMPLE_RATES]; /**< Sample frequencies supported by the device */ USB_Audio_SampleFreq_t SampleFrequencies[AUDIO_TOTAL_SAMPLE_RATES]; /**< Sample frequencies supported by the device */
} USB_Audio_Format_t; } USB_Audio_Format_t;
/** Type define for an Audio class specific endpoint descriptor. This contains a regular endpoint /** \brief Audio Class Specific Streaming Endpoint Descriptor.
*
* Type define for an Audio class specific endpoint descriptor. This contains a regular endpoint
* descriptor with a few Audio-class specific extensions. See the USB Audio specification for more details. * descriptor with a few Audio-class specific extensions. See the USB Audio specification for more details.
*/ */
typedef struct typedef struct
@ -361,7 +379,9 @@
uint8_t SyncEndpointNumber; /**< Endpoint address to send synchronization information to, if needed (zero otherwise) */ uint8_t SyncEndpointNumber; /**< Endpoint address to send synchronization information to, if needed (zero otherwise) */
} USB_Audio_StreamEndpoint_Std_t; } USB_Audio_StreamEndpoint_Std_t;
/** Type define for an Audio class specific extended endpoint descriptor. This contains extra information /** \brief Audio Class Specific Extended Endpoint Descriptor.
*
* Type define for an Audio class specific extended endpoint descriptor. This contains extra information
* on the usage of endpoints used to stream audio in and out of the USB Audio device, and follows an Audio * on the usage of endpoints used to stream audio in and out of the USB Audio device, and follows an Audio
* class specific extended endpoint descriptor. See the USB Audio specification for more details. * class specific extended endpoint descriptor. See the USB Audio specification for more details.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Common definitions and declarations for the library USB CDC Class driver. * \brief Common definitions and declarations for the library USB CDC Class driver.
* *
* Common definitions and declarations for the library USB CDC Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/CDC.h. * dispatch header located in LUFA/Drivers/USB/Class/CDC.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Common definitions and declarations for the library USB HID Class driver. * \brief Common definitions and declarations for the library USB HID Class driver.
* *
* Common definitions and declarations for the library USB HID Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/HID.h. * dispatch header located in LUFA/Drivers/USB/Class/HID.h.
*/ */
@ -143,7 +145,9 @@
REPORT_ITEM_TYPE_Feature = 2, /**< Indicates that the item is a FEATURE report type. */ REPORT_ITEM_TYPE_Feature = 2, /**< Indicates that the item is a FEATURE report type. */
}; };
/** Type define for the HID class specific HID descriptor, to describe the HID device's specifications. Refer to the HID /** \brief HID Class Specific HID Descriptor.
*
* Type define for the HID class specific HID descriptor, to describe the HID device's specifications. Refer to the HID
* specification for details on the structure elements. * specification for details on the structure elements.
*/ */
typedef struct typedef struct
@ -159,7 +163,10 @@
uint16_t HIDReportLength; uint16_t HIDReportLength;
} USB_HID_Descriptor_t; } USB_HID_Descriptor_t;
/** Type define for a standard Boot Protocol Mouse report */ /** \brief Standard HID Boot Protocol Mouse Report.
*
* Type define for a standard Boot Protocol Mouse report
*/
typedef struct typedef struct
{ {
uint8_t Button; /**< Button mask for currently pressed buttons in the mouse */ uint8_t Button; /**< Button mask for currently pressed buttons in the mouse */
@ -167,7 +174,10 @@
int8_t Y; /**< Current delta Y movement on the mouse */ int8_t Y; /**< Current delta Y movement on the mouse */
} USB_MouseReport_Data_t; } USB_MouseReport_Data_t;
/** Type define for a standard Boot Protocol Keyboard report */ /** \brief Standard HID Boot Protocol Keyboard Report.
*
* Type define for a standard Boot Protocol Keyboard report
*/
typedef struct typedef struct
{ {
uint8_t Modifier; /**< Keyboard modifier byte, indicating pressed modifier keys (a combination of uint8_t Modifier; /**< Keyboard modifier byte, indicating pressed modifier keys (a combination of

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Common definitions and declarations for the library USB MIDI Class driver. * \brief Common definitions and declarations for the library USB MIDI Class driver.
* *
* Common definitions and declarations for the library USB MIDI Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/MIDI.h. * dispatch header located in LUFA/Drivers/USB/Class/MIDI.h.
*/ */
@ -97,7 +99,9 @@
#define MIDI_CHANNEL(channel) ((channel) - 1) #define MIDI_CHANNEL(channel) ((channel) - 1)
/* Type Defines: */ /* Type Defines: */
/** Type define for an Audio class specific MIDI streaming interface descriptor. This indicates to the host /** \brief MIDI Class Specific Streaming Interface Descriptor.
*
* Type define for an Audio class specific MIDI streaming interface descriptor. This indicates to the host
* how MIDI the specification compliance of the device and the total length of the Audio class specific descriptors. * how MIDI the specification compliance of the device and the total length of the Audio class specific descriptors.
* See the USB Audio specification for more details. * See the USB Audio specification for more details.
*/ */
@ -110,7 +114,9 @@
uint16_t TotalLength; /**< Total length of the Audio class specific descriptors, including this descriptor */ uint16_t TotalLength; /**< Total length of the Audio class specific descriptors, including this descriptor */
} USB_MIDI_AudioInterface_AS_t; } USB_MIDI_AudioInterface_AS_t;
/** Type define for an Audio class specific MIDI IN jack. This gives information to the host on a MIDI input, either /** \brief MIDI Class Specific Input Jack Descriptor.
*
* Type define for an Audio class specific MIDI IN jack. This gives information to the host on a MIDI input, either
* a physical input jack, or a logical jack (receiving input data internally, or from the host via an endpoint). * a physical input jack, or a logical jack (receiving input data internally, or from the host via an endpoint).
*/ */
typedef struct typedef struct
@ -124,7 +130,9 @@
uint8_t JackStrIndex; /**< Index of a string descriptor describing this descriptor within the device */ uint8_t JackStrIndex; /**< Index of a string descriptor describing this descriptor within the device */
} USB_MIDI_In_Jack_t; } USB_MIDI_In_Jack_t;
/** Type define for an Audio class specific MIDI OUT jack. This gives information to the host on a MIDI output, either /** \brief MIDI Class Specific Output Jack Descriptor.
*
* Type define for an Audio class specific MIDI OUT jack. This gives information to the host on a MIDI output, either
* a physical output jack, or a logical jack (sending output data internally, or to the host via an endpoint). * a physical output jack, or a logical jack (sending output data internally, or to the host via an endpoint).
*/ */
typedef struct typedef struct
@ -142,7 +150,9 @@
uint8_t JackStrIndex; /**< Index of a string descriptor describing this descriptor within the device */ uint8_t JackStrIndex; /**< Index of a string descriptor describing this descriptor within the device */
} USB_MIDI_Out_Jack_t; } USB_MIDI_Out_Jack_t;
/** Type define for an Audio class specific extended MIDI jack endpoint descriptor. This contains extra information /** \brief Audio Class Specific Jack Endpoint Descriptor.
*
* Type define for an Audio class specific extended MIDI jack endpoint descriptor. This contains extra information
* on the usage of MIDI endpoints used to stream MIDI events in and out of the USB Audio device, and follows an Audio * on the usage of MIDI endpoints used to stream MIDI events in and out of the USB Audio device, and follows an Audio
* class specific extended MIDI endpoint descriptor. See the USB Audio specification for more details. * class specific extended MIDI endpoint descriptor. See the USB Audio specification for more details.
*/ */
@ -155,7 +165,10 @@
uint8_t AssociatedJackID[1]; /**< IDs of each jack inside the endpoint */ uint8_t AssociatedJackID[1]; /**< IDs of each jack inside the endpoint */
} USB_MIDI_Jack_Endpoint_t; } USB_MIDI_Jack_Endpoint_t;
/** Type define for a USB MIDI event packet, used to encapsulate sent and received MIDI messages from a USB MIDI interface. */ /** \brief MIDI Class Driver Event Packet.
*
* Type define for a USB MIDI event packet, used to encapsulate sent and received MIDI messages from a USB MIDI interface.
*/
typedef struct typedef struct
{ {
unsigned char Command : 4; /**< Upper nibble of the MIDI command being sent or received in the event packet */ unsigned char Command : 4; /**< Upper nibble of the MIDI command being sent or received in the event packet */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Common definitions and declarations for the library USB Mass Storage Class driver. * \brief Common definitions and declarations for the library USB Mass Storage Class driver.
* *
* Common definitions and declarations for the library USB Mass Storage Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/MassStorage.h. * dispatch header located in LUFA/Drivers/USB/Class/MassStorage.h.
*/ */
@ -204,7 +206,9 @@
#define SCSI_ASENSEQ_OPERATION_IN_PROGRESS 0x07 #define SCSI_ASENSEQ_OPERATION_IN_PROGRESS 0x07
/* Type defines: */ /* Type defines: */
/** Type define for a Command Block Wrapper, used in the Mass Storage Bulk-Only Transport protocol. */ /** \brief Mass Storage Class Command Block Wrapper.
*
* Type define for a Command Block Wrapper, used in the Mass Storage Bulk-Only Transport protocol. */
typedef struct typedef struct
{ {
uint32_t Signature; /**< Command block signature, must be CBW_SIGNATURE to indicate a valid Command Block */ uint32_t Signature; /**< Command block signature, must be CBW_SIGNATURE to indicate a valid Command Block */
@ -216,7 +220,10 @@
uint8_t SCSICommandData[16]; /**< Issued SCSI command in the Command Block */ uint8_t SCSICommandData[16]; /**< Issued SCSI command in the Command Block */
} MS_CommandBlockWrapper_t; } MS_CommandBlockWrapper_t;
/** Type define for a Command Status Wrapper, used in the Mass Storage Bulk-Only Transport protocol. */ /** \brief Mass Storage Class Command Status Wrapper.
*
* Type define for a Command Status Wrapper, used in the Mass Storage Bulk-Only Transport protocol.
*/
typedef struct typedef struct
{ {
uint32_t Signature; /**< Status block signature, must be CSW_SIGNATURE to indicate a valid Command Status */ uint32_t Signature; /**< Status block signature, must be CSW_SIGNATURE to indicate a valid Command Status */
@ -225,7 +232,9 @@
uint8_t Status; /**< Status code of the issued command - a value from the MassStorage_CommandStatusCodes_t enum */ uint8_t Status; /**< Status code of the issued command - a value from the MassStorage_CommandStatusCodes_t enum */
} MS_CommandStatusWrapper_t; } MS_CommandStatusWrapper_t;
/** Type define for a SCSI Sense structure. Structures of this type are filled out by the /** \brief Mass Storage Class SCSI Sense Structure
*
* Type define for a SCSI Sense structure. Structures of this type are filled out by the
* device via the MassStore_RequestSense() function, indicating the current sense data of the * device via the MassStore_RequestSense() function, indicating the current sense data of the
* device (giving explicit error codes for the last issued command). For details of the * device (giving explicit error codes for the last issued command). For details of the
* structure contents, refer to the SCSI specifications. * structure contents, refer to the SCSI specifications.
@ -251,7 +260,9 @@
uint8_t SenseKeySpecific[3]; uint8_t SenseKeySpecific[3];
} SCSI_Request_Sense_Response_t; } SCSI_Request_Sense_Response_t;
/** Type define for a SCSI Inquiry structure. Structures of this type are filled out by the /** \brief Mass Storage Class SCSI Inquiry Structure.
*
* Type define for a SCSI Inquiry structure. Structures of this type are filled out by the
* device via the MassStore_Inquiry() function, retrieving the attached device's information. * device via the MassStore_Inquiry() function, retrieving the attached device's information.
* For details of the structure contents, refer to the SCSI specifications. * For details of the structure contents, refer to the SCSI specifications.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Common definitions and declarations for the library USB Printer Class driver. * \brief Common definitions and declarations for the library USB Printer Class driver.
* *
* Common definitions and declarations for the library USB Printer Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/Printer.h. * dispatch header located in LUFA/Drivers/USB/Class/Printer.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Common definitions and declarations for the library USB RNDIS Class driver. * \brief Common definitions and declarations for the library USB RNDIS Class driver.
* *
* Common definitions and declarations for the library USB RNDIS Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/RNDIS.h. * dispatch header located in LUFA/Drivers/USB/Class/RNDIS.h.
*/ */
@ -110,13 +112,19 @@
}; };
/* Type Defines: */ /* Type Defines: */
/** Type define for a physical MAC address of a device on a network */ /** \brief MAC Address Structure.
*
* Type define for a physical MAC address of a device on a network
*/
typedef struct typedef struct
{ {
uint8_t Octets[6]; /**< Individual bytes of a MAC address */ uint8_t Octets[6]; /**< Individual bytes of a MAC address */
} MAC_Address_t; } MAC_Address_t;
/** Type define for an Ethernet frame buffer. */ /** \brief RNDIS Ethernet Frame Packet Information Structure.
*
* Type define for an Ethernet frame buffer data and information structure.
*/
typedef struct typedef struct
{ {
uint8_t FrameData[ETHERNET_FRAME_SIZE_MAX]; /**< Ethernet frame contents */ uint8_t FrameData[ETHERNET_FRAME_SIZE_MAX]; /**< Ethernet frame contents */
@ -124,14 +132,20 @@
bool FrameInBuffer; /**< Indicates if a frame is currently stored in the buffer */ bool FrameInBuffer; /**< Indicates if a frame is currently stored in the buffer */
} Ethernet_Frame_Info_t; } Ethernet_Frame_Info_t;
/** Type define for a RNDIS message header, sent before RNDIS messages */ /** \brief RNDIS Common Message Header Structure.
*
* Type define for a RNDIS message header, sent before RNDIS messages.
*/
typedef struct typedef struct
{ {
uint32_t MessageType; /**< RNDIS message type, a REMOTE_NDIS_*_MSG constant */ uint32_t MessageType; /**< RNDIS message type, a REMOTE_NDIS_*_MSG constant */
uint32_t MessageLength; /**< Total length of the RNDIS message, in bytes */ uint32_t MessageLength; /**< Total length of the RNDIS message, in bytes */
} RNDIS_Message_Header_t; } RNDIS_Message_Header_t;
/** Type define for a RNDIS packet message, used to encapsulate Ethernet packets sent to and from the adapter */ /** \brief RNDIS Message Structure.
*
* Type define for a RNDIS packet message, used to encapsulate Ethernet packets sent to and from the adapter.
*/
typedef struct typedef struct
{ {
uint32_t MessageType; uint32_t MessageType;
@ -147,7 +161,10 @@
uint32_t Reserved; uint32_t Reserved;
} RNDIS_Packet_Message_t; } RNDIS_Packet_Message_t;
/** Type define for a RNDIS Initialize command message */ /** \brief RNDIS Initialization Message Structure.
*
* Type define for a RNDIS Initialize command message.
*/
typedef struct typedef struct
{ {
uint32_t MessageType; uint32_t MessageType;
@ -159,7 +176,10 @@
uint32_t MaxTransferSize; uint32_t MaxTransferSize;
} RNDIS_Initialize_Message_t; } RNDIS_Initialize_Message_t;
/** Type define for a RNDIS Initialize complete response message */ /** \brief RNDIS Initialize Complete Message Structure.
*
* Type define for a RNDIS Initialize Complete response message.
*/
typedef struct typedef struct
{ {
uint32_t MessageType; uint32_t MessageType;
@ -178,7 +198,10 @@
uint32_t AFListSize; uint32_t AFListSize;
} RNDIS_Initialize_Complete_t; } RNDIS_Initialize_Complete_t;
/** Type define for a RNDIS Keepalive command message */ /** \brief RNDIS Keep Alive Message Structure.
*
* Type define for a RNDIS Keep Alive command message.
*/
typedef struct typedef struct
{ {
uint32_t MessageType; uint32_t MessageType;
@ -186,7 +209,10 @@
uint32_t RequestId; uint32_t RequestId;
} RNDIS_KeepAlive_Message_t; } RNDIS_KeepAlive_Message_t;
/** Type define for a RNDIS Keepalive complete message */ /** \brief RNDIS Keep Alive Complete Message Structure.
*
* Type define for a RNDIS Keep Alive Complete response message.
*/
typedef struct typedef struct
{ {
uint32_t MessageType; uint32_t MessageType;
@ -195,7 +221,10 @@
uint32_t Status; uint32_t Status;
} RNDIS_KeepAlive_Complete_t; } RNDIS_KeepAlive_Complete_t;
/** Type define for a RNDIS Reset complete message */ /** \brief RNDIS Reset Complete Message Structure.
*
* Type define for a RNDIS Reset Complete response message.
*/
typedef struct typedef struct
{ {
uint32_t MessageType; uint32_t MessageType;
@ -205,7 +234,10 @@
uint32_t AddressingReset; uint32_t AddressingReset;
} RNDIS_Reset_Complete_t; } RNDIS_Reset_Complete_t;
/** Type define for a RNDIS Set command message */ /** \brief RNDIS OID Property Set Message Structure.
*
* Type define for a RNDIS OID Property Set command message.
*/
typedef struct typedef struct
{ {
uint32_t MessageType; uint32_t MessageType;
@ -218,7 +250,10 @@
uint32_t DeviceVcHandle; uint32_t DeviceVcHandle;
} RNDIS_Set_Message_t; } RNDIS_Set_Message_t;
/** Type define for a RNDIS Set complete response message */ /** \brief RNDIS OID Property Set Complete Message Structure.
*
* Type define for a RNDIS OID Property Set Complete response message.
*/
typedef struct typedef struct
{ {
uint32_t MessageType; uint32_t MessageType;
@ -227,7 +262,10 @@
uint32_t Status; uint32_t Status;
} RNDIS_Set_Complete_t; } RNDIS_Set_Complete_t;
/** Type define for a RNDIS Query command message */ /** \brief RNDIS OID Property Query Message Structure.
*
* Type define for a RNDIS OID Property Query command message.
*/
typedef struct typedef struct
{ {
uint32_t MessageType; uint32_t MessageType;
@ -240,7 +278,10 @@
uint32_t DeviceVcHandle; uint32_t DeviceVcHandle;
} RNDIS_Query_Message_t; } RNDIS_Query_Message_t;
/** Type define for a RNDIS Query complete response message */ /** \brief RNDIS OID Property Query Complete Message Structure.
*
* Type define for a RNDIS OID Property Query Complete response message.
*/
typedef struct typedef struct
{ {
uint32_t MessageType; uint32_t MessageType;

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Common RNDIS class constant definitions. * \brief Common RNDIS class constant definitions.
* *
* Common RNDIS class constant definitions.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/Audio.h. * dispatch header located in LUFA/Drivers/USB/Class/Audio.h.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Common definitions and declarations for the library USB Still Image Class driver. * \brief Common definitions and declarations for the library USB Still Image Class driver.
* *
* Common definitions and declarations for the library USB Still Image Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/StillImage.h. * dispatch header located in LUFA/Drivers/USB/Class/StillImage.h.
*/ */
@ -120,7 +122,9 @@
}; };
/* Type Defines: */ /* Type Defines: */
/** Type define for a PIMA container, use to send commands and receive responses to and from an /** \brief PIMA Still Image Device Command/Response Container.
*
* Type define for a PIMA container, use to send commands and receive responses to and from an
* attached Still Image device. * attached Still Image device.
*/ */
typedef struct typedef struct

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Device mode driver for the library USB Audio Class driver. * \brief Device mode driver for the library USB Audio Class driver.
* *
* Device mode driver for the library USB Audio Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/Audio.h. * dispatch header located in LUFA/Drivers/USB/Class/Audio.h.
*/ */
@ -68,8 +70,10 @@
#endif #endif
/* Public Interface - May be used in end-application: */ /* Public Interface - May be used in end-application: */
/* Type Defines: */ /* Type Defines: */
/** Class state structure. An instance of this structure should be made for each Audio interface /** \brief Audio Class Device Mode Configuration and State Structure.
*
* Class state structure. An instance of this structure should be made for each Audio interface
* within the user application, and passed to each of the Audio class driver functions as the * within the user application, and passed to each of the Audio class driver functions as the
* AudioInterfaceInfo parameter. This stores each Audio interface's configuration and state information. * AudioInterfaceInfo parameter. This stores each Audio interface's configuration and state information.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Device mode driver for the library USB CDC Class driver. * \brief Device mode driver for the library USB CDC Class driver.
* *
* Device mode driver for the library USB CDC Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/CDC.h. * dispatch header located in LUFA/Drivers/USB/Class/CDC.h.
*/ */
@ -87,7 +89,9 @@
/* Public Interface - May be used in end-application: */ /* Public Interface - May be used in end-application: */
/* Type Defines: */ /* Type Defines: */
/** Class state structure. An instance of this structure should be made for each CDC interface /** \brief CDC Class Device Mode Configuration and State Structure.
*
* Class state structure. An instance of this structure should be made for each CDC interface
* within the user application, and passed to each of the CDC class driver functions as the * within the user application, and passed to each of the CDC class driver functions as the
* CDCInterfaceInfo parameter. This stores each CDC interface's configuration and state information. * CDCInterfaceInfo parameter. This stores each CDC interface's configuration and state information.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Device mode driver for the library USB HID Class driver. * \brief Device mode driver for the library USB HID Class driver.
* *
* Device mode driver for the library USB HID Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/HID.h. * dispatch header located in LUFA/Drivers/USB/Class/HID.h.
*/ */
@ -69,7 +71,9 @@
/* Public Interface - May be used in end-application: */ /* Public Interface - May be used in end-application: */
/* Type Defines: */ /* Type Defines: */
/** Class state structure. An instance of this structure should be made for each HID interface /** \brief HID Class Device Mode Configuration and State Structure.
*
* Class state structure. An instance of this structure should be made for each HID interface
* within the user application, and passed to each of the HID class driver functions as the * within the user application, and passed to each of the HID class driver functions as the
* HIDInterfaceInfo parameter. This stores each HID interface's configuration and state information. * HIDInterfaceInfo parameter. This stores each HID interface's configuration and state information.
* *

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Device mode driver for the library USB MIDI Class driver. * \brief Device mode driver for the library USB MIDI Class driver.
* *
* Device mode driver for the library USB MIDI Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/MIDI.h. * dispatch header located in LUFA/Drivers/USB/Class/MIDI.h.
*/ */
@ -69,7 +71,9 @@
/* Public Interface - May be used in end-application: */ /* Public Interface - May be used in end-application: */
/* Type Define: */ /* Type Define: */
/** Class state structure. An instance of this structure should be made for each MIDI interface /** \brief MIDI Class Device Mode Configuration and State Structure.
*
* Class state structure. An instance of this structure should be made for each MIDI interface
* within the user application, and passed to each of the MIDI class driver functions as the * within the user application, and passed to each of the MIDI class driver functions as the
* MIDIInterfaceInfo parameter. This stores each MIDI interface's configuration and state information. * MIDIInterfaceInfo parameter. This stores each MIDI interface's configuration and state information.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Device mode driver for the library USB Mass Storage Class driver. * \brief Device mode driver for the library USB Mass Storage Class driver.
* *
* Device mode driver for the library USB Mass Storage Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/MassStorage.h. * dispatch header located in LUFA/Drivers/USB/Class/MassStorage.h.
*/ */
@ -69,7 +71,9 @@
/* Public Interface - May be used in end-application: */ /* Public Interface - May be used in end-application: */
/* Type Defines: */ /* Type Defines: */
/** Class state structure. An instance of this structure should be made for each Mass Storage interface /** \brief Mass Storage Class Device Mode Configuration and State Structure.
*
* Class state structure. An instance of this structure should be made for each Mass Storage interface
* within the user application, and passed to each of the Mass Storage class driver functions as the * within the user application, and passed to each of the Mass Storage class driver functions as the
* MSInterfaceInfo parameter. This stores each Mass Storage interface's configuration and state information. * MSInterfaceInfo parameter. This stores each Mass Storage interface's configuration and state information.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Device mode driver for the library USB RNDIS Class driver. * \brief Device mode driver for the library USB RNDIS Class driver.
* *
* Device mode driver for the library USB RNDIS Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/RNDIS.h. * dispatch header located in LUFA/Drivers/USB/Class/RNDIS.h.
*/ */
@ -69,7 +71,9 @@
/* Public Interface - May be used in end-application: */ /* Public Interface - May be used in end-application: */
/* Type Defines: */ /* Type Defines: */
/** Class state structure. An instance of this structure should be made for each RNDIS interface /** \brief RNDIS Class Device Mode Configuration and State Structure.
*
* Class state structure. An instance of this structure should be made for each RNDIS interface
* within the user application, and passed to each of the RNDIS class driver functions as the * within the user application, and passed to each of the RNDIS class driver functions as the
* RNDISInterfaceInfo parameter. This stores each RNDIS interface's configuration and state information. * RNDISInterfaceInfo parameter. This stores each RNDIS interface's configuration and state information.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Master include file for the library USB HID Class driver. * \brief Master include file for the library USB HID Class driver.
* *
* Master include file for the library USB HID Class driver, for both host and device modes, where available.
*
* This file should be included in all user projects making use of this optional class driver, instead of * This file should be included in all user projects making use of this optional class driver, instead of
* including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories. * including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories.
*/ */

@ -29,10 +29,12 @@
*/ */
/** \file /** \file
* \brief Host mode driver for the library USB Audio Class driver. * \brief Host mode driver for the library USB CDC Class driver.
*
* Host mode driver for the library USB CDC Class driver.
* *
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/Audio.h. * dispatch header located in LUFA/Drivers/USB/Class/CDC.h.
*/ */
/** \ingroup Group_USBClassCDC /** \ingroup Group_USBClassCDC
@ -70,7 +72,9 @@
/* Public Interface - May be used in end-application: */ /* Public Interface - May be used in end-application: */
/* Type Defines: */ /* Type Defines: */
/** Class state structure. An instance of this structure should be made within the user application, /** \brief CDC Class Host Mode Configuration and State Structure.
*
* Class state structure. An instance of this structure should be made within the user application,
* and passed to each of the CDC class driver functions as the CDCInterfaceInfo parameter. This * and passed to each of the CDC class driver functions as the CDCInterfaceInfo parameter. This
* stores each CDC interface's configuration and state information. * stores each CDC interface's configuration and state information.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Host mode driver for the library USB HID Class driver. * \brief Host mode driver for the library USB HID Class driver.
* *
* Host mode driver for the library USB HID Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/HID.h. * dispatch header located in LUFA/Drivers/USB/Class/HID.h.
*/ */
@ -73,7 +75,9 @@
#define HID_ERROR_LOGICAL 0x80 #define HID_ERROR_LOGICAL 0x80
/* Type Defines: */ /* Type Defines: */
/** Class state structure. An instance of this structure should be made within the user application, /** \brief HID Class Host Mode Configuration and State Structure.
*
* Class state structure. An instance of this structure should be made within the user application,
* and passed to each of the HID class driver functions as the HIDInterfaceInfo parameter. This * and passed to each of the HID class driver functions as the HIDInterfaceInfo parameter. This
* stores each HID interface's configuration and state information. * stores each HID interface's configuration and state information.
*/ */

@ -31,8 +31,8 @@
/** \file /** \file
* \brief USB Human Interface Device (HID) Class report descriptor parser. * \brief USB Human Interface Device (HID) Class report descriptor parser.
* *
* This file allows for the easy parsing of the complex HID report descriptor, which describes the data that * This file allows for the easy parsing of complex HID report descriptors, which describes the data that
* the device transmits to the host. It also provides an easy API for extracting and processing the data * a HID device transmits to the host. It also provides an easy API for extracting and processing the data
* elements inside a HID report sent from an attached HID device. * elements inside a HID report sent from an attached HID device.
*/ */
@ -157,28 +157,39 @@
}; };
/* Type Defines: */ /* Type Defines: */
/** Type define for an attribute with both minimum and maximum values (e.g. Logical Min/Max). */ /** \brief HID Parser Report Item Min/Max Structure.
*
* Type define for an attribute with both minimum and maximum values (e.g. Logical Min/Max).
*/
typedef struct typedef struct
{ {
uint32_t Minimum; /**< Minimum value for the attribute. */ uint32_t Minimum; /**< Minimum value for the attribute. */
uint32_t Maximum; /**< Maximum value for the attribute. */ uint32_t Maximum; /**< Maximum value for the attribute. */
} HID_MinMax_t; } HID_MinMax_t;
/** Type define for the Unit attributes of a report item. */ /** \brief HID Parser Report Item Unit Structure.
*
* Type define for the Unit attributes of a report item.
*/
typedef struct typedef struct
{ {
uint32_t Type; /**< Unit type (refer to HID specifications for details). */ uint32_t Type; /**< Unit type (refer to HID specifications for details). */
uint8_t Exponent; /**< Unit exponent (refer to HID specifications for details). */ uint8_t Exponent; /**< Unit exponent (refer to HID specifications for details). */
} HID_Unit_t; } HID_Unit_t;
/** Type define for the Usage attributes of a report item. */ /** \brief HID Parser Report Item Usage Structure.
*
* Type define for the Usage attributes of a report item.
*/
typedef struct typedef struct
{ {
uint16_t Page; /**< Usage page of the report item. */ uint16_t Page; /**< Usage page of the report item. */
uint16_t Usage; /**< Usage of the report item. */ uint16_t Usage; /**< Usage of the report item. */
} HID_Usage_t; } HID_Usage_t;
/** Type define for a COLLECTION object. Contains the collection attributes and a reference to the /** \brief HID Parser Report Item Collection Path Structure.
*
* Type define for a COLLECTION object. Contains the collection attributes and a reference to the
* parent collection if any. * parent collection if any.
*/ */
typedef struct CollectionPath typedef struct CollectionPath
@ -188,7 +199,10 @@
struct CollectionPath* Parent; /**< Reference to parent collection, or NULL if root collection. */ struct CollectionPath* Parent; /**< Reference to parent collection, or NULL if root collection. */
} HID_CollectionPath_t; } HID_CollectionPath_t;
/** Type define for all the data attributes of a report item, except flags. */ /** \brief HID Parser Report Item Attributes Structure.
*
* Type define for all the data attributes of a report item, except flags.
*/
typedef struct typedef struct
{ {
uint8_t BitSize; /**< Size in bits of the report item's data. */ uint8_t BitSize; /**< Size in bits of the report item's data. */
@ -199,7 +213,10 @@
HID_MinMax_t Physical; /**< Physical minimum and maximum of the report item. */ HID_MinMax_t Physical; /**< Physical minimum and maximum of the report item. */
} HID_ReportItem_Attributes_t; } HID_ReportItem_Attributes_t;
/** Type define for a report item (IN, OUT or FEATURE) attributes and other details. */ /** \brief HID Parser Report Item Details Structure.
*
* Type define for a report item (IN, OUT or FEATURE) layout attributes and other details.
*/
typedef struct typedef struct
{ {
uint16_t BitOffset; /**< Bit offset in the IN, OUT or FEATURE report of the item. */ uint16_t BitOffset; /**< Bit offset in the IN, OUT or FEATURE report of the item. */
@ -216,7 +233,10 @@
uint32_t PreviousValue; /**< Previous value of the report item. */ uint32_t PreviousValue; /**< Previous value of the report item. */
} HID_ReportItem_t; } HID_ReportItem_t;
/** Type define for a report item size information structure */ /** \brief HID Parser Report Size Structure.
*
* Type define for a report item size information structure, to retain the size of a device's reports by ID.
*/
typedef struct typedef struct
{ {
uint8_t ReportID; /** Report ID of the report within the HID interface */ uint8_t ReportID; /** Report ID of the report within the HID interface */
@ -225,7 +245,10 @@
*/ */
} HID_ReportSizeInfo_t; } HID_ReportSizeInfo_t;
/** Type define for a complete processed HID report, including all report item data and collections. */ /** \brief HID Parser State Structure.
*
* Type define for a complete processed HID report, including all report item data and collections.
*/
typedef struct typedef struct
{ {
uint8_t TotalReportItems; /**< Total number of report items stored in the uint8_t TotalReportItems; /**< Total number of report items stored in the

@ -31,7 +31,8 @@
/** \file /** \file
* \brief Constants for HID report item attributes. * \brief Constants for HID report item attributes.
* *
* Refer to the HID specification for details on each flag's meaning when applied to an IN, OUT or FEATURE item. * HID report item constants for report item attributes. Refer to the HID specification for
* details on each flag's meaning when applied to an IN, OUT or FEATURE item.
*/ */
/** \ingroup Group_HIDParser /** \ingroup Group_HIDParser

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Host mode driver for the library USB MIDI Class driver. * \brief Host mode driver for the library USB MIDI Class driver.
* *
* Host mode driver for the library USB MIDI Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/MIDI.h. * dispatch header located in LUFA/Drivers/USB/Class/MIDI.h.
*/ */
@ -67,7 +69,9 @@
/* Public Interface - May be used in end-application: */ /* Public Interface - May be used in end-application: */
/* Type Defines: */ /* Type Defines: */
/** Class state structure. An instance of this structure should be made within the user application, /** \brief MIDI Class Host Mode Configuration and State Structure.
*
* Class state structure. An instance of this structure should be made within the user application,
* and passed to each of the MIDI class driver functions as the MIDIInterfaceInfo parameter. This * and passed to each of the MIDI class driver functions as the MIDIInterfaceInfo parameter. This
* stores each MIDI interface's configuration and state information. * stores each MIDI interface's configuration and state information.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Host mode driver for the library USB Mass Storage Class driver. * \brief Host mode driver for the library USB Mass Storage Class driver.
* *
* Host mode driver for the library USB Mass Storage Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/MassStorage.h. * dispatch header located in LUFA/Drivers/USB/Class/MassStorage.h.
*/ */
@ -71,7 +73,9 @@
#define MS_ERROR_LOGICAL_CMD_FAILED 0x80 #define MS_ERROR_LOGICAL_CMD_FAILED 0x80
/* Type Defines: */ /* Type Defines: */
/** Class state structure. An instance of this structure should be made within the user application, /** \brief Mass Storage Class Host Mode Configuration and State Structure.
*
* Class state structure. An instance of this structure should be made within the user application,
* and passed to each of the Mass Storage class driver functions as the MSInterfaceInfo parameter. This * and passed to each of the Mass Storage class driver functions as the MSInterfaceInfo parameter. This
* stores each Mass Storage interface's configuration and state information. * stores each Mass Storage interface's configuration and state information.
*/ */
@ -105,7 +109,9 @@
*/ */
} USB_ClassInfo_MS_Host_t; } USB_ClassInfo_MS_Host_t;
/** SCSI capacity structure, to hold the total capacity of the device in both the number /** \brief SCSI Device LUN Capacity Structure.
*
* SCSI capacity structure, to hold the total capacity of the device in both the number
* of blocks in the current LUN, and the size of each block. This structure is filled by * of blocks in the current LUN, and the size of each block. This structure is filled by
* the device when the MassStore_ReadCapacity() function is called. * the device when the MassStore_ReadCapacity() function is called.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Host mode driver for the library USB Printer Class driver. * \brief Host mode driver for the library USB Printer Class driver.
* *
* Host mode driver for the library USB Printer Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/Printer.h. * dispatch header located in LUFA/Drivers/USB/Class/Printer.h.
*/ */
@ -67,7 +69,9 @@
/* Public Interface - May be used in end-application: */ /* Public Interface - May be used in end-application: */
/* Type Defines: */ /* Type Defines: */
/** Class state structure. An instance of this structure should be made within the user application, /** \brief Printer Class Host Mode Configuration and State Structure.
*
* Class state structure. An instance of this structure should be made within the user application,
* and passed to each of the Printer class driver functions as the PRNTInterfaceInfo parameter. This * and passed to each of the Printer class driver functions as the PRNTInterfaceInfo parameter. This
* stores each Printer interface's configuration and state information. * stores each Printer interface's configuration and state information.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Host mode driver for the library USB RNDIS Class driver. * \brief Host mode driver for the library USB RNDIS Class driver.
* *
* Host mode driver for the library USB RNDIS Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/RNDIS.h. * dispatch header located in LUFA/Drivers/USB/Class/RNDIS.h.
*/ */
@ -71,7 +73,9 @@
/* Public Interface - May be used in end-application: */ /* Public Interface - May be used in end-application: */
/* Type Defines: */ /* Type Defines: */
/** Class state structure. An instance of this structure should be made within the user application, /** \brief RNDIS Class Host Mode Configuration and State Structure.
*
* Class state structure. An instance of this structure should be made within the user application,
* and passed to each of the RNDIS class driver functions as the RNDISInterfaceInfo parameter. This * and passed to each of the RNDIS class driver functions as the RNDISInterfaceInfo parameter. This
* stores each RNDIS interface's configuration and state information. * stores each RNDIS interface's configuration and state information.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Host mode driver for the library USB Still Image Class driver. * \brief Host mode driver for the library USB Still Image Class driver.
* *
* Host mode driver for the library USB Still Image Class driver.
*
* \note This file should not be included directly. It is automatically included as needed by the class driver * \note This file should not be included directly. It is automatically included as needed by the class driver
* dispatch header located in LUFA/Drivers/USB/Class/StillImage.h. * dispatch header located in LUFA/Drivers/USB/Class/StillImage.h.
*/ */
@ -71,6 +73,12 @@
#define SI_ERROR_LOGICAL_CMD_FAILED 0x80 #define SI_ERROR_LOGICAL_CMD_FAILED 0x80
/* Type Defines: */ /* Type Defines: */
/** \brief Still Image Class Host Mode Configuration and State Structure.
*
* Class state structure. An instance of this structure should be made within the user application,
* and passed to each of the Still Image class driver functions as the SIInterfaceInfo parameter. This
* stores each Still Image interface's configuration and state information.
*/
typedef struct typedef struct
{ {
const struct const struct

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Master include file for the library USB MIDI Class driver. * \brief Master include file for the library USB MIDI Class driver.
* *
* Master include file for the library USB MIDI Class driver, for both host and device modes, where available.
*
* This file should be included in all user projects making use of this optional class driver, instead of * This file should be included in all user projects making use of this optional class driver, instead of
* including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories. * including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Master include file for the library USB Mass Storage Class driver. * \brief Master include file for the library USB Mass Storage Class driver.
* *
* Master include file for the library USB Mass Storage Class driver, for both host and device modes, where available.
*
* This file should be included in all user projects making use of this optional class driver, instead of * This file should be included in all user projects making use of this optional class driver, instead of
* including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories. * including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Master include file for the library USB Printer Class driver. * \brief Master include file for the library USB Printer Class driver.
* *
* Master include file for the library USB Printer Class driver, for both host and device modes, where available.
*
* This file should be included in all user projects making use of this optional class driver, instead of * This file should be included in all user projects making use of this optional class driver, instead of
* including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories. * including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Master include file for the library USB RNDIS Class driver. * \brief Master include file for the library USB RNDIS Class driver.
* *
* Master include file for the library USB RNDIS Class driver, for both host and device modes, where available.
*
* This file should be included in all user projects making use of this optional class driver, instead of * This file should be included in all user projects making use of this optional class driver, instead of
* including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories. * including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Master include file for the library USB Still Image Class driver. * \brief Master include file for the library USB Still Image Class driver.
* *
* Master include file for the library USB Still Image Class driver, for both host and device modes, where available.
*
* This file should be included in all user projects making use of this optional class driver, instead of * This file should be included in all user projects making use of this optional class driver, instead of
* including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories. * including any headers in the USB/ClassDriver/Device, USB/ClassDriver/Host or USB/ClassDriver/Common subdirectories.
*/ */

@ -211,7 +211,9 @@
}; };
/* Type Defines: */ /* Type Defines: */
/** Type define for all descriptors standard header, indicating the descriptor's length and type. This structure /** \brief Standard USB Descriptor Header (LUFA naming conventions).
*
* Type define for all descriptors' standard header, indicating the descriptor's length and type. This structure
* uses LUFA-specific element names to make each element's purpose clearer. * uses LUFA-specific element names to make each element's purpose clearer.
* *
* \see \ref USB_StdDescriptor_Header_t for the version of this define with standard element names * \see \ref USB_StdDescriptor_Header_t for the version of this define with standard element names
@ -224,7 +226,9 @@
*/ */
} USB_Descriptor_Header_t; } USB_Descriptor_Header_t;
/** Type define for all descriptors standard header, indicating the descriptor's length and type. This structure /** \brief Standard USB Descriptor Header (USB-IF naming conventions).
*
* Type define for all descriptors' standard header, indicating the descriptor's length and type. This structure
* uses the relevant standard's given element names to ensure compatibility with the standard. * uses the relevant standard's given element names to ensure compatibility with the standard.
* *
* \see \ref USB_Descriptor_Header_t for the version of this define with non-standard LUFA specific element names * \see \ref USB_Descriptor_Header_t for the version of this define with non-standard LUFA specific element names
@ -237,7 +241,9 @@
*/ */
} USB_StdDescriptor_Header_t; } USB_StdDescriptor_Header_t;
/** Type define for a standard Device Descriptor. This structure uses LUFA-specific element names to make each /** \brief Standard USB Device Descriptor (LUFA naming conventions).
*
* Type define for a standard Device Descriptor. This structure uses LUFA-specific element names to make each
* element's purpose clearer. * element's purpose clearer.
* *
* \see \ref USB_StdDescriptor_Device_t for the version of this define with standard element names * \see \ref USB_StdDescriptor_Device_t for the version of this define with standard element names
@ -284,7 +290,9 @@
*/ */
} USB_Descriptor_Device_t; } USB_Descriptor_Device_t;
/** Type define for a standard Device Descriptor. This structure uses the relevant standard's given element names /** \brief Standard USB Device Descriptor (USB-IF naming conventions).
*
* Type define for a standard Device Descriptor. This structure uses the relevant standard's given element names
* to ensure compatibility with the standard. * to ensure compatibility with the standard.
* *
* \see \ref USB_Descriptor_Device_t for the version of this define with non-standard LUFA specific element names * \see \ref USB_Descriptor_Device_t for the version of this define with non-standard LUFA specific element names
@ -330,7 +338,9 @@
*/ */
} USB_StdDescriptor_Device_t; } USB_StdDescriptor_Device_t;
/** Type define for a standard Configuration Descriptor header. This structure uses LUFA-specific element names /** \brief Standard USB Configuration Descriptor (LUFA naming conventions).
*
* Type define for a standard Configuration Descriptor header. This structure uses LUFA-specific element names
* to make each element's purpose clearer. * to make each element's purpose clearer.
* *
* \see \ref USB_StdDescriptor_Configuration_Header_t for the version of this define with standard element names * \see \ref USB_StdDescriptor_Configuration_Header_t for the version of this define with standard element names
@ -357,7 +367,9 @@
*/ */
} USB_Descriptor_Configuration_Header_t; } USB_Descriptor_Configuration_Header_t;
/** Type define for a standard Configuration Descriptor header. This structure uses the relevant standard's given element names /** \brief Standard USB Configuration Descriptor (USB-IF naming conventions).
*
* Type define for a standard Configuration Descriptor header. This structure uses the relevant standard's given element names
* to ensure compatibility with the standard. * to ensure compatibility with the standard.
* *
* \see \ref USB_Descriptor_Device_t for the version of this define with non-standard LUFA specific element names * \see \ref USB_Descriptor_Device_t for the version of this define with non-standard LUFA specific element names
@ -383,7 +395,9 @@
*/ */
} USB_StdDescriptor_Configuration_Header_t; } USB_StdDescriptor_Configuration_Header_t;
/** Type define for a standard Interface Descriptor. This structure uses LUFA-specific element names /** \brief Standard USB Interface Descriptor (LUFA naming conventions).
*
* Type define for a standard Interface Descriptor. This structure uses LUFA-specific element names
* to make each element's purpose clearer. * to make each element's purpose clearer.
* *
* \see \ref USB_StdDescriptor_Interface_t for the version of this define with standard element names * \see \ref USB_StdDescriptor_Interface_t for the version of this define with standard element names
@ -409,7 +423,9 @@
*/ */
} USB_Descriptor_Interface_t; } USB_Descriptor_Interface_t;
/** Type define for a standard Interface Descriptor. This structure uses the relevant standard's given element names /** \brief Standard USB Interface Descriptor (USB-IF naming conventions).
*
* Type define for a standard Interface Descriptor. This structure uses the relevant standard's given element names
* to ensure compatibility with the standard. * to ensure compatibility with the standard.
* *
* \see \ref USB_Descriptor_Interface_t for the version of this define with non-standard LUFA specific element names * \see \ref USB_Descriptor_Interface_t for the version of this define with non-standard LUFA specific element names
@ -435,7 +451,9 @@
*/ */
} USB_StdDescriptor_Interface_t; } USB_StdDescriptor_Interface_t;
/** Type define for a standard Interface Association Descriptor. This structure uses LUFA-specific element names /** \brief Standard USB Interface Association Descriptor (LUFA naming conventions).
*
* Type define for a standard Interface Association Descriptor. This structure uses LUFA-specific element names
* to make each element's purpose clearer. * to make each element's purpose clearer.
* *
* This descriptor has been added as a supplement to the USB2.0 standard, in the ECN located at * This descriptor has been added as a supplement to the USB2.0 standard, in the ECN located at
@ -462,7 +480,9 @@
*/ */
} USB_Descriptor_Interface_Association_t; } USB_Descriptor_Interface_Association_t;
/** Type define for a standard Interface Association Descriptor. This structure uses the relevant standard's given /** \brief Standard USB Interface Association Descriptor (USB-IF naming conventions).
*
* Type define for a standard Interface Association Descriptor. This structure uses the relevant standard's given
* element names to ensure compatibility with the standard. * element names to ensure compatibility with the standard.
* *
* This descriptor has been added as a supplement to the USB2.0 standard, in the ECN located at * This descriptor has been added as a supplement to the USB2.0 standard, in the ECN located at
@ -490,7 +510,9 @@
*/ */
} USB_StdDescriptor_Interface_Association_t; } USB_StdDescriptor_Interface_Association_t;
/** Type define for a standard Endpoint Descriptor. This structure uses LUFA-specific element names /** \brief Standard USB Endpoint Descriptor (LUFA naming conventions).
*
* Type define for a standard Endpoint Descriptor. This structure uses LUFA-specific element names
* to make each element's purpose clearer. * to make each element's purpose clearer.
* *
* \see \ref USB_StdDescriptor_Endpoint_t for the version of this define with standard element names * \see \ref USB_StdDescriptor_Endpoint_t for the version of this define with standard element names
@ -516,7 +538,9 @@
*/ */
} USB_Descriptor_Endpoint_t; } USB_Descriptor_Endpoint_t;
/** Type define for a standard Endpoint Descriptor. This structure uses the relevant standard's given /** \brief Standard USB Endpoint Descriptor (USB-IF naming conventions).
*
* Type define for a standard Endpoint Descriptor. This structure uses the relevant standard's given
* element names to ensure compatibility with the standard. * element names to ensure compatibility with the standard.
* *
* \see \ref USB_Descriptor_Endpoint_t for the version of this define with non-standard LUFA specific * \see \ref USB_Descriptor_Endpoint_t for the version of this define with non-standard LUFA specific
@ -544,7 +568,9 @@
*/ */
} USB_StdDescriptor_Endpoint_t; } USB_StdDescriptor_Endpoint_t;
/** Type define for a standard string descriptor. Unlike other standard descriptors, the length /** \brief Standard USB String Descriptor (LUFA naming conventions).
*
* Type define for a standard string descriptor. Unlike other standard descriptors, the length
* of the descriptor for placement in the descriptor header must be determined by the \ref USB_STRING_LEN() * of the descriptor for placement in the descriptor header must be determined by the \ref USB_STRING_LEN()
* macro rather than by the size of the descriptor structure, as the length is not fixed. * macro rather than by the size of the descriptor structure, as the length is not fixed.
* *
@ -572,7 +598,9 @@
*/ */
} USB_Descriptor_String_t; } USB_Descriptor_String_t;
/** Type define for a standard string descriptor. Unlike other standard descriptors, the length /** \brief Standard USB String Descriptor (USB-IF naming conventions).
*
* Type define for a standard string descriptor. Unlike other standard descriptors, the length
* of the descriptor for placement in the descriptor header must be determined by the \ref USB_STRING_LEN() * of the descriptor for placement in the descriptor header must be determined by the \ref USB_STRING_LEN()
* macro rather than by the size of the descriptor structure, as the length is not fixed. * macro rather than by the size of the descriptor structure, as the length is not fixed.
* *

@ -150,7 +150,9 @@
#define FEATURE_REMOTE_WAKEUP 0x01 #define FEATURE_REMOTE_WAKEUP 0x01
/* Type Defines: */ /* Type Defines: */
/** Type define for a standard USB control request. /** \brief Standard USB Control Request
*
* Type define for a standard USB control request.
* *
* \see The USB 2.0 specification for more information on standard control requests. * \see The USB 2.0 specification for more information on standard control requests.
*/ */

@ -31,6 +31,8 @@
/** \file /** \file
* \brief Master include file for the library USB functionality. * \brief Master include file for the library USB functionality.
* *
* Master include file for the library USB functionality.
*
* This file should be included in all user projects making use of the USB portions of the library, instead of * This file should be included in all user projects making use of the USB portions of the library, instead of
* including any headers in the USB/LowLevel/ or USB/HighLevel/ subdirectories. * including any headers in the USB/LowLevel/ or USB/HighLevel/ subdirectories.
*/ */

@ -15,6 +15,7 @@
* \section Sec_ProjectHelp Assistance With LUFA * \section Sec_ProjectHelp Assistance With LUFA
* Discussion Group: http://groups.google.com/group/myusb-support-list \n * Discussion Group: http://groups.google.com/group/myusb-support-list \n
* Author's Email: dean [at] fourwalledcubicle [dot] com * Author's Email: dean [at] fourwalledcubicle [dot] com
* Author's Skype: abcminiuser
* *
* \section Sec_InDevelopment Latest In-Development Source Code * \section Sec_InDevelopment Latest In-Development Source Code
* Official Releases, SVN Access, Issue Tracker: http://code.google.com/p/lufa-lib/ \n * Official Releases, SVN Access, Issue Tracker: http://code.google.com/p/lufa-lib/ \n

@ -165,7 +165,10 @@
*/ */
typedef uint16_t SchedulerDelayCounter_t; typedef uint16_t SchedulerDelayCounter_t;
/** Structure for holding a single task's information in the scheduler task list. */ /** \brief Scheduler Task List Entry Structure.
*
* Structure for holding a single task's information in the scheduler task list.
*/
typedef struct typedef struct
{ {
TaskPtr_t Task; /**< Pointer to the task to execute. */ TaskPtr_t Task; /**< Pointer to the task to execute. */

@ -299,10 +299,6 @@ void CALLBACK_HID_Device_ProcessHIDReport(USB_ClassInfo_HID_Device_t* const HIDI
{ {
Device_Report_t* ReportParams = (Device_Report_t*)ReportData; Device_Report_t* ReportParams = (Device_Report_t*)ReportData;
GPIOR0 = ReportParams->Day;
GPIOR1 = ReportParams->Month;
GPIOR2 = ReportParams->Year;
DS1307_SetDate(ReportParams->Day, ReportParams->Month, ReportParams->Year); DS1307_SetDate(ReportParams->Day, ReportParams->Month, ReportParams->Year);
DS1307_SetTime(ReportParams->Hour, ReportParams->Minute, ReportParams->Second); DS1307_SetTime(ReportParams->Hour, ReportParams->Minute, ReportParams->Second);

@ -193,7 +193,7 @@ CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources # Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)
#CDEFS += -DDUMMY_RTC CDEFS += -DDUMMY_RTC
# Place -D or -U options here for ASM sources # Place -D or -U options here for ASM sources

Loading…
Cancel
Save