diff options
Diffstat (limited to 'LUFA/Drivers/Board/UC3/EVK1100/LEDs.h')
-rw-r--r-- | LUFA/Drivers/Board/UC3/EVK1100/LEDs.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h b/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h index 484cedeaf..6fd1ac8c2 100644 --- a/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h +++ b/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h @@ -1,7 +1,7 @@ /* LUFA Library Copyright (C) Dean Camera, 2011. - + dean [at] fourwalledcubicle [dot] com www.fourwalledcubicle.com */ @@ -92,7 +92,7 @@ /** LED mask for the eighth LED on the board. */ #define LEDS_LED8 (1UL << 30) - + /** LED mask for all the LEDs on the board. */ #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3 | LEDS_LED4 \ LEDS_LED5 | LEDS_LED6 | LEDS_LED7 | LEDS_LED8) @@ -108,7 +108,7 @@ AVR32_GPIO.port[LEDS_PORT].oders = LEDS_ALL_LEDS; AVR32_GPIO.port[LEDS_PORT].ovrs = LEDS_ALL_LEDS; } - + static inline void LEDs_TurnOnLEDs(const uint32_t LEDMask) { AVR32_GPIO.port[LEDS_PORT].ovrc = LEDMask; @@ -124,7 +124,7 @@ AVR32_GPIO.port[LEDS_PORT].ovrs = LEDS_ALL_LEDS; AVR32_GPIO.port[LEDS_PORT].ovrc = LEDMask; } - + static inline void LEDs_ChangeLEDs(const uint32_t LEDMask, const uint32_t ActiveMask) { AVR32_GPIO.port[LEDS_PORT].ovrs = LEDMask; @@ -135,7 +135,7 @@ { AVR32_GPIO.port[LEDS_PORT].ovrt = LEDMask; } - + static inline uint32_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT; static inline uint32_t LEDs_GetLEDs(void) { @@ -147,7 +147,8 @@ #if defined(__cplusplus) } #endif - + #endif /** @} */ + |