93 |
/*! Enables/disables the external resistor ladder */ |
= |
93 |
/*! Enables/disables the external resistor ladder */ |
94 |
#define LCD_USE_RES_LADDER |
|
94 |
#define LCD_USE_RES_LADDER |
95 |
/*! Enables/disables the internal charge pump */ |
|
95 |
/*! Enables/disables the internal charge pump */ |
96 |
//#define LCD_USE_CHARGEPUMP |
|
96 |
//#define LCD_USE_CHARGEPUMP |
97 |
|
|
97 |
|
98 |
/*! Enables/disables the LCD */ |
|
98 |
/*! Enables/disables the LCD */ |
99 |
//#define ENABLE_LCD |
<> |
99 |
#define ENABLE_LCD |
100 |
|
|
|
|
101 |
/*! Maximum number of digits in LCD */ |
= |
100 |
/*! Maximum number of digits in LCD */ |
102 |
#define HAL_LCD_DIGIT_MAX 6 |
|
101 |
#define HAL_LCD_DIGIT_MAX 6 |
103 |
/*! Size of LCD Memory map */ |
|
102 |
/*! Size of LCD Memory map */ |
104 |
#define HAL_LCD_MEMMAP_SIZE 30 |
|
103 |
#define HAL_LCD_MEMMAP_SIZE 30 |
105 |
|
|
104 |
|
106 |
#ifdef ENABLE_LCD |
+- |
|
|
107 |
/*! Start Segment used for each one of the digits */ |
= |
105 |
/*! Start Segment used for each one of the digits */ |
108 |
typedef enum |
|
106 |
typedef enum |
109 |
{ |
|
107 |
{ |
110 |
HAL_LCD_DIGIT_1 = LCD_C_SEGMENT_LINE_0, /* Digit 1 in LCDMEM1 */ |
|
108 |
HAL_LCD_DIGIT_1 = LCD_C_SEGMENT_LINE_0, /* Digit 1 in LCDMEM1 */ |
111 |
HAL_LCD_DIGIT_2 = LCD_C_SEGMENT_LINE_4, /* Digit 2 in LCDMEM3 */ |
|
109 |
HAL_LCD_DIGIT_2 = LCD_C_SEGMENT_LINE_4, /* Digit 2 in LCDMEM3 */ |
112 |
HAL_LCD_DIGIT_3 = LCD_C_SEGMENT_LINE_8, /* Digit 3 in LCDMEM5 */ |
|
110 |
HAL_LCD_DIGIT_3 = LCD_C_SEGMENT_LINE_8, /* Digit 3 in LCDMEM5 */ |
|
247 |
//! |
= |
245 |
//! |
248 |
//! \return none |
|
246 |
//! \return none |
249 |
// |
|
247 |
// |
250 |
// ***************************************************************************** |
|
248 |
// ***************************************************************************** |
251 |
extern void hal_lcd_showBattery(uint8_t percentage); |
|
249 |
extern void hal_lcd_showBattery(uint8_t percentage); |
252 |
|
|
250 |
|
253 |
#endif /* ENABLE_LCD */ |
+- |
|
|
254 |
|
= |
251 |
|
255 |
#endif /* _MSP430FR6047_HAL_LCD_H_ */ |
|
252 |
#endif /* _MSP430FR6047_HAL_LCD_H_ */ |