Change over board hardware drivers to use the custom uintN_t and intN_t native word...
[pub/lufa.git] / LUFA / Drivers / Board / EVK1101 / LEDs.h
index f19e464..9b34169 100644 (file)
                                AVR32_GPIO.port[0].ovrs  = LEDS_ALL_LEDS;\r
                        }\r
                        \r
-                       static inline void LEDs_TurnOnLEDs(const uint32_t LEDMask)\r
+                       static inline void LEDs_TurnOnLEDs(const uintN_t LEDMask)\r
                        {\r
                                AVR32_GPIO.port[0].ovrc = LEDMask;\r
                        }\r
 \r
-                       static inline void LEDs_TurnOffLEDs(const uint32_t LEDMask)\r
+                       static inline void LEDs_TurnOffLEDs(const uintN_t LEDMask)\r
                        {\r
                                AVR32_GPIO.port[0].ovrs = LEDMask;\r
                        }\r
 \r
-                       static inline void LEDs_SetAllLEDs(const uint32_t LEDMask)\r
+                       static inline void LEDs_SetAllLEDs(const uintN_t LEDMask)\r
                        {\r
                                AVR32_GPIO.port[0].ovrs = LEDS_ALL_LEDS;\r
                                AVR32_GPIO.port[0].ovrc = LEDMask;\r
                        }\r
                        \r
-                       static inline void LEDs_ChangeLEDs(const uint32_t LEDMask, const uint32_t ActiveMask)\r
+                       static inline void LEDs_ChangeLEDs(const uintN_t LEDMask, const uintN_t ActiveMask)\r
                        {\r
                                AVR32_GPIO.port[0].ovrs = LEDMask;\r
                                AVR32_GPIO.port[0].ovrc = ActiveMask;\r
                        }\r
                        \r
-                       static inline void LEDs_ToggleLEDs(const uint32_t LEDMask)\r
+                       static inline void LEDs_ToggleLEDs(const uintN_t LEDMask)\r
                        {\r
                                AVR32_GPIO.port[0].ovrt = LEDMask;\r
                        }\r
                        \r
-                       static inline uint32_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;\r
-                       static inline uint32_t LEDs_GetLEDs(void)\r
+                       static inline uintN_t LEDs_GetLEDs(void)\r
                        {\r
                                return (AVR32_GPIO.port[0].ovr & LEDS_ALL_LEDS);\r
                        }\r