/** \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
+ *\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
+ *\r
* @{\r
*/\r
\r
#endif\r
\r
/* Preprocessor Checks: */\r
- #if !defined(INCLUDE_FROM_LEDS_H)\r
+ #if !defined(__INCLUDE_FROM_LEDS_H)\r
#error Do not include this file directly. Include LUFA/Drivers/Board/LEDS.h instead.\r
#endif\r
\r
PORTB &= ~LEDS_ALL_LEDS;\r
}\r
\r
- static inline void LEDs_TurnOnLEDs(const uint8_t LedMask)\r
+ static inline void LEDs_TurnOnLEDs(const uintN_t LedMask)\r
{\r
PORTB |= LedMask;\r
}\r
\r
- static inline void LEDs_TurnOffLEDs(const uint8_t LedMask)\r
+ static inline void LEDs_TurnOffLEDs(const uintN_t LedMask)\r
{\r
PORTB &= ~LedMask;\r
}\r
\r
- static inline void LEDs_SetAllLEDs(const uint8_t LedMask)\r
+ static inline void LEDs_SetAllLEDs(const uintN_t LedMask)\r
{\r
PORTB = ((PORTB & ~LEDS_ALL_LEDS) | LedMask);\r
}\r
\r
- static inline void LEDs_ChangeLEDs(const uint8_t LedMask, const uint8_t ActiveMask)\r
+ static inline void LEDs_ChangeLEDs(const uintN_t LedMask, const uintN_t ActiveMask)\r
{\r
PORTB = ((PORTB & ~LedMask) | ActiveMask);\r
}\r
\r
- static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;\r
- static inline uint8_t LEDs_GetLEDs(void)\r
+ static inline uintN_t LEDs_GetLEDs(void)\r
{\r
return (PORTB & LEDS_ALL_LEDS);\r
}\r