projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add start of a SDP service table, which will be linked to the Bluetooth SDP code.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Board
/
EVK527
/
LEDs.h
diff --git
a/LUFA/Drivers/Board/EVK527/LEDs.h
b/LUFA/Drivers/Board/EVK527/LEDs.h
index
d01a814
..
079fdfa
100644
(file)
--- a/
LUFA/Drivers/Board/EVK527/LEDs.h
+++ b/
LUFA/Drivers/Board/EVK527/LEDs.h
@@
-29,6
+29,7
@@
*/
\r
\r
/** \file
\r
*/
\r
\r
/** \file
\r
+ * \brief Board specific LED driver header for the EVK527.
\r
*
\r
* Board specific LED driver header for the EVK527.
\r
*
\r
*
\r
* Board specific LED driver header for the EVK527.
\r
*
\r
@@
-90,31
+91,32
@@
PORTD &= ~LEDS_ALL_LEDS;
\r
}
\r
\r
PORTD &= ~LEDS_ALL_LEDS;
\r
}
\r
\r
- static inline void LEDs_TurnOnLEDs(const uint
N
_t LEDMask)
\r
+ static inline void LEDs_TurnOnLEDs(const uint
8
_t LEDMask)
\r
{
\r
PORTD |= LEDMask;
\r
}
\r
\r
{
\r
PORTD |= LEDMask;
\r
}
\r
\r
- static inline void LEDs_TurnOffLEDs(const uint
N
_t LEDMask)
\r
+ static inline void LEDs_TurnOffLEDs(const uint
8
_t LEDMask)
\r
{
\r
PORTD &= ~LEDMask;
\r
}
\r
\r
{
\r
PORTD &= ~LEDMask;
\r
}
\r
\r
- static inline void LEDs_SetAllLEDs(const uint
N
_t LEDMask)
\r
+ static inline void LEDs_SetAllLEDs(const uint
8
_t LEDMask)
\r
{
\r
PORTD = ((PORTD & ~LEDS_ALL_LEDS) | LEDMask);
\r
}
\r
\r
{
\r
PORTD = ((PORTD & ~LEDS_ALL_LEDS) | LEDMask);
\r
}
\r
\r
- static inline void LEDs_ChangeLEDs(const uint
N_t LEDMask, const uintN
_t ActiveMask)
\r
+ static inline void LEDs_ChangeLEDs(const uint
8_t LEDMask, const uint8
_t ActiveMask)
\r
{
\r
PORTD = ((PORTD & ~LEDMask) | ActiveMask);
\r
}
\r
\r
{
\r
PORTD = ((PORTD & ~LEDMask) | ActiveMask);
\r
}
\r
\r
- static inline void LEDs_ToggleLEDs(const uint
N
_t LEDMask)
\r
+ static inline void LEDs_ToggleLEDs(const uint
8
_t LEDMask)
\r
{
\r
PORTD = (PORTD ^ (LEDMask & LEDS_ALL_LEDS));
\r
}
\r
\r
{
\r
PORTD = (PORTD ^ (LEDMask & LEDS_ALL_LEDS));
\r
}
\r
\r
+ static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
\r
static inline uint8_t LEDs_GetLEDs(void)
\r
{
\r
return (PORTD & LEDS_ALL_LEDS);
\r
static inline uint8_t LEDs_GetLEDs(void)
\r
{
\r
return (PORTD & LEDS_ALL_LEDS);
\r