123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- #ifndef __LEDS_USER_H__
- #define __LEDS_USER_H__
-
-
- #if defined(__cplusplus)
- extern "C" {
- #endif
-
- #if !defined(__INCLUDE_FROM_LEDS_H)
- #error Do not include this file directly. Include LUFA/Drivers/Board/LEDS.h instead.
- #endif
- #define BOARD_DUMMY_LEDS_IMPLEMENTATION
-
-
-
- #define LEDS_LED1 (1 << 0)
-
- #define LEDS_LED2 (1 << 1)
-
- #define LEDS_LED3 (1 << 2)
-
- #define LEDS_LED4 (1 << 3)
-
- #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3 | LEDS_LED4)
-
- #define LEDS_NO_LEDS 0
-
- #if !defined(__DOXYGEN__)
- static inline void LEDs_Init(void)
- {
- }
- static inline void LEDs_Disable(void)
- {
- }
- static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask)
- {
- }
- static inline void LEDs_TurnOffLEDs(const uint8_t LEDMask)
- {
- }
- static inline void LEDs_SetAllLEDs(const uint8_t LEDMask)
- {
- }
- static inline void LEDs_ChangeLEDs(const uint8_t LEDMask, const uint8_t ActiveMask)
- {
- }
- static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
- {
- }
- static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
- static inline uint8_t LEDs_GetLEDs(void)
- {
- return 0;
- }
- #endif
-
- #if defined(__cplusplus)
- }
- #endif
- #endif
|