Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00023 #ifndef X_STATBAR
00024 #define X_STATBAR
00025
00028 typedef enum {
00029 stbDisable = 0,
00030 stbEnable = 1,
00031 } hl_stb_state_t;
00032
00035 typedef enum {
00036 FullOpMax = 0x39,
00037 FullOp4 = 0x38,
00038 FullOp3 = 0x37,
00039 FullOp2 = 0x36,
00040 FullOp1 = 0x35,
00041 FullOpMin = 0x34,
00042 LimitOp3 = 0x33,
00043 LimitOp2 = 0x32,
00044 LimitOp1 = 0x31,
00045 Empty = 0x30,
00046 } hl_stb_BatSym_t;
00047
00050 typedef enum {
00051 GpsNoLock = 0x26,
00052 GpsLock3 = 0x27,
00053 GpsLock4 = 0x28,
00054 GpsLock5 = 0x29,
00055 GpsLock6 = 0x2A,
00056 GpsLock7 = 0x2B,
00057 GpsLock8 = 0x2C,
00058 } hl_stb_GPSSym_t;
00059
00062 typedef enum {
00063 EmptySymbol = 0x20,
00065 BattNi = 0x21,
00066 BattPrimary = 0x22,
00068 SDcard = 0x23,
00069 SDcardActive = 0x24,
00071 USBsymbol = 0x25,
00072 SLEEPsymbol = 0x2D,
00073 IDLEsymbol = 0x2E,
00074 RUNsymbol = 0x2F,
00076 ExtIface = 0x3E,
00077 ExtIfActive = 0x3F,
00079 } hl_stb_Sym_t;
00080
00081
00082
00083
00089 void hl_stb_init(void);
00090
00093 void hl_stb_disable(void);
00094
00097 void hl_stb_enable(void);
00098
00101 void hl_stb_BattState(hl_stb_BatSym_t state);
00102
00105 void hl_stb_GPSState(hl_stb_GPSSym_t state);
00106
00107
00110 void hl_stb_SDState(hl_stb_Sym_t state);
00111
00114 void hl_stb_PwrState(hl_stb_Sym_t state);
00115
00118 void hl_stb_IOState(hl_stb_Sym_t state);
00119
00125 void hl_stb_WriteTime(const char *time);
00126
00132 void hl_stb_WriteSeconds(const char *seconds);
00133
00139 void hl_stb_WriteDate(const char *date);
00140
00141
00142 #endif
00143