X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/312748702a0f87f79c6e86745d3699d09a91778c..3757b1760fdd197a8c7227bbfd0b11ee33eb99e6:/LUFA/Drivers/Board/LEDs.h?ds=inline diff --git a/LUFA/Drivers/Board/LEDs.h b/LUFA/Drivers/Board/LEDs.h index cd2b857a4..e93a381f1 100644 --- a/LUFA/Drivers/Board/LEDs.h +++ b/LUFA/Drivers/Board/LEDs.h @@ -71,7 +71,6 @@ /* Macros: */ #if !defined(__DOXYGEN__) #define INCLUDE_FROM_LEDS_H - #define INCLUDE_FROM_BOARD_DRIVER #endif /* Includes: */ @@ -89,6 +88,14 @@ #include "RZUSBSTICK/LEDs.h" #elif (BOARD == BOARD_ATAVRUSBRF01) #include "ATAVRUSBRF01/LEDs.h" + #elif (BOARD == BOARD_XPLAIN) + #include "XPLAIN/LEDs.h" + #elif (BOARD == BOARD_XPLAIN_REV1) + #include "XPLAIN/LEDs.h" + #elif (BOARD == BOARD_BUMBLEB) + #include "BUMBLEB/LEDs.h" + #elif (BOARD == BOARD_EVK527) + #include "EVK527/LEDs.h" #elif (BOARD == BOARD_USER) #include "Board/LEDs.h" #endif @@ -142,6 +149,12 @@ * \param[in] ActiveMask Mask of whether the LEDs in the LED mask should be turned on or off */ static inline void LEDs_ChangeLEDs(const uint8_t LEDMask, const uint8_t ActiveMask); + + /** Toggles all LEDs in the LED mask, leaving all others in their current states. + * + * \param[in] LEDMask Mask of the board LEDs to manipulate (see board-specific LEDs.h driver file) + */ + static inline void LEDs_ToggleLEDs(const uint8_t LEDMask); /** Returns the status of all the board LEDs; set LED masks in the return value indicate that the * corresponding LED is on.