-
Notifications
You must be signed in to change notification settings - Fork 1
/
led.h
49 lines (31 loc) · 1.5 KB
/
led.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* ========================================================================
* [PROJECT] SIR
* [MODULE] LED
* [TITLE] LED control header file
* [FILE] led.h
* [VSN] 1.0
* [CREATED] 1 augustus 2003
* [LASTCHNGD] 23 augustus 2003
* [COPYRIGHT] Copyright (C) STREAMIT BV 2010
* [PURPOSE] LED control routines for SIR
* ======================================================================== */
/*-------------------------------------------------------------------------*/
/* global defines */
/*-------------------------------------------------------------------------*/
#define LED_OFF 0
#define LED_ON 1
#define LED_POWER_ON 2
#define LED_POWER_OFF 3
#define LED_TOGGLE 4
#define LED_FLASH_ON 5
#define LED_FLASH_OFF 6
/*-------------------------------------------------------------------------*/
/* typedefs & structs */
/*-------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------*/
/* export global routines (interface) */
/*-------------------------------------------------------------------------*/
void LedInit(void);
void LedControl(u_char);
u_char LedGetStatus(void);
/* ÍÍÍÍ End Of File ÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */