Fixed Set/Clear Feature requests directed to a non-configured endpoint not returning...
[pub/USBasp.git] / LUFA / Drivers / Board / BUMBLEB / LEDs.h
index a5251be..25360c0 100644 (file)
 */\r
 \r
 /** \file\r
+ *  \brief Board specific LED driver header for the BUMBLEB.\r
  *\r
- *  Board specific LED driver header for the BUMBLEB. The BUMBLEB third-party board does not include any on-board\r
- *  peripherals, but does have an officially recommended external peripheral layout for buttons, LEDs and a Joystick.\r
+ *  Board specific LED driver header for the BUMBLEB (http://fletchtronics.net/bumble-b).\r
+ *\r
+ *  The BUMBLEB third-party board does not include any on-board peripherals, but does have an officially recommended\r
+ *  external peripheral layout for buttons, LEDs and a Joystick.\r
  *\r
  *  \note This file should not be included directly. It is automatically included as needed by the LEDs driver\r
  *        dispatch header located in LUFA/Drivers/Board/LEDs.h.\r
@@ -40,8 +43,9 @@
 /** \ingroup Group_LEDs\r
  *  @defgroup Group_LEDs_BUMBLEB BUMBLEB\r
  *\r
- *  Board specific LED driver header for the BUMBLEB. The BUMBLEB third-party board does not include any on-board\r
- *  peripherals, but does have an officially recommended external peripheral layout for buttons, LEDs and a Joystick.\r
+ *  Board specific LED driver header for the BUMBLEB (http://fletchtronics.net/bumble-b). The BUMBLEB third-party board\r
+ *  does not include any on-board peripherals, but does have an officially recommended external peripheral layout for\r
+ *  buttons, LEDs and a Joystick.\r
  *\r
  *  \note This file should not be included directly. It is automatically included as needed by the LEDs driver\r
  *        dispatch header located in LUFA/Drivers/Board/LEDs.h.\r
                                PORTB &= ~LEDS_ALL_LEDS;\r
                        }\r
                        \r
-                       static inline void LEDs_TurnOnLEDs(const uintN_t LedMask)\r
+                       static inline void LEDs_TurnOnLEDs(const uint8_t LedMask)\r
                        {\r
                                PORTB |= LedMask;\r
                        }\r
 \r
-                       static inline void LEDs_TurnOffLEDs(const uintN_t LedMask)\r
+                       static inline void LEDs_TurnOffLEDs(const uint8_t LedMask)\r
                        {\r
                                PORTB &= ~LedMask;\r
                        }\r
 \r
-                       static inline void LEDs_SetAllLEDs(const uintN_t LedMask)\r
+                       static inline void LEDs_SetAllLEDs(const uint8_t LedMask)\r
                        {\r
                                PORTB = ((PORTB & ~LEDS_ALL_LEDS) | LedMask);\r
                        }\r
                \r
-                       static inline void LEDs_ChangeLEDs(const uintN_t LedMask, const uintN_t ActiveMask)\r
+                       static inline void LEDs_ChangeLEDs(const uint8_t LedMask, const uint8_t ActiveMask)\r
                        {\r
                                PORTB = ((PORTB & ~LedMask) | ActiveMask);\r
                        }\r
                        \r
-                       static inline uintN_t LEDs_GetLEDs(void)\r
+                       static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;\r
+                       static inline uint8_t LEDs_GetLEDs(void)\r
                        {\r
                                return (PORTB & LEDS_ALL_LEDS);\r
                        }\r