From 84696c727df0424eff71a897243c43a6f4b82932 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 14 Sep 2010 11:11:54 +0000 Subject: 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 +- LUFA/Drivers/Board/BUI/LEDs.h | 131 ++++++++++++++++++++++++++++++ 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/Board/LEDs.h | 113 -------------------------- Projects/LEDNotifier/makefile | 2 +- 50 files changed, 302 insertions(+), 277 deletions(-) create mode 100644 LUFA/Drivers/Board/BUI/LEDs.h delete mode 100644 Projects/LEDNotifier/Board/LEDs.h diff --git a/LUFA.pnproj b/LUFA.pnproj index 764849bde..51398cb5d 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 04744de76..8081be854 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 bd66e4d8d..165472cc5 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 8859d3959..dd5ce8122 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 1fe71de2f..0ff47f418 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 5044d1eae..a61ac7187 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 37c1387d2..a2e3c40ba 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/LUFA/Drivers/Board/BUI/LEDs.h b/LUFA/Drivers/Board/BUI/LEDs.h new file mode 100644 index 000000000..2f68bd1e0 --- /dev/null +++ b/LUFA/Drivers/Board/BUI/LEDs.h @@ -0,0 +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. +*/ + +/** \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 4494d928a..28a948b5d 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 94465c89c..68866bf02 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 6446d1241..e9816a88b 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 7f34c77d8..6b056b53c 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 d37d4de27..624e1c20c 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 4440d76ba..3bf492438 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 855270564..af3b54fdc 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 9f36ec828..b24f6eb76 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 ac2954ce4..e00bcd15c 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 70013a31e..22efbc63e 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 da2d010e4..63c997b1b 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 c4a4b3f2f..24100561a 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 df4f52492..673bc25f8 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 de1f73ee9..7b95a62d9 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 208f8caca..0dfac0fd4 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 2a1f70714..67b896ecb 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 dd775b73b..5f5e58490 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 407c89278..7f3e2934a 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 1913cde09..aa7346797 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 0ab686cbd..da51919c2 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 cb412440c..40d42c96f 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 4cea565cd..0bf9c7937 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 de65d26b3..d01adf8eb 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 be6640ca2..37ebb6a9b 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 7615fe6d7..343024d7f 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 e7bdfe289..aeb09575f 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 39512676b..629e3f74f 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 31a4ccbde..ddab62479 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 a37ddf68a..f78ddb555 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 e926fe623..82a3b0f5b 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 27ff34e07..8b01c64c6 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 0b2fa456e..bea3073c1 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 ebac08e83..754009440 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 c922518a3..7037ee3d6 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 f394ec014..9338a2007 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 97f94e051..bbac11c89 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 c1b8cd672..9edbf2e8a 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 697ec9677..cf53fa50b 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 5aaf9fa1f..2896143aa 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 3c0900b14..4118f63cf 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/Board/LEDs.h b/Projects/LEDNotifier/Board/LEDs.h deleted file mode 100644 index c43cfc8bc..000000000 --- a/Projects/LEDNotifier/Board/LEDs.h +++ /dev/null @@ -1,113 +0,0 @@ -/* - 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 diff --git a/Projects/LEDNotifier/makefile b/Projects/LEDNotifier/makefile index 5075f2371..0ade2c1f0 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. -- cgit v1.2.3