From 8f6b4ddf764c3a54e42d00a7502c82c5c3e71b1c Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 16 Apr 2009 08:50:34 +0000 Subject: Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei Krainev). Removed Endpoint_ClearCurrentBank() and Pipe_ClearCurrentBank() in favour of new Endpoint_ClearIN(), Endpoint_ClearOUT(), Endpoint_ClearControlIN(), Endpoint_ClearControlOUT(), Pipe_ClearIN(), Pipe_ClearOUT(), Pipe_ClearControlIN() and Pipe_ClearControlOUT() macros (done to allow for the detection of packets of zero length). Renamed *_ReadWriteAllowed() macros to *_IsReadWriteAllowed() to remain consistent with the rest of the LUFA API. Endpoint_IsSetupReceived() macro has been renamed to Endpoint_IsSETUPReceived(), Endpoint_ClearSetupReceived() macro has been renamed to Endpoint_ClearControlSETUP(), the Pipe_IsSetupSent() macro has been renamed to Pipe_IsSETUPSent() and the Pipe_ClearSetupSent() macro is no longer applicable and should be removed - changes made to compliment the new endpoint and pipe bank management API. Updated all demos, bootloaders and projects to use the new endpoint and pipe management APIs (thanks to Roman Thiel). Updated library doxygen documentation, added groups, changed documentation macro functions to real functions for clarity. Removed old endpoint and pipe aliased read/write/discard routines which did not have an explicit endian specifier for clarity. Removed the ButtLoadTag.h header file, as no one used for its intended purpose anyway. --- LUFA/Drivers/Board/STK526/AT45DB642D.h | 8 ++++++++ LUFA/Drivers/Board/STK526/Dataflash.h | 8 ++++++++ LUFA/Drivers/Board/STK526/HWB.h | 10 +++++++++- LUFA/Drivers/Board/STK526/Joystick.h | 8 ++++++++ LUFA/Drivers/Board/STK526/LEDs.h | 8 ++++++++ 5 files changed, 41 insertions(+), 1 deletion(-) (limited to 'LUFA/Drivers/Board/STK526') diff --git a/LUFA/Drivers/Board/STK526/AT45DB642D.h b/LUFA/Drivers/Board/STK526/AT45DB642D.h index dd38ed1df..d6974659f 100644 --- a/LUFA/Drivers/Board/STK526/AT45DB642D.h +++ b/LUFA/Drivers/Board/STK526/AT45DB642D.h @@ -36,6 +36,12 @@ * dispatch header located in LUFA/Drivers/Board/Dataflash.h. */ +/** \ingroup Group_Dataflash_STK526 + * @defgroup Group_Dataflash_STK526_AT45DB642D AT45DB642D + * + * @{ + */ + #ifndef __DATAFLASH_CMDS_H__ #define __DATAFLASH_CMDS_H__ @@ -92,3 +98,5 @@ #define DF_CMD_READMANUFACTURERDEVICEINFO 0x9F #endif + +/** @} */ diff --git a/LUFA/Drivers/Board/STK526/Dataflash.h b/LUFA/Drivers/Board/STK526/Dataflash.h index 443c1a754..65c5e202c 100644 --- a/LUFA/Drivers/Board/STK526/Dataflash.h +++ b/LUFA/Drivers/Board/STK526/Dataflash.h @@ -36,6 +36,12 @@ * dispatch header located in LUFA/Drivers/Board/Dataflash.h. */ +/** \ingroup Group_Dataflash + * @defgroup Group_Dataflash_STK526 STK526 + * + * @{ + */ + #ifndef __DATAFLASH_STK526_H__ #define __DATAFLASH_STK526_H__ @@ -106,3 +112,5 @@ } #endif + +/** @} */ diff --git a/LUFA/Drivers/Board/STK526/HWB.h b/LUFA/Drivers/Board/STK526/HWB.h index 3bd2f9952..0d4fd7e03 100644 --- a/LUFA/Drivers/Board/STK526/HWB.h +++ b/LUFA/Drivers/Board/STK526/HWB.h @@ -35,7 +35,13 @@ * \note This file should not be included directly. It is automatically included as needed by the HWB driver * dispatch header located in LUFA/Drivers/Board/HWB.h. */ - + +/** \ingroup Group_HWB + * @defgroup Group_HWB_STK526 STK526 + * + * @{ + */ + #ifndef __HWB_STK526_H__ #define __HWB_STK526_H__ @@ -77,3 +83,5 @@ #endif #endif + +/** @} */ diff --git a/LUFA/Drivers/Board/STK526/Joystick.h b/LUFA/Drivers/Board/STK526/Joystick.h index e5cd2e47c..c15b21284 100644 --- a/LUFA/Drivers/Board/STK526/Joystick.h +++ b/LUFA/Drivers/Board/STK526/Joystick.h @@ -35,6 +35,12 @@ * \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. */ + +/** \ingroup Group_Joystick + * @defgroup Group_Joystick_STK526 STK526 + * + * @{ + */ #ifndef __JOYSTICK_STK526_H__ #define __JOYSTICK_STK526_H__ @@ -99,3 +105,5 @@ #endif #endif + +/** @} */ diff --git a/LUFA/Drivers/Board/STK526/LEDs.h b/LUFA/Drivers/Board/STK526/LEDs.h index fc88a5733..6b17ab1c8 100644 --- a/LUFA/Drivers/Board/STK526/LEDs.h +++ b/LUFA/Drivers/Board/STK526/LEDs.h @@ -35,6 +35,12 @@ * \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. */ + +/** \ingroup Group_LEDs + * @defgroup Group_LEDs_STK526 STK526 + * + * @{ + */ #ifndef __LEDS_STK526_H__ #define __LEDS_STK526_H__ @@ -115,3 +121,5 @@ #endif #endif + +/** @} */ -- cgit v1.2.3