|
Last change
on this file was b6aa0ba, checked in by andib <andi.b@…>, 2 years ago |
|
test with more files
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Rev | Line | |
|---|
| [b6aa0ba] | 1 | /*******************************************************************************
|
|---|
| 2 | MODULE : LEDs.h
|
|---|
| 3 |
|
|---|
| 4 | 20101007 AB Initial
|
|---|
| 5 | *******************************************************************************/
|
|---|
| 6 |
|
|---|
| 7 | // --- Includes ---------------------------------------------------------------
|
|---|
| 8 |
|
|---|
| 9 | // --- Pin Definitions --------------------------------------------------------
|
|---|
| 10 |
|
|---|
| 11 | // --- Defines ----------------------------------------------------------------
|
|---|
| 12 |
|
|---|
| 13 | // --- Typedefs ---------------------------------------------------------------
|
|---|
| 14 |
|
|---|
| 15 | // --- PUBLIC Variables -------------------------------------------------------
|
|---|
| 16 |
|
|---|
| 17 | // --- Variables --------------------------------------------------------------
|
|---|
| 18 |
|
|---|
| 19 | // --- Macros -----------------------------------------------------------------
|
|---|
| 20 |
|
|---|
| 21 | // --- Functionprototypes -----------------------------------------------------
|
|---|
| 22 | #ifndef __LEDS_H
|
|---|
| 23 | #define __LEDS_H
|
|---|
| 24 |
|
|---|
| 25 | void LedInit(void);
|
|---|
| 26 | void LED_Set(int led);
|
|---|
| 27 | void LED_Clear(int led);
|
|---|
| 28 | void LED_Toggle(int led);
|
|---|
| 29 |
|
|---|
| 30 | #define LedOn( x ) LED_Set( x )
|
|---|
| 31 | #define LedOff( x ) LED_Clear( x )
|
|---|
| 32 | #define LedToggle( x ) LED_Toggle( x )
|
|---|
| 33 |
|
|---|
| 34 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.