TVSystemService JNI  0.10
HAL_frontpanel.h
1 /*****************************************************************************
2  * Copyright (c) TVStorm, Inc. http://www.tvstorm.com. All rights reserved.
3  * TVSTORM PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4  *
5  * $LastChangedBy: loneowl $
6  * $LastChangedDate: 2012-05-10 17:37:31 +0900 (목, 10 5월 2012) $
7  * $LastChangedRevision: 3462 $
8  * Description:
9  * Note:
10  *****************************************************************************/
11 
12 #ifndef HAL_FRONTPANEL_H_
13 #define HAL_FRONTPANEL_H_
14 
15 #include "HAL_error.h"
16 
17 #define HAL_FRONTPANEL_VERSION_100 100
18 #define HAL_FRONTPANEL_VERSION_LAST 101
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
27 enum
28 {
29  LED_POWER = 100,
30  LED_NETWORK,
31  LED_STATUS,
32  LED_MAX,
33 };
34 
38 enum
39 {
40  LED_STATE_OFF = 0,
41  LED_STATE_ON,
42  LED_STATE_BLINK,
43 };
44 
48 enum
49 {
50  LED_COLOR_WHITE = 0,
51  LED_COLOR_ORANGE,
52  LED_COLOR_GREEN,
53  LED_COLOR_YELLOW,
54  LED_COLOR_MARGENTA,
55  LED_COLOR_VIOLET,
56  LED_COLOR_EX1,
57  LED_COLOR_EX2,
58  LED_COLOR_EX3,
59  LED_COLOR_EX4,
60 };
61 
62 
64 {
68  int (*getVersion)();
69 
75  THAL_Error (*init)();
76 
82  THAL_Error (*deinit)();
83 
92  THAL_Error (*setLedState)(int id, int state);
93 
102  THAL_Error (*setLedColor)(int id, int color);
103 
104 };
105 
106 #ifdef __cplusplus
107 }
108 #endif
109 
110 #endif
int(* getVersion)()
Definition: HAL_frontpanel.h:68
THAL_Error(* setLedColor)(int id, int color)
Definition: HAL_frontpanel.h:102
THAL_Error(* init)()
Definition: HAL_frontpanel.h:75
THAL_Error(* deinit)()
Definition: HAL_frontpanel.h:82
Definition: HAL_frontpanel.h:63
THAL_Error(* setLedState)(int id, int state)
Definition: HAL_frontpanel.h:92