projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull out common options in the StaticAnalysisTest build test makefile into a seperate...
[pub/USBasp.git]
/
LUFA
/
CodeTemplates
/
DriverStubs
/
LEDs.h
diff --git
a/LUFA/CodeTemplates/DriverStubs/LEDs.h
b/LUFA/CodeTemplates/DriverStubs/LEDs.h
index
b8244c0
..
1314e94
100644
(file)
--- a/
LUFA/CodeTemplates/DriverStubs/LEDs.h
+++ b/
LUFA/CodeTemplates/DriverStubs/LEDs.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
1
.
+ Copyright (C) Dean Camera, 201
2
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- 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
@@
-36,15
+36,13
@@
inside the application's folder.
This stub is for the board-specific component of the LUFA LEDs driver,
inside the application's folder.
This stub is for the board-specific component of the LUFA LEDs driver,
- for the LEDs (up to four) mounted on most
USB AVR
boards.
+ for the LEDs (up to four) mounted on most
development
boards.
*/
#ifndef __LEDS_USER_H__
#define __LEDS_USER_H__
/* Includes: */
*/
#ifndef __LEDS_USER_H__
#define __LEDS_USER_H__
/* Includes: */
- #include <avr/io.h>
-
// TODO: Add any required includes here
/* Enable C linkage for C++ Compilers: */
// TODO: Add any required includes here
/* Enable C linkage for C++ Compilers: */
@@
-84,6
+82,11
@@
// TODO: Add code to initialize LED port pins as outputs here
}
// TODO: Add code to initialize LED port pins as outputs here
}
+ static inline void LEDs_Disable(void)
+ {
+ // TODO: Clear the LED port pins as high impedance inputs here
+ }
+
static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask)
{
// TODO: Add code to turn on LEDs given in the LEDMask mask here, leave others as-is
static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask)
{
// TODO: Add code to turn on LEDs given in the LEDMask mask here, leave others as-is