projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mark build test makefiles as being incompatible with parallel make builds, as they...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Board
/
AVR8
/
ATAVRUSBRF01
/
LEDs.h
diff --git
a/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/LEDs.h
b/LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/LEDs.h
index
bf4d5f0
..
2cc953b
100644
(file)
--- a/
LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/LEDs.h
+++ b/
LUFA/Drivers/Board/AVR8/ATAVRUSBRF01/LEDs.h
@@
-7,7
+7,7
@@
*/
/*
*/
/*
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-42,6
+42,12
@@
*
* Board specific LED driver header for the Atmel ATAVRUSBRF01.
*
*
* Board specific LED driver header for the Atmel ATAVRUSBRF01.
*
+ * <table>
+ * <tr><th>Name</th><th>Color</th><th>Info</th><th>Active Level</th><th>Port Pin</th></tr>
+ * <tr><td>LEDS_LED1</td><td>Green</td><td>RX LED</td><td>High</td><td>PORTD.0</td></tr>
+ * <tr><td>LEDS_LED2</td><td>Red</td><td>TX LED</td><td>High</td><td>PORTD.1</td></tr>
+ * </table>
+ *
* @{
*/
* @{
*/
@@
-61,15
+67,6
@@
#error Do not include this file directly. Include LUFA/Drivers/Board/LEDS.h instead.
#endif
#error Do not include this file directly. Include LUFA/Drivers/Board/LEDS.h instead.
#endif
- /* Private Interface - For use in library only: */
- #if !defined(__DOXYGEN__)
- /* Macros: */
- #define LEDS_PORTD_LEDS (LEDS_LED1 | LEDS_LED2)
- #define LEDS_PORTE_LEDS (LEDS_LED3 | LEDS_LED4)
-
- #define LEDS_PORTE_MASK_SHIFT 4
- #endif
-
/* Public Interface - May be used in end-application: */
/* Macros: */
/** LED mask for the first LED on the board. */
/* Public Interface - May be used in end-application: */
/* Macros: */
/** LED mask for the first LED on the board. */
@@
-121,7
+118,7
@@
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
{
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
{
- P
ORTD ^
= LEDMask;
+ P
IND
= LEDMask;
}
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
}
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;