From 84696c727df0424eff71a897243c43a6f4b82932 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 14 Sep 2010 11:11:54 +0000 Subject: [PATCH] Added board hardware driver support for the BUI development board. --- LUFA.pnproj | 2 +- LUFA/CodeTemplates/DriverStubs/LEDs.h | 2 +- LUFA/Common/BoardTypes.h | 3 + LUFA/Drivers/Board/ATAVRUSBRF01/Buttons.h | 6 +- LUFA/Drivers/Board/ATAVRUSBRF01/LEDs.h | 16 +- LUFA/Drivers/Board/BENITO/Buttons.h | 6 +- LUFA/Drivers/Board/BENITO/LEDs.h | 8 +- .../Board => LUFA/Drivers/Board/BUI}/LEDs.h | 244 ++++++++++-------- LUFA/Drivers/Board/BUMBLEB/Buttons.h | 10 +- LUFA/Drivers/Board/BUMBLEB/Joystick.h | 10 +- LUFA/Drivers/Board/BUMBLEB/LEDs.h | 12 +- LUFA/Drivers/Board/EVK527/AT45DB321C.h | 6 +- LUFA/Drivers/Board/EVK527/Buttons.h | 6 +- LUFA/Drivers/Board/EVK527/Dataflash.h | 6 +- LUFA/Drivers/Board/EVK527/Joystick.h | 6 +- LUFA/Drivers/Board/EVK527/LEDs.h | 8 +- LUFA/Drivers/Board/JMDBU2/Buttons.h | 6 +- LUFA/Drivers/Board/JMDBU2/LEDs.h | 8 +- LUFA/Drivers/Board/LEDs.h | 2 + LUFA/Drivers/Board/OLIMEX162/LEDs.h | 14 +- LUFA/Drivers/Board/RZUSBSTICK/LEDs.h | 8 +- LUFA/Drivers/Board/STK525/AT45DB321C.h | 6 +- LUFA/Drivers/Board/STK525/Buttons.h | 6 +- LUFA/Drivers/Board/STK525/Dataflash.h | 6 +- LUFA/Drivers/Board/STK525/Joystick.h | 6 +- LUFA/Drivers/Board/STK525/LEDs.h | 8 +- LUFA/Drivers/Board/STK526/AT45DB642D.h | 6 +- LUFA/Drivers/Board/STK526/Buttons.h | 6 +- LUFA/Drivers/Board/STK526/Dataflash.h | 6 +- LUFA/Drivers/Board/STK526/Joystick.h | 6 +- LUFA/Drivers/Board/STK526/LEDs.h | 8 +- LUFA/Drivers/Board/TEENSY/LEDs.h | 8 +- LUFA/Drivers/Board/UDIP/Buttons.h | 6 +- LUFA/Drivers/Board/UDIP/LEDs.h | 8 +- LUFA/Drivers/Board/USBFOO/Buttons.h | 4 +- LUFA/Drivers/Board/USBFOO/LEDS.h | 14 +- LUFA/Drivers/Board/USBKEY/AT45DB642D.h | 6 +- LUFA/Drivers/Board/USBKEY/Buttons.h | 6 +- LUFA/Drivers/Board/USBKEY/Dataflash.h | 6 +- LUFA/Drivers/Board/USBKEY/Joystick.h | 6 +- LUFA/Drivers/Board/USBKEY/LEDs.h | 8 +- LUFA/Drivers/Board/USBTINYMKII/Buttons.h | 6 +- LUFA/Drivers/Board/USBTINYMKII/LEDs.h | 8 +- LUFA/Drivers/Board/XPLAIN/AT45DB642D.h | 6 +- LUFA/Drivers/Board/XPLAIN/Dataflash.h | 6 +- LUFA/Drivers/Board/XPLAIN/LEDs.h | 8 +- LUFA/ManPages/ChangeLog.txt | 1 + LUFA/ManPages/DeviceSupport.txt | 17 +- Projects/LEDNotifier/makefile | 2 +- 49 files changed, 302 insertions(+), 277 deletions(-) rename {Projects/LEDNotifier/Board => LUFA/Drivers/Board/BUI}/LEDs.h (71%) diff --git a/LUFA.pnproj b/LUFA.pnproj index 764849bde2..51398cb5d6 100644 --- a/LUFA.pnproj +++ b/LUFA.pnproj @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/LUFA/CodeTemplates/DriverStubs/LEDs.h b/LUFA/CodeTemplates/DriverStubs/LEDs.h index 04744de768..8081be8542 100644 --- a/LUFA/CodeTemplates/DriverStubs/LEDs.h +++ b/LUFA/CodeTemplates/DriverStubs/LEDs.h @@ -74,7 +74,7 @@ /** LED mask for all the LEDs on the board. */ #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3 | LEDS_LED4) - /** LED mask for the none of the board LEDs. */ + /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 /* Inline Functions: */ diff --git a/LUFA/Common/BoardTypes.h b/LUFA/Common/BoardTypes.h index bd66e4d8d6..165472cc57 100644 --- a/LUFA/Common/BoardTypes.h +++ b/LUFA/Common/BoardTypes.h @@ -112,6 +112,9 @@ /** Selects the UDIP specific board drivers, including the Button and LEDs drivers. */ #define BOARD_UDIP 16 + + /** Selects the BUI specific board drivers, including the driver for the board LEDs. */ + #define BOARD_UDIP 17 #if !defined(__DOXYGEN__) #define BOARD_ BOARD_NONE diff --git a/LUFA/Drivers/Board/ATAVRUSBRF01/Buttons.h b/LUFA/Drivers/Board/ATAVRUSBRF01/Buttons.h index 8859d39593..dd5ce8122c 100644 --- a/LUFA/Drivers/Board/ATAVRUSBRF01/Buttons.h +++ b/LUFA/Drivers/Board/ATAVRUSBRF01/Buttons.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Buttons driver header for the ATAVRUSBRF01. + * \brief Board specific Buttons driver header for the Atmel ATAVRUSBRF01. * - * Board specific Buttons driver header for the ATAVRUSBRF01. + * Board specific Buttons driver header for the Atmel ATAVRUSBRF01. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Buttons * @defgroup Group_Buttons_ATAVRUSBRF01 ATAVRUSBRF01 * - * Board specific Buttons driver header for the ATAVRUSBRF01. + * Board specific Buttons driver header for the Atmel ATAVRUSBRF01. * * \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. diff --git a/LUFA/Drivers/Board/ATAVRUSBRF01/LEDs.h b/LUFA/Drivers/Board/ATAVRUSBRF01/LEDs.h index 1fe71de2f0..0ff47f418c 100644 --- a/LUFA/Drivers/Board/ATAVRUSBRF01/LEDs.h +++ b/LUFA/Drivers/Board/ATAVRUSBRF01/LEDs.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the ATAVRUSBRF01. + * \brief Board specific LED driver header for the Atmel ATAVRUSBRF01. * - * Board specific LED driver header for the ATAVRUSBRF01. + * Board specific LED driver header for the Atmel ATAVRUSBRF01. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_ATAVRUSBRF01 ATAVRUSBRF01 * - * Board specific LED driver header for the ATAVRUSBRF01. + * Board specific LED driver header for the Atmel ATAVRUSBRF01. * * \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. @@ -78,16 +78,16 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** LED mask for the first LED on the board. */ - #define LEDS_LED1 (1 << 0) + #define LEDS_LED1 (1 << 0) /** LED mask for the second LED on the board. */ - #define LEDS_LED2 (1 << 1) + #define LEDS_LED2 (1 << 1) /** LED mask for all the LEDs on the board. */ - #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2) + #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2) - /** LED mask for the none of the board LEDs. */ - #define LEDS_NO_LEDS 0 + /** LED mask for none of the board LEDs. */ + #define LEDS_NO_LEDS 0 /* Inline Functions: */ #if !defined(__DOXYGEN__) diff --git a/LUFA/Drivers/Board/BENITO/Buttons.h b/LUFA/Drivers/Board/BENITO/Buttons.h index 5044d1eaee..a61ac71878 100644 --- a/LUFA/Drivers/Board/BENITO/Buttons.h +++ b/LUFA/Drivers/Board/BENITO/Buttons.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Buttons driver header for the Benito. + * \brief Board specific Buttons driver header for the Tempusdictum Benito. * - * Board specific Buttons driver header for the Benito (http://dorkbotpdx.org/wiki/benito). + * Board specific Buttons driver header for the Tempusdictum Benito (http://dorkbotpdx.org/wiki/benito). * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Buttons * @defgroup Group_Buttons_BENITO BENITO * - * Board specific Buttons driver header for the Benito (http://dorkbotpdx.org/wiki/benito). + * Board specific Buttons driver header for the Tempusdictum Benito (http://dorkbotpdx.org/wiki/benito). * * \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. diff --git a/LUFA/Drivers/Board/BENITO/LEDs.h b/LUFA/Drivers/Board/BENITO/LEDs.h index 37c1387d2d..a2e3c40ba9 100644 --- a/LUFA/Drivers/Board/BENITO/LEDs.h +++ b/LUFA/Drivers/Board/BENITO/LEDs.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the Benito. + * \brief Board specific LED driver header for the Tempusdictum Benito. * - * Board specific LED driver header for the Benito (http://dorkbotpdx.org/wiki/benito). + * Board specific LED driver header for the Tempusdictum Benito (http://dorkbotpdx.org/wiki/benito). * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_BENITO BENITO * - * Board specific LED driver header for the Benito (http://dorkbotpdx.org/wiki/benito). + * Board specific LED driver header for the Tempusdictum Benito (http://dorkbotpdx.org/wiki/benito). * * \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. @@ -75,7 +75,7 @@ /** LED mask for all the LEDs on the board. */ #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2) - /** LED mask for the none of the board LEDs. */ + /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 /* Inline Functions: */ diff --git a/Projects/LEDNotifier/Board/LEDs.h b/LUFA/Drivers/Board/BUI/LEDs.h similarity index 71% rename from Projects/LEDNotifier/Board/LEDs.h rename to LUFA/Drivers/Board/BUI/LEDs.h index c43cfc8bcc..2f68bd1e09 100644 --- a/Projects/LEDNotifier/Board/LEDs.h +++ b/LUFA/Drivers/Board/BUI/LEDs.h @@ -1,113 +1,131 @@ -/* - LUFA Library - Copyright (C) Dean Camera, 2010. - - dean [at] fourwalledcubicle [dot] com - www.fourwalledcubicle.com -*/ - -/* - Copyright 2010 Dean Camera (dean [at] fourwalledcubicle [dot] com) - - Permission to use, copy, modify, distribute, and sell this - software and its documentation for any purpose is hereby granted - without fee, provided that the above copyright notice appear in - all copies and that both that the copyright notice and this - permission notice and warranty disclaimer appear in supporting - documentation, and that the name of the author not be used in - advertising or publicity pertaining to distribution of the - software without specific, written prior permission. - - The author disclaim all warranties with regard to this - software, including all implied warranties of merchantability - and fitness. In no event shall the author be liable for any - special, indirect or consequential damages or any damages - whatsoever resulting from loss of use, data or profits, whether - in an action of contract, negligence or other tortious action, - arising out of or in connection with the use or performance of - this software. -*/ - -/* - LED Driver for the RGB LED on the Busware BUI board. -*/ - -#ifndef __LEDS_USER_H__ -#define __LEDS_USER_H__ - - /* Includes: */ - #include - -/* Enable C linkage for C++ Compilers: */ - #if defined(__cplusplus) - extern "C" { - #endif - - /* Preprocessor Checks: */ - #if !defined(INCLUDE_FROM_LEDS_H) - #error Do not include this file directly. Include LUFA/Drivers/Board/LEDS.h instead. - #endif - - /* Public Interface - May be used in end-application: */ - /* Macros: */ - /** LED mask for the blue LED on the board. */ - #define LEDS_LED1 (1 << 2) - - /** LED mask for the green LED on the board. */ - #define LEDS_LED2 (1 << 3) - - /** LED mask for the red LED on the board. */ - #define LEDS_LED3 (1 << 4) - - /** LED mask for all the LEDs on the board. */ - #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3) - - /** LED mask for the none of the board LEDs. */ - #define LEDS_NO_LEDS 0 - - /* Inline Functions: */ - #if !defined(__DOXYGEN__) - static inline void LEDs_Init(void) - { - DDRC |= LEDS_ALL_LEDS; - } - - static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask) - { - PORTC |= LEDMask; - } - - static inline void LEDs_TurnOffLEDs(const uint8_t LEDMask) - { - PORTC &= ~LEDMask; - } - - static inline void LEDs_SetAllLEDs(const uint8_t LEDMask) - { - PORTC = (PORTC & ~LEDS_ALL_LEDS) | LEDMask; - } - - static inline void LEDs_ChangeLEDs(const uint8_t LEDMask, - const uint8_t ActiveMask) - { - PORTC = (PORTC & ~LEDMask) | ActiveMask; - } - - static inline void LEDs_ToggleLEDs(const uint8_t LEDMask) - { - PORTC ^= LEDMask; - } - - static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT; - static inline uint8_t LEDs_GetLEDs(void) - { - return (PORTC & LEDS_ALL_LEDS); - } - #endif - - /* Disable C linkage for C++ Compilers: */ - #if defined(__cplusplus) - } - #endif - -#endif +/* + LUFA Library + Copyright (C) Dean Camera, 2010. + + dean [at] fourwalledcubicle [dot] com + www.fourwalledcubicle.com +*/ + +/* + Copyright 2010 Dean Camera (dean [at] fourwalledcubicle [dot] com) + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that the above copyright notice appear in + all copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + The author disclaim all warranties with regard to this + software, including all implied warranties of merchantability + and fitness. In no event shall the author be liable for any + special, indirect or consequential damages or any damages + whatsoever resulting from loss of use, data or profits, whether + in an action of contract, negligence or other tortious action, + arising out of or in connection with the use or performance of + this software. +*/ + +/** \file + * \brief Board specific LED driver header for the Busware BUI. + * + * Board specific LED driver header for the Busware BUI (http://www.busware.de/tiki-index.php?page=BUI). + * + * \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_BUI BUI + * + * Board specific LED driver header for the Busware BUI (http://www.busware.de/tiki-index.php?page=BUI). + * + * \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. + * + * @{ + */ + +#ifndef __LEDS_BUI_H__ +#define __LEDS_BUI_H__ + + /* Includes: */ + #include + +/* Enable C linkage for C++ Compilers: */ + #if defined(__cplusplus) + extern "C" { + #endif + + /* Preprocessor Checks: */ + #if !defined(INCLUDE_FROM_LEDS_H) + #error Do not include this file directly. Include LUFA/Drivers/Board/LEDS.h instead. + #endif + + /* Public Interface - May be used in end-application: */ + /* Macros: */ + /** LED mask for the first LED on the board. */ + #define LEDS_LED1 (1 << 2) + + /** LED mask for the second LED on the board. */ + #define LEDS_LED2 (1 << 3) + + /** LED mask for the third LED on the board. */ + #define LEDS_LED3 (1 << 4) + + /** LED mask for all the LEDs on the board. */ + #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3) + + /** LED mask for none of the board LEDs. */ + #define LEDS_NO_LEDS 0 + + /* Inline Functions: */ + #if !defined(__DOXYGEN__) + static inline void LEDs_Init(void) + { + DDRC |= LEDS_ALL_LEDS; + } + + static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask) + { + PORTC |= LEDMask; + } + + static inline void LEDs_TurnOffLEDs(const uint8_t LEDMask) + { + PORTC &= ~LEDMask; + } + + static inline void LEDs_SetAllLEDs(const uint8_t LEDMask) + { + PORTC = (PORTC & ~LEDS_ALL_LEDS) | LEDMask; + } + + static inline void LEDs_ChangeLEDs(const uint8_t LEDMask, + const uint8_t ActiveMask) + { + PORTC = (PORTC & ~LEDMask) | ActiveMask; + } + + static inline void LEDs_ToggleLEDs(const uint8_t LEDMask) + { + PORTC ^= LEDMask; + } + + static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT; + static inline uint8_t LEDs_GetLEDs(void) + { + return (PORTC & LEDS_ALL_LEDS); + } + #endif + + /* Disable C linkage for C++ Compilers: */ + #if defined(__cplusplus) + } + #endif + +#endif + +/** @} */ diff --git a/LUFA/Drivers/Board/BUMBLEB/Buttons.h b/LUFA/Drivers/Board/BUMBLEB/Buttons.h index 4494d928a9..28a948b5df 100644 --- a/LUFA/Drivers/Board/BUMBLEB/Buttons.h +++ b/LUFA/Drivers/Board/BUMBLEB/Buttons.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Buttons driver header for the BUMBLEB. + * \brief Board specific Buttons driver header for the Fletchtronics BUMBLEB. * - * Board specific Buttons driver header for the BUMBLEB (http://fletchtronics.net/bumble-b). + * Board specific Buttons driver header for the Fletchtronics BUMBLEB (http://fletchtronics.net/bumble-b). * * 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. @@ -43,9 +43,9 @@ /** \ingroup Group_Buttons * @defgroup Group_Buttons_BUMBLEB BUMBLEB * - * Board specific buttons driver header for the BUMBLEB (http://fletchtronics.net/bumble-b). 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. + * Board specific buttons driver header for the Fletchtronics BUMBLEB (http://fletchtronics.net/bumble-b). 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. * * \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. diff --git a/LUFA/Drivers/Board/BUMBLEB/Joystick.h b/LUFA/Drivers/Board/BUMBLEB/Joystick.h index 94465c89c9..68866bf028 100644 --- a/LUFA/Drivers/Board/BUMBLEB/Joystick.h +++ b/LUFA/Drivers/Board/BUMBLEB/Joystick.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific joystick driver header for the BUMLEB. + * \brief Board specific joystick driver header for the Fletchtronics BUMLEB. * - * Board specific joystick driver header for the BUMBLEB (http://fletchtronics.net/bumble-b). + * Board specific joystick driver header for the Fletchtronics BUMBLEB (http://fletchtronics.net/bumble-b). * * 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. @@ -43,9 +43,9 @@ /** \ingroup Group_Joystick * @defgroup Group_Joystick_BUMBLEB BUMBLEB * - * Board specific joystick driver header for the BUMBLEB (http://fletchtronics.net/bumble-b). 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. + * Board specific joystick driver header for the Fletchtronics BUMBLEB (http://fletchtronics.net/bumble-b). 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. * * \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. diff --git a/LUFA/Drivers/Board/BUMBLEB/LEDs.h b/LUFA/Drivers/Board/BUMBLEB/LEDs.h index 6446d1241e..e9816a88b0 100644 --- a/LUFA/Drivers/Board/BUMBLEB/LEDs.h +++ b/LUFA/Drivers/Board/BUMBLEB/LEDs.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the BUMBLEB. + * \brief Board specific LED driver header for the Fletchtronics BUMBLEB. * - * Board specific LED driver header for the BUMBLEB (http://fletchtronics.net/bumble-b). + * Board specific LED driver header for the Fletchtronics BUMBLEB (http://fletchtronics.net/bumble-b). * * 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. @@ -43,9 +43,9 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_BUMBLEB BUMBLEB * - * Board specific LED driver header for the BUMBLEB (http://fletchtronics.net/bumble-b). 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. + * Board specific LED driver header for the Fletchtronics BUMBLEB (http://fletchtronics.net/bumble-b). 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. * * \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. @@ -88,7 +88,7 @@ /** LED mask for all the LEDs on the board. */ #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3 | LEDS_LED4) - /** LED mask for the none of the board LEDs. */ + /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 /* Inline Functions: */ diff --git a/LUFA/Drivers/Board/EVK527/AT45DB321C.h b/LUFA/Drivers/Board/EVK527/AT45DB321C.h index 7f34c77d86..6b056b53cf 100644 --- a/LUFA/Drivers/Board/EVK527/AT45DB321C.h +++ b/LUFA/Drivers/Board/EVK527/AT45DB321C.h @@ -29,9 +29,9 @@ */ /** \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 Atmel EVK527. * - * 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 Atmel EVK527. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Dataflash_EVK527 * @defgroup Group_Dataflash_EVK527_AT45DB321C AT45DB321C * - * 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 Atmel EVK527. * * \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. diff --git a/LUFA/Drivers/Board/EVK527/Buttons.h b/LUFA/Drivers/Board/EVK527/Buttons.h index d37d4de27a..624e1c20cc 100644 --- a/LUFA/Drivers/Board/EVK527/Buttons.h +++ b/LUFA/Drivers/Board/EVK527/Buttons.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Buttons driver header for the EVK527. + * \brief Board specific Buttons driver header for the Atmel EVK527. * - * Board specific Buttons driver header for the EVK527. + * Board specific Buttons driver header for the Atmel EVK527. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Buttons * @defgroup Group_Buttons_EVK527 EVK527 * - * Board specific Buttons driver header for the EVK527. + * Board specific Buttons driver header for the Atmel EVK527. * * \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. diff --git a/LUFA/Drivers/Board/EVK527/Dataflash.h b/LUFA/Drivers/Board/EVK527/Dataflash.h index 4440d76ba7..3bf492438f 100644 --- a/LUFA/Drivers/Board/EVK527/Dataflash.h +++ b/LUFA/Drivers/Board/EVK527/Dataflash.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Dataflash driver header for the EVK527. + * \brief Board specific Dataflash driver header for the Atmel EVK527. * - * Board specific Dataflash driver header for the EVK527. + * Board specific Dataflash driver header for the Atmel EVK527. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Dataflash * @defgroup Group_Dataflash_EVK527 EVK527 * - * Board specific Dataflash driver header for the EVK527. + * Board specific Dataflash driver header for the Atmel EVK527. * * \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. diff --git a/LUFA/Drivers/Board/EVK527/Joystick.h b/LUFA/Drivers/Board/EVK527/Joystick.h index 855270564a..af3b54fdc5 100644 --- a/LUFA/Drivers/Board/EVK527/Joystick.h +++ b/LUFA/Drivers/Board/EVK527/Joystick.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific joystick driver header for the EVK527. + * \brief Board specific joystick driver header for the Atmel EVK527. * - * Board specific joystick driver header for the EVK527. + * Board specific joystick driver header for the Atmel EVK527. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Joystick * @defgroup Group_Joystick_EVK527 EVK527 * - * Board specific joystick driver header for the EVK527. + * Board specific joystick driver header for the Atmel EVK527. * * \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. diff --git a/LUFA/Drivers/Board/EVK527/LEDs.h b/LUFA/Drivers/Board/EVK527/LEDs.h index 9f36ec8287..b24f6eb769 100644 --- a/LUFA/Drivers/Board/EVK527/LEDs.h +++ b/LUFA/Drivers/Board/EVK527/LEDs.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the EVK527. + * \brief Board specific LED driver header for the Atmel EVK527. * - * Board specific LED driver header for the EVK527. + * Board specific LED driver header for the Atmel EVK527. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_EVK527 EVK527 * - * Board specific LED driver header for the EVK527. + * Board specific LED driver header for the Atmel EVK527. * * \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. @@ -80,7 +80,7 @@ /** LED mask for all the LEDs on the board. */ #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3) - /** LED mask for the none of the board LEDs. */ + /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 /* Inline Functions: */ diff --git a/LUFA/Drivers/Board/JMDBU2/Buttons.h b/LUFA/Drivers/Board/JMDBU2/Buttons.h index ac2954ce43..e00bcd15c4 100644 --- a/LUFA/Drivers/Board/JMDBU2/Buttons.h +++ b/LUFA/Drivers/Board/JMDBU2/Buttons.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Buttons driver header for the JM-DB-U2. + * \brief Board specific Buttons driver header for the Mattairtech JM-DB-U2. * - * Board specific Buttons driver header for the JM-DB-U2 (http://u2.mattair.net/index.html). + * Board specific Buttons driver header for the Mattairtech JM-DB-U2 (http://u2.mattair.net/index.html). * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Buttons * @defgroup Group_Buttons_JMDBU2 JMDBU2 * - * Board specific Buttons driver header for the JM-DB-U2 (http://u2.mattair.net/index.html). + * Board specific Buttons driver header for the Mattairtech JM-DB-U2 (http://u2.mattair.net/index.html). * * \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. diff --git a/LUFA/Drivers/Board/JMDBU2/LEDs.h b/LUFA/Drivers/Board/JMDBU2/LEDs.h index 70013a31e2..22efbc63ec 100644 --- a/LUFA/Drivers/Board/JMDBU2/LEDs.h +++ b/LUFA/Drivers/Board/JMDBU2/LEDs.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the JM-DB-U2. + * \brief Board specific LED driver header for the Mattairtech JM-DB-U2. * - * Board specific LED driver header for the JM-DB-U2 (http://u2.mattair.net/index.html). + * Board specific LED driver header for the Mattairtech JM-DB-U2 (http://u2.mattair.net/index.html). * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_JMDBU2 JMDBU2 * - * Board specific LED driver header for the JM-DB-U2 (http://u2.mattair.net/index.html). + * Board specific LED driver header for the Mattairtech JM-DB-U2 (http://u2.mattair.net/index.html). * * \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. @@ -74,7 +74,7 @@ /** LED mask for all the LEDs on the board. */ #define LEDS_ALL_LEDS LEDS_LED1 - /** LED mask for the none of the board LEDs. */ + /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 /* Inline Functions: */ diff --git a/LUFA/Drivers/Board/LEDs.h b/LUFA/Drivers/Board/LEDs.h index da2d010e44..63c997b1b4 100644 --- a/LUFA/Drivers/Board/LEDs.h +++ b/LUFA/Drivers/Board/LEDs.h @@ -121,6 +121,8 @@ #include "USBFOO/LEDs.h" #elif (BOARD == BOARD_UDIP) #include "UDIP/LEDs.h" + #elif (BOARD == BOARD_BUI) + #include "BUI/LEDs.h" #elif (BOARD == BOARD_USER) #include "Board/LEDs.h" #endif diff --git a/LUFA/Drivers/Board/OLIMEX162/LEDs.h b/LUFA/Drivers/Board/OLIMEX162/LEDs.h index c4a4b3f2f4..24100561a2 100644 --- a/LUFA/Drivers/Board/OLIMEX162/LEDs.h +++ b/LUFA/Drivers/Board/OLIMEX162/LEDs.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the Olimex AVR-USB-162 Development Board. + * \brief Board specific LED driver header for the Olimex AVR-USB-162. * - * Board specific LED driver header for the Olimex AVR-USB-162 Development Board (http://www.olimex.com/dev/avr-usb-162.html). + * Board specific LED driver header for the Olimex AVR-USB-162 (http://www.olimex.com/dev/avr-usb-162.html). * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_OLIMEX162 OLIMEX162 * - * Board specific LED driver header for the Olimex AVR-USB-162 Development Board (http://www.olimex.com/dev/avr-usb-162.html). + * Board specific LED driver header for the Olimex AVR-USB-162 (http://www.olimex.com/dev/avr-usb-162.html). * * \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. @@ -69,13 +69,13 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** LED mask for the first LED on the board. */ - #define LEDS_LED1 (1 << 4) + #define LEDS_LED1 (1 << 4) /** LED mask for all the LEDs on the board. */ - #define LEDS_ALL_LEDS (1 << 4) + #define LEDS_ALL_LEDS LEDS_LED1 - /** LED mask for the none of the board LEDs. */ - #define LEDS_NO_LEDS 0 + /** LED mask for none of the board LEDs. */ + #define LEDS_NO_LEDS 0 /* Inline Functions: */ #if !defined(__DOXYGEN__) diff --git a/LUFA/Drivers/Board/RZUSBSTICK/LEDs.h b/LUFA/Drivers/Board/RZUSBSTICK/LEDs.h index df4f524925..673bc25f8c 100644 --- a/LUFA/Drivers/Board/RZUSBSTICK/LEDs.h +++ b/LUFA/Drivers/Board/RZUSBSTICK/LEDs.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the RZUSBSTICK. + * \brief Board specific LED driver header for the Atmel RZUSBSTICK. * - * Board specific LED driver header for the RZUSBSTICK. + * Board specific LED driver header for the Atmel RZUSBSTICK. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_RZUSBSTICK RZUSBSTICK * - * Board specific LED driver header for the RZUSBSTICK. + * Board specific LED driver header for the Atmel RZUSBSTICK. * * \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. @@ -92,7 +92,7 @@ /** LED mask for all the LEDs on the board. */ #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3 | LEDS_LED4) - /** LED mask for the none of the board LEDs. */ + /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 /* Inline Functions: */ diff --git a/LUFA/Drivers/Board/STK525/AT45DB321C.h b/LUFA/Drivers/Board/STK525/AT45DB321C.h index de1f73ee95..7b95a62d94 100644 --- a/LUFA/Drivers/Board/STK525/AT45DB321C.h +++ b/LUFA/Drivers/Board/STK525/AT45DB321C.h @@ -29,9 +29,9 @@ */ /** \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 Atmel STK525. * - * 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 Atmel STK525. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Dataflash_STK525 * @defgroup Group_Dataflash_STK525_AT45DB321C AT45DB321C * - * 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 Atmel STK525. * * \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. diff --git a/LUFA/Drivers/Board/STK525/Buttons.h b/LUFA/Drivers/Board/STK525/Buttons.h index 208f8caca8..0dfac0fd46 100644 --- a/LUFA/Drivers/Board/STK525/Buttons.h +++ b/LUFA/Drivers/Board/STK525/Buttons.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Buttons driver header for the STK525. + * \brief Board specific Buttons driver header for the Atmel STK525. * - * Board specific Buttons driver header for the STK525. + * Board specific Buttons driver header for the Atmel STK525. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Buttons * @defgroup Group_Buttons_STK525 STK525 * - * Board specific Buttons driver header for the STK525. + * Board specific Buttons driver header for the Atmel STK525. * * \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. diff --git a/LUFA/Drivers/Board/STK525/Dataflash.h b/LUFA/Drivers/Board/STK525/Dataflash.h index 2a1f707140..67b896ecbf 100644 --- a/LUFA/Drivers/Board/STK525/Dataflash.h +++ b/LUFA/Drivers/Board/STK525/Dataflash.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Dataflash driver header for the STK525. + * \brief Board specific Dataflash driver header for the Atmel STK525. * - * Board specific Dataflash driver header for the STK525. + * Board specific Dataflash driver header for the Atmel STK525. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Dataflash * @defgroup Group_Dataflash_STK525 STK525 * - * Board specific Dataflash driver header for the STK525. + * Board specific Dataflash driver header for the Atmel STK525. * * \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. diff --git a/LUFA/Drivers/Board/STK525/Joystick.h b/LUFA/Drivers/Board/STK525/Joystick.h index dd775b73bb..5f5e584903 100644 --- a/LUFA/Drivers/Board/STK525/Joystick.h +++ b/LUFA/Drivers/Board/STK525/Joystick.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific joystick driver header for the STK525. + * \brief Board specific joystick driver header for the Atmel STK525. * - * Board specific joystick driver header for the STK525. + * Board specific joystick driver header for the Atmel STK525. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Joystick * @defgroup Group_Joystick_STK525 STK525 * - * Board specific joystick driver header for the STK525. + * Board specific joystick driver header for the Atmel STK525. * * \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. diff --git a/LUFA/Drivers/Board/STK525/LEDs.h b/LUFA/Drivers/Board/STK525/LEDs.h index 407c892783..7f3e2934aa 100644 --- a/LUFA/Drivers/Board/STK525/LEDs.h +++ b/LUFA/Drivers/Board/STK525/LEDs.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the STK525. + * \brief Board specific LED driver header for the Atmel STK525. * - * Board specific LED driver header for the STK525. + * Board specific LED driver header for the Atmel STK525. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_STK525 STK525 * - * Board specific LED driver header for the STK525. + * Board specific LED driver header for the Atmel STK525. * * \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. @@ -83,7 +83,7 @@ /** LED mask for all the LEDs on the board. */ #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3 | LEDS_LED4) - /** LED mask for the none of the board LEDs. */ + /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 /* Inline Functions: */ diff --git a/LUFA/Drivers/Board/STK526/AT45DB642D.h b/LUFA/Drivers/Board/STK526/AT45DB642D.h index 1913cde093..aa73467975 100644 --- a/LUFA/Drivers/Board/STK526/AT45DB642D.h +++ b/LUFA/Drivers/Board/STK526/AT45DB642D.h @@ -29,9 +29,9 @@ */ /** \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 Atmel STK526. * - * 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 Atmel STK526. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Dataflash_STK526 * @defgroup Group_Dataflash_STK526_AT45DB642D AT45DB642D * - * 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 Atmel STK526. * * \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. diff --git a/LUFA/Drivers/Board/STK526/Buttons.h b/LUFA/Drivers/Board/STK526/Buttons.h index 0ab686cbda..da51919c20 100644 --- a/LUFA/Drivers/Board/STK526/Buttons.h +++ b/LUFA/Drivers/Board/STK526/Buttons.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Buttons driver header for the STK526. + * \brief Board specific Buttons driver header for the Atmel STK526. * - * Board specific Buttons driver header for the STK526. + * Board specific Buttons driver header for the Atmel STK526. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Buttons * @defgroup Group_Buttons_STK526 STK526 * - * Board specific Buttons driver header for the STK526. + * Board specific Buttons driver header for the Atmel STK526. * * \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. diff --git a/LUFA/Drivers/Board/STK526/Dataflash.h b/LUFA/Drivers/Board/STK526/Dataflash.h index cb412440c1..40d42c96f5 100644 --- a/LUFA/Drivers/Board/STK526/Dataflash.h +++ b/LUFA/Drivers/Board/STK526/Dataflash.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Dataflash driver header for the STK525. + * \brief Board specific Dataflash driver header for the Atmel STK525. * - * Board specific Dataflash driver header for the STK525. + * Board specific Dataflash driver header for the Atmel STK525. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Dataflash * @defgroup Group_Dataflash_STK526 STK526 * - * Board specific Dataflash driver header for the STK525. + * Board specific Dataflash driver header for the Atmel STK525. * * \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. diff --git a/LUFA/Drivers/Board/STK526/Joystick.h b/LUFA/Drivers/Board/STK526/Joystick.h index 4cea565cd9..0bf9c7937e 100644 --- a/LUFA/Drivers/Board/STK526/Joystick.h +++ b/LUFA/Drivers/Board/STK526/Joystick.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific joystick driver header for the STK526. + * \brief Board specific joystick driver header for the Atmel STK526. * - * Board specific joystick driver header for the STK526. + * Board specific joystick driver header for the Atmel STK526. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Joystick * @defgroup Group_Joystick_STK526 STK526 * - * Board specific joystick driver header for the STK526. + * Board specific joystick driver header for the Atmel STK526. * * \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. diff --git a/LUFA/Drivers/Board/STK526/LEDs.h b/LUFA/Drivers/Board/STK526/LEDs.h index de65d26b3e..d01adf8eb3 100644 --- a/LUFA/Drivers/Board/STK526/LEDs.h +++ b/LUFA/Drivers/Board/STK526/LEDs.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the STK526. + * \brief Board specific LED driver header for the Atmel STK526. * - * Board specific LED driver header for the STK526. + * Board specific LED driver header for the Atmel STK526. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_STK526 STK526 * - * Board specific LED driver header for the STK526. + * Board specific LED driver header for the Atmel STK526. * * \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. @@ -83,7 +83,7 @@ /** LED mask for all the LEDs on the board. */ #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3 | LEDS_LED4) - /** LED mask for the none of the board LEDs. */ + /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 /* Inline Functions: */ diff --git a/LUFA/Drivers/Board/TEENSY/LEDs.h b/LUFA/Drivers/Board/TEENSY/LEDs.h index be6640ca29..37ebb6a9b0 100644 --- a/LUFA/Drivers/Board/TEENSY/LEDs.h +++ b/LUFA/Drivers/Board/TEENSY/LEDs.h @@ -69,13 +69,13 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** LED mask for the first LED on the board. */ - #define LEDS_LED1 (1 << 6) + #define LEDS_LED1 (1 << 6) /** LED mask for all the LEDs on the board. */ - #define LEDS_ALL_LEDS (1 << 6) + #define LEDS_ALL_LEDS LEDS_LED1 - /** LED mask for the none of the board LEDs. */ - #define LEDS_NO_LEDS 0 + /** LED mask for none of the board LEDs. */ + #define LEDS_NO_LEDS 0 /* Inline Functions: */ #if !defined(__DOXYGEN__) diff --git a/LUFA/Drivers/Board/UDIP/Buttons.h b/LUFA/Drivers/Board/UDIP/Buttons.h index 7615fe6d7c..343024d7fa 100644 --- a/LUFA/Drivers/Board/UDIP/Buttons.h +++ b/LUFA/Drivers/Board/UDIP/Buttons.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Buttons driver header for the Benito. + * \brief Board specific Buttons driver header for the UDIP. * - * Board specific Buttons driver header for the Benito (http://dorkbotpdx.org/wiki/benito). + * Board specific Buttons driver header for the Linnix UDIP (http://linnix.com/udip/). * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Buttons * @defgroup Group_Buttons_UDIP UDIP * - * Board specific Buttons driver header for the UDIP (http://linnix.com/udip/). + * Board specific Buttons driver header for the Linnix UDIP (http://linnix.com/udip/). * * \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. diff --git a/LUFA/Drivers/Board/UDIP/LEDs.h b/LUFA/Drivers/Board/UDIP/LEDs.h index e7bdfe2897..aeb09575f4 100644 --- a/LUFA/Drivers/Board/UDIP/LEDs.h +++ b/LUFA/Drivers/Board/UDIP/LEDs.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the UDIP. + * \brief Board specific LED driver header for the Linnix UDIP. * - * Board specific LED driver header for the UDIP (http://linnix.com/udip/). + * Board specific LED driver header for the Linnix UDIP (http://linnix.com/udip/). * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_UDIP UDIP * - * Board specific LED driver header for the UDIP (http://linnix.com/udip/). + * Board specific LED driver header for the Linnix UDIP (http://linnix.com/udip/). * * \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. @@ -92,7 +92,7 @@ /** LED mask for all the LEDs on the board. */ #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3 | LEDS_LED4) - /** LED mask for the none of the board LEDs. */ + /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 /* Inline Functions: */ diff --git a/LUFA/Drivers/Board/USBFOO/Buttons.h b/LUFA/Drivers/Board/USBFOO/Buttons.h index 39512676bc..629e3f74f6 100644 --- a/LUFA/Drivers/Board/USBFOO/Buttons.h +++ b/LUFA/Drivers/Board/USBFOO/Buttons.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Buttons driver header for the USBFOO Development Board. + * \brief Board specific Buttons driver header for the Kernel Concepts USBFOO. * - * Board specific Buttons driver header for the USBFOO Development Board (http://shop.kernelconcepts.de/product_info.php?products_id=102). + * Board specific Buttons driver header for the Kernel Concepts USBFOO (http://shop.kernelconcepts.de/product_info.php?products_id=102). * * \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. diff --git a/LUFA/Drivers/Board/USBFOO/LEDS.h b/LUFA/Drivers/Board/USBFOO/LEDS.h index 31a4ccbde0..ddab624793 100644 --- a/LUFA/Drivers/Board/USBFOO/LEDS.h +++ b/LUFA/Drivers/Board/USBFOO/LEDS.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the USBFOO. + * \brief Board specific LED driver header for the Kernel Concepts USBFOO. * - * Board specific LED driver header for the USBFOO Development Board (http://shop.kernelconcepts.de/product_info.php?products_id=102). + * Board specific LED driver header for the Kernel Concepts USBFOO (http://shop.kernelconcepts.de/product_info.php?products_id=102). * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_USBFOO USBFOO * - * Board specific LED driver header for the USBFOO Development Board (http://shop.kernelconcepts.de/product_info.php?products_id=102). + * Board specific LED driver header for the Kernel Concepts USBFOO (http://shop.kernelconcepts.de/product_info.php?products_id=102). * * \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. @@ -69,13 +69,13 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** LED mask for the first LED on the board. */ - #define LEDS_LED1 (1 << 4) + #define LEDS_LED1 (1 << 4) /** LED mask for all the LEDs on the board. */ - #define LEDS_ALL_LEDS (1 << 4) + #define LEDS_ALL_LEDS LEDS_LED1 - /** LED mask for the none of the board LEDs. */ - #define LEDS_NO_LEDS 0 + /** LED mask for none of the board LEDs. */ + #define LEDS_NO_LEDS 0 /* Inline Functions: */ #if !defined(__DOXYGEN__) diff --git a/LUFA/Drivers/Board/USBKEY/AT45DB642D.h b/LUFA/Drivers/Board/USBKEY/AT45DB642D.h index a37ddf68ac..f78ddb555c 100644 --- a/LUFA/Drivers/Board/USBKEY/AT45DB642D.h +++ b/LUFA/Drivers/Board/USBKEY/AT45DB642D.h @@ -29,9 +29,9 @@ */ /** \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 Atmel USBKEY. * - * 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 Atmel USBKEY. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Dataflash_USBKEY * @defgroup Group_Dataflash_USBKEY_AT45DB642D AT45DB642D * - * 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 Atmel USBKEY. * * \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. diff --git a/LUFA/Drivers/Board/USBKEY/Buttons.h b/LUFA/Drivers/Board/USBKEY/Buttons.h index e926fe623c..82a3b0f5b8 100644 --- a/LUFA/Drivers/Board/USBKEY/Buttons.h +++ b/LUFA/Drivers/Board/USBKEY/Buttons.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Buttons driver header for the USBKEY. + * \brief Board specific Buttons driver header for the Atmel USBKEY. * - * Board specific Buttons driver header for the USBKEY. + * Board specific Buttons driver header for the Atmel USBKEY. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Buttons * @defgroup Group_Buttons_USBKEY USBKEY * - * Board specific Buttons driver header for the USBKEY. + * Board specific Buttons driver header for the Atmel USBKEY. * * \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. diff --git a/LUFA/Drivers/Board/USBKEY/Dataflash.h b/LUFA/Drivers/Board/USBKEY/Dataflash.h index 27ff34e076..8b01c64c60 100644 --- a/LUFA/Drivers/Board/USBKEY/Dataflash.h +++ b/LUFA/Drivers/Board/USBKEY/Dataflash.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Dataflash driver header for the USBKEY. + * \brief Board specific Dataflash driver header for the Atmel USBKEY. * - * Board specific Dataflash driver header for the USBKEY. + * Board specific Dataflash driver header for the Atmel USBKEY. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Dataflash * @defgroup Group_Dataflash_USBKEY USBKEY * - * Board specific Dataflash driver header for the USBKEY board. + * Board specific Dataflash driver header for the Atmel USBKEY board. * * \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. diff --git a/LUFA/Drivers/Board/USBKEY/Joystick.h b/LUFA/Drivers/Board/USBKEY/Joystick.h index 0b2fa456e7..bea3073c1d 100644 --- a/LUFA/Drivers/Board/USBKEY/Joystick.h +++ b/LUFA/Drivers/Board/USBKEY/Joystick.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific joystick driver header for the USBKEY. + * \brief Board specific joystick driver header for the Atmel USBKEY. * - * Board specific joystick driver header for the USBKEY. + * Board specific joystick driver header for the Atmel USBKEY. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Joystick * @defgroup Group_Joystick_USBKEY USBKEY * - * Board specific joystick driver header for the USBKEY. + * Board specific joystick driver header for the Atmel USBKEY. * * \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. diff --git a/LUFA/Drivers/Board/USBKEY/LEDs.h b/LUFA/Drivers/Board/USBKEY/LEDs.h index ebac08e839..7540094401 100644 --- a/LUFA/Drivers/Board/USBKEY/LEDs.h +++ b/LUFA/Drivers/Board/USBKEY/LEDs.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the USBKEY. + * \brief Board specific LED driver header for the Atmel USBKEY. * - * Board specific LED driver header for the USBKEY. + * Board specific LED driver header for the Atmel USBKEY. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_USBKEY USBKEY * - * Board specific LED driver header for the USBKEY. + * Board specific LED driver header for the Atmel USBKEY. * * \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. @@ -83,7 +83,7 @@ /** LED mask for all the LEDs on the board. */ #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3 | LEDS_LED4) - /** LED mask for the none of the board LEDs. */ + /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 /* Inline Functions: */ diff --git a/LUFA/Drivers/Board/USBTINYMKII/Buttons.h b/LUFA/Drivers/Board/USBTINYMKII/Buttons.h index c922518a35..7037ee3d62 100644 --- a/LUFA/Drivers/Board/USBTINYMKII/Buttons.h +++ b/LUFA/Drivers/Board/USBTINYMKII/Buttons.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Buttons driver header for the USBTINY MKII. + * \brief Board specific Buttons driver header for Tom's USBTINY MKII. * - * Board specific Buttons driver header for the USBTINY MKII (http://tom-itx.dyndns.org:81/~webpage/). + * Board specific Buttons driver header for Tom's USBTINY MKII (http://tom-itx.dyndns.org:81/~webpage/). * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Buttons * @defgroup Group_Buttons_USBTINYMKII USBTINYMKII * - * Board specific Buttons driver header for the USBTINY MKII (http://tom-itx.dyndns.org:81/~webpage/). + * Board specific Buttons driver header for Tom's USBTINY MKII (http://tom-itx.dyndns.org:81/~webpage/). * * \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. diff --git a/LUFA/Drivers/Board/USBTINYMKII/LEDs.h b/LUFA/Drivers/Board/USBTINYMKII/LEDs.h index f394ec0143..9338a20074 100644 --- a/LUFA/Drivers/Board/USBTINYMKII/LEDs.h +++ b/LUFA/Drivers/Board/USBTINYMKII/LEDs.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the USBTINY MKII. + * \brief Board specific LED driver header for Tom's USBTINY MKII. * - * Board specific LED driver header for the USBTINY MKII (http://tom-itx.dyndns.org:81/~webpage/). + * Board specific LED driver header for Tom's USBTINY MKII (http://tom-itx.dyndns.org:81/~webpage/). * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_USBTINYMKII USBTINYMKII * - * Board specific LED driver header for the USBTINY MKII (http://tom-itx.dyndns.org:81/~webpage/). + * Board specific LED driver header for Tom's USBTINY MKII (http://tom-itx.dyndns.org:81/~webpage/). * * \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. @@ -78,7 +78,7 @@ /** LED mask for all the LEDs on the board. */ #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3) - /** LED mask for the none of the board LEDs. */ + /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 /* Inline Functions: */ diff --git a/LUFA/Drivers/Board/XPLAIN/AT45DB642D.h b/LUFA/Drivers/Board/XPLAIN/AT45DB642D.h index 97f94e0513..bbac11c89c 100644 --- a/LUFA/Drivers/Board/XPLAIN/AT45DB642D.h +++ b/LUFA/Drivers/Board/XPLAIN/AT45DB642D.h @@ -29,9 +29,9 @@ */ /** \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 Atmel XPLAIN. * - * 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 Atmel XPLAIN. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Dataflash_XPLAIN * @defgroup Group_Dataflash_XPLAIN_AT45DB642D AT45DB642D * - * 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 Atmel XPLAIN. * * \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. diff --git a/LUFA/Drivers/Board/XPLAIN/Dataflash.h b/LUFA/Drivers/Board/XPLAIN/Dataflash.h index c1b8cd6728..9edbf2e8a4 100644 --- a/LUFA/Drivers/Board/XPLAIN/Dataflash.h +++ b/LUFA/Drivers/Board/XPLAIN/Dataflash.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific Dataflash driver header for the XPLAIN. + * \brief Board specific Dataflash driver header for the Atmel XPLAIN. * - * Board specific Dataflash driver header for the XPLAIN. + * Board specific Dataflash driver header for the Atmel XPLAIN. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_Dataflash * @defgroup Group_Dataflash_XPLAIN XPLAIN * - * Board specific Dataflash driver header for the XPLAIN. + * Board specific Dataflash driver header for the Atmel XPLAIN. * * \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. diff --git a/LUFA/Drivers/Board/XPLAIN/LEDs.h b/LUFA/Drivers/Board/XPLAIN/LEDs.h index 697ec9677c..cf53fa50b7 100644 --- a/LUFA/Drivers/Board/XPLAIN/LEDs.h +++ b/LUFA/Drivers/Board/XPLAIN/LEDs.h @@ -29,9 +29,9 @@ */ /** \file - * \brief Board specific LED driver header for the XPLAIN. + * \brief Board specific LED driver header for the Atmel XPLAIN. * - * Board specific LED driver header for the XPLAIN. + * Board specific LED driver header for the Atmel XPLAIN. * * \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. @@ -40,7 +40,7 @@ /** \ingroup Group_LEDs * @defgroup Group_LEDs_XPLAIN XPLAIN * - * Board specific LED driver header for the XPLAIN. + * Board specific LED driver header for the Atmel XPLAIN. * * \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. @@ -74,7 +74,7 @@ /** LED mask for all the LEDs on the board. */ #define LEDS_ALL_LEDS LEDS_LED1 - /** LED mask for the none of the board LEDs. */ + /** LED mask for none of the board LEDs. */ #define LEDS_NO_LEDS 0 /* Inline Functions: */ diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index 5aaf9fa1f1..2896143aae 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -21,6 +21,7 @@ * - Added class specific descriptor type defines with standard USB-IF element naming * - Added new project makefile template to the library and moved board driver stub files into in a new "CodeTemplates" directory * - Added board hardware driver support for the UDIP development board + * - Added board hardware driver support for the BUI development board * * Changed: * - Removed complicated logic for the Endpoint_ConfigureEndpoint() function to use inlined or function called versions diff --git a/LUFA/ManPages/DeviceSupport.txt b/LUFA/ManPages/DeviceSupport.txt index 3c0900b142..4118f63cf3 100644 --- a/LUFA/ManPages/DeviceSupport.txt +++ b/LUFA/ManPages/DeviceSupport.txt @@ -30,15 +30,16 @@ * - STK526 * - XPLAIN (Both original first revision board, and newer boards with a different Dataflash model) * - * Currently supported third-party boards (see \ref Group_BoardTypes): - * - Bumble-B (using officially recommended peripheral layout) - * - Benito - * - JM-DB-U2 - * - Teensy (all revisions and versions) - * - USBTINY-MKII (all revisions and versions) + * Currently supported third-party boards (see \ref Group_BoardTypes for makefile BOARD constant names): + * - Fletchtronics Bumble-B (using officially recommended peripheral layout) + * - Tempusdictum Benito + * - MattairTech JM-DB-U2 + * - PJRC Teensy (all revisions and versions) + * - Tom's USBTINY-MKII (all revisions and versions) * - Olimex AVR-USB-162 - * - USBFOO - * - UDIP + * - Kernel Concepts USBFOO + * - Linnix UDIP + * - Busware BUI * - Any Other Custom User Boards (with Board Drivers if desired, see \ref Page_WritingBoardDrivers) */ \ No newline at end of file diff --git a/Projects/LEDNotifier/makefile b/Projects/LEDNotifier/makefile index 5075f23713..0ade2c1f06 100644 --- a/Projects/LEDNotifier/makefile +++ b/Projects/LEDNotifier/makefile @@ -66,7 +66,7 @@ MCU = at90usb1287 # Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. -BOARD = USBKEY +BOARD = BUI # Processor frequency.