00001 /**************************************************************************/ 00017 #ifndef __SEGMENTLCD_H 00018 #define __SEGMENTLCD_H 00019 00020 #include <stdint.h> 00021 #include <stdbool.h> 00022 00023 #include "segmentlcdconfig.h" 00024 00025 /***************************************************************************/ 00030 /***************************************************************************/ 00035 #ifdef __cplusplus 00036 extern "C" { 00037 #endif 00038 00039 /* Regular functions */ 00040 void SegmentLCD_AllOff(void); 00041 void SegmentLCD_AllOn(void); 00042 void SegmentLCD_AlphaNumberOff(void); 00043 void SegmentLCD_ARing(int anum, int on); 00044 void SegmentLCD_Battery(int batteryLevel); 00045 void SegmentLCD_Disable(void); 00046 void SegmentLCD_EnergyMode(int em, int on); 00047 void SegmentLCD_Init(bool useBoost); 00048 void SegmentLCD_LowerHex( uint32_t num ); 00049 void SegmentLCD_LowerNumber( int num ); 00050 void SegmentLCD_Number(int value); 00051 void SegmentLCD_NumberOff(void); 00052 void SegmentLCD_Symbol(lcdSymbol s, int on); 00053 void SegmentLCD_UnsignedHex(uint16_t value); 00054 void SegmentLCD_Write(char *string); 00055 00056 #ifdef __cplusplus 00057 } 00058 #endif 00059 00063 #endif