MSP430 DriverLib for MSP430FR5xx_6xx Devices  2.10.00.09
 All Data Structures Functions Variables Modules Pages
lcd_c.h
1 //*****************************************************************************
2 //
3 // lcd_c.h - Driver for the LCD_C Module.
4 //
5 //*****************************************************************************
6 
7 #ifndef __MSP430WARE_LCD_C_H__
8 #define __MSP430WARE_LCD_C_H__
9 
10 #include "inc/hw_memmap.h"
11 
12 #ifdef __MSP430_HAS_LCD_C__
13 
14 //*****************************************************************************
15 //
16 // If building with a C++ compiler, make all of the definitions in this header
17 // have a C binding.
18 //
19 //*****************************************************************************
20 #ifdef __cplusplus
21 extern "C"
22 {
23 #endif
24 
25 #include "inc/hw_memmap.h"
26 //*****************************************************************************
27 //
28 //! \brief Used in the LCD_C_init() function as the initParams parameter.
29 //
30 //*****************************************************************************
31 typedef struct LCD_C_initParam {
32  //! Selects the clock that will be used by the LCD.
33  //! \n Valid values are:
34  //! - \b LCD_C_CLOCKSOURCE_ACLK [Default]
35  //! - \b LCD_C_CLOCKSOURCE_VLOCLK
36  uint16_t clockSource;
37  //! Selects the divider for LCD_frequency.
38  //! \n Valid values are:
39  //! - \b LCD_C_CLOCKDIVIDER_1 [Default]
40  //! - \b LCD_C_CLOCKDIVIDER_2
41  //! - \b LCD_C_CLOCKDIVIDER_3
42  //! - \b LCD_C_CLOCKDIVIDER_4
43  //! - \b LCD_C_CLOCKDIVIDER_5
44  //! - \b LCD_C_CLOCKDIVIDER_6
45  //! - \b LCD_C_CLOCKDIVIDER_7
46  //! - \b LCD_C_CLOCKDIVIDER_8
47  //! - \b LCD_C_CLOCKDIVIDER_9
48  //! - \b LCD_C_CLOCKDIVIDER_10
49  //! - \b LCD_C_CLOCKDIVIDER_11
50  //! - \b LCD_C_CLOCKDIVIDER_12
51  //! - \b LCD_C_CLOCKDIVIDER_13
52  //! - \b LCD_C_CLOCKDIVIDER_14
53  //! - \b LCD_C_CLOCKDIVIDER_15
54  //! - \b LCD_C_CLOCKDIVIDER_16
55  //! - \b LCD_C_CLOCKDIVIDER_17
56  //! - \b LCD_C_CLOCKDIVIDER_18
57  //! - \b LCD_C_CLOCKDIVIDER_19
58  //! - \b LCD_C_CLOCKDIVIDER_20
59  //! - \b LCD_C_CLOCKDIVIDER_21
60  //! - \b LCD_C_CLOCKDIVIDER_22
61  //! - \b LCD_C_CLOCKDIVIDER_23
62  //! - \b LCD_C_CLOCKDIVIDER_24
63  //! - \b LCD_C_CLOCKDIVIDER_25
64  //! - \b LCD_C_CLOCKDIVIDER_26
65  //! - \b LCD_C_CLOCKDIVIDER_27
66  //! - \b LCD_C_CLOCKDIVIDER_28
67  //! - \b LCD_C_CLOCKDIVIDER_29
68  //! - \b LCD_C_CLOCKDIVIDER_30
69  //! - \b LCD_C_CLOCKDIVIDER_31
70  //! - \b LCD_C_CLOCKDIVIDER_32
71  uint16_t clockDivider;
72  //! Selects the prescalar for frequency.
73  //! \n Valid values are:
74  //! - \b LCD_C_CLOCKPRESCALAR_1 [Default]
75  //! - \b LCD_C_CLOCKPRESCALAR_2
76  //! - \b LCD_C_CLOCKPRESCALAR_4
77  //! - \b LCD_C_CLOCKPRESCALAR_8
78  //! - \b LCD_C_CLOCKPRESCALAR_16
79  //! - \b LCD_C_CLOCKPRESCALAR_32
80  uint16_t clockPrescalar;
81  //! Selects LCD mux rate.
82  //! \n Valid values are:
83  //! - \b LCD_C_STATIC [Default]
84  //! - \b LCD_C_2_MUX
85  //! - \b LCD_C_3_MUX
86  //! - \b LCD_C_4_MUX
87  //! - \b LCD_C_5_MUX
88  //! - \b LCD_C_6_MUX
89  //! - \b LCD_C_7_MUX
90  //! - \b LCD_C_8_MUX
91  uint16_t muxRate;
92  //! Selects LCD waveform mode.
93  //! \n Valid values are:
94  //! - \b LCD_C_STANDARD_WAVEFORMS [Default]
95  //! - \b LCD_C_LOW_POWER_WAVEFORMS
96  uint16_t waveforms;
97  //! Sets LCD segment on/off.
98  //! \n Valid values are:
99  //! - \b LCD_C_SEGMENTS_DISABLED [Default]
100  //! - \b LCD_C_SEGMENTS_ENABLED
101  uint16_t segments;
103 
104 
105 extern const LCD_C_initParam LCD_C_INIT_PARAM;
106 
107 //*****************************************************************************
108 //
109 // The following are values that can be passed to the initParams parameter for
110 // functions: LCD_C_init().
111 //
112 //*****************************************************************************
113 #define LCD_C_CLOCKSOURCE_ACLK (0x0)
114 #define LCD_C_CLOCKSOURCE_VLOCLK (LCDSSEL)
115 
116 //*****************************************************************************
117 //
118 // The following are values that can be passed to the initParams parameter for
119 // functions: LCD_C_init().
120 //
121 //*****************************************************************************
122 #define LCD_C_CLOCKDIVIDER_1 (LCDDIV_0)
123 #define LCD_C_CLOCKDIVIDER_2 (LCDDIV_1)
124 #define LCD_C_CLOCKDIVIDER_3 (LCDDIV_2)
125 #define LCD_C_CLOCKDIVIDER_4 (LCDDIV_3)
126 #define LCD_C_CLOCKDIVIDER_5 (LCDDIV_4)
127 #define LCD_C_CLOCKDIVIDER_6 (LCDDIV_5)
128 #define LCD_C_CLOCKDIVIDER_7 (LCDDIV_6)
129 #define LCD_C_CLOCKDIVIDER_8 (LCDDIV_7)
130 #define LCD_C_CLOCKDIVIDER_9 (LCDDIV_8)
131 #define LCD_C_CLOCKDIVIDER_10 (LCDDIV_9)
132 #define LCD_C_CLOCKDIVIDER_11 (LCDDIV_10)
133 #define LCD_C_CLOCKDIVIDER_12 (LCDDIV_11)
134 #define LCD_C_CLOCKDIVIDER_13 (LCDDIV_12)
135 #define LCD_C_CLOCKDIVIDER_14 (LCDDIV_13)
136 #define LCD_C_CLOCKDIVIDER_15 (LCDDIV_14)
137 #define LCD_C_CLOCKDIVIDER_16 (LCDDIV_15)
138 #define LCD_C_CLOCKDIVIDER_17 (LCDDIV_16)
139 #define LCD_C_CLOCKDIVIDER_18 (LCDDIV_17)
140 #define LCD_C_CLOCKDIVIDER_19 (LCDDIV_18)
141 #define LCD_C_CLOCKDIVIDER_20 (LCDDIV_19)
142 #define LCD_C_CLOCKDIVIDER_21 (LCDDIV_20)
143 #define LCD_C_CLOCKDIVIDER_22 (LCDDIV_21)
144 #define LCD_C_CLOCKDIVIDER_23 (LCDDIV_22)
145 #define LCD_C_CLOCKDIVIDER_24 (LCDDIV_23)
146 #define LCD_C_CLOCKDIVIDER_25 (LCDDIV_24)
147 #define LCD_C_CLOCKDIVIDER_26 (LCDDIV_25)
148 #define LCD_C_CLOCKDIVIDER_27 (LCDDIV_26)
149 #define LCD_C_CLOCKDIVIDER_28 (LCDDIV_27)
150 #define LCD_C_CLOCKDIVIDER_29 (LCDDIV_28)
151 #define LCD_C_CLOCKDIVIDER_30 (LCDDIV_29)
152 #define LCD_C_CLOCKDIVIDER_31 (LCDDIV_30)
153 #define LCD_C_CLOCKDIVIDER_32 (LCDDIV_31)
154 
155 //*****************************************************************************
156 //
157 // The following are values that can be passed to the initParams parameter for
158 // functions: LCD_C_init().
159 //
160 //*****************************************************************************
161 #define LCD_C_CLOCKPRESCALAR_1 (LCDPRE_0)
162 #define LCD_C_CLOCKPRESCALAR_2 (LCDPRE_1)
163 #define LCD_C_CLOCKPRESCALAR_4 (LCDPRE_2)
164 #define LCD_C_CLOCKPRESCALAR_8 (LCDPRE_3)
165 #define LCD_C_CLOCKPRESCALAR_16 (LCDPRE_4)
166 #define LCD_C_CLOCKPRESCALAR_32 (LCDPRE_5)
167 
168 //*****************************************************************************
169 //
170 // The following are values that can be passed to the initParams parameter for
171 // functions: LCD_C_init().
172 //
173 //*****************************************************************************
174 #define LCD_C_STATIC (0x0)
175 #define LCD_C_2_MUX (LCDMX0)
176 #define LCD_C_3_MUX (LCDMX1)
177 #define LCD_C_4_MUX (LCDMX1 | LCDMX0)
178 #define LCD_C_5_MUX (LCDMX2)
179 #define LCD_C_6_MUX (LCDMX2 | LCDMX0)
180 #define LCD_C_7_MUX (LCDMX2 | LCDMX1)
181 #define LCD_C_8_MUX (LCDMX2 | LCDMX1 | LCDMX0)
182 
183 //*****************************************************************************
184 //
185 // The following are values that can be passed to the initParams parameter for
186 // functions: LCD_C_init().
187 //
188 //*****************************************************************************
189 #define LCD_C_STANDARD_WAVEFORMS (0x0)
190 #define LCD_C_LOW_POWER_WAVEFORMS (LCDLP)
191 
192 //*****************************************************************************
193 //
194 // The following are values that can be passed to the initParams parameter for
195 // functions: LCD_C_init().
196 //
197 //*****************************************************************************
198 #define LCD_C_SEGMENTS_DISABLED (0x0)
199 #define LCD_C_SEGMENTS_ENABLED (LCDSON)
200 
201 //*****************************************************************************
202 //
203 // The following are values that can be passed to the mask parameter for
204 // functions: LCD_C_clearInterrupt(), LCD_C_getInterruptStatus(),
205 // LCD_C_enableInterrupt(), and LCD_C_disableInterrupt() as well as returned by
206 // the LCD_C_getInterruptStatus() function.
207 //
208 //*****************************************************************************
209 #define LCD_C_NO_CAPACITANCE_CONNECTED_INTERRUPT (LCDNOCAPIE)
210 #define LCD_C_BLINKING_SEGMENTS_ON_INTERRUPT (LCDBLKONIE)
211 #define LCD_C_BLINKING_SEGMENTS_OFF_INTERRUPT (LCDBLKOFFIE)
212 #define LCD_C_FRAME_INTERRUPT (LCDFRMIE)
213 
214 //*****************************************************************************
215 //
216 // The following are values that can be passed to the displayMemory parameter
217 // for functions: LCD_C_selectDisplayMemory().
218 //
219 //*****************************************************************************
220 #define LCD_C_DISPLAYSOURCE_MEMORY (0x0)
221 #define LCD_C_DISPLAYSOURCE_BLINKINGMEMORY (LCDDISP)
222 
223 //*****************************************************************************
224 //
225 // The following are values that can be passed to the clockDivider parameter
226 // for functions: LCD_C_setBlinkingControl().
227 //
228 //*****************************************************************************
229 #define LCD_C_BLINK_FREQ_CLOCK_DIVIDER_1 (0x0)
230 #define LCD_C_BLINK_FREQ_CLOCK_DIVIDER_2 (LCDBLKDIV0)
231 #define LCD_C_BLINK_FREQ_CLOCK_DIVIDER_3 (LCDBLKDIV1)
232 #define LCD_C_BLINK_FREQ_CLOCK_DIVIDER_4 (LCDBLKDIV0 | LCDBLKDIV1)
233 #define LCD_C_BLINK_FREQ_CLOCK_DIVIDER_5 (LCDBLKDIV2)
234 #define LCD_C_BLINK_FREQ_CLOCK_DIVIDER_6 (LCDBLKDIV2 | LCDBLKDIV0)
235 #define LCD_C_BLINK_FREQ_CLOCK_DIVIDER_7 (LCDBLKDIV2 | LCDBLKDIV1)
236 #define LCD_C_BLINK_FREQ_CLOCK_DIVIDER_8 (LCDBLKDIV2 | LCDBLKDIV1 | LCDBLKDIV0)
237 
238 //*****************************************************************************
239 //
240 // The following are values that can be passed to the clockPrescalar parameter
241 // for functions: LCD_C_setBlinkingControl().
242 //
243 //*****************************************************************************
244 #define LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_512 (0x0)
245 #define LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_1024 (LCDBLKPRE0)
246 #define LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_2048 (LCDBLKPRE1)
247 #define LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_4096 (LCDBLKPRE1 | LCDBLKPRE0)
248 #define LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_8162 (LCDBLKPRE2)
249 #define LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_16384 (LCDBLKPRE2 | LCDBLKPRE0)
250 #define LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_32768 (LCDBLKPRE2 | LCDBLKPRE1)
251 #define LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_65536 \
252  (LCDBLKPRE2 | LCDBLKPRE1 | LCDBLKPRE0)
253 
254 //*****************************************************************************
255 //
256 // The following are values that can be passed to the blinkingMode parameter
257 // for functions: LCD_C_setBlinkingControl().
258 //
259 //*****************************************************************************
260 #define LCD_C_BLINK_MODE_DISABLED (LCDBLKMOD_0)
261 #define LCD_C_BLINK_MODE_INDIVIDUAL_SEGMENTS (LCDBLKMOD_1)
262 #define LCD_C_BLINK_MODE_ALL_SEGMENTS (LCDBLKMOD_2)
263 #define LCD_C_BLINK_MODE_SWITCHING_BETWEEN_DISPLAY_CONTENTS (LCDBLKMOD_3)
264 
265 //*****************************************************************************
266 //
267 // The following are values that can be passed to the bias parameter for
268 // functions: LCD_C_selectBias().
269 //
270 //*****************************************************************************
271 #define LCD_C_BIAS_1_3 (0x0)
272 #define LCD_C_BIAS_1_2 (LCD2B)
273 
274 //*****************************************************************************
275 //
276 // The following are values that can be passed to the reference parameter for
277 // functions: LCD_C_selectChargePumpReference().
278 //
279 //*****************************************************************************
280 #define LCD_C_INTERNAL_REFERENCE_VOLTAGE (VLCDREF_0)
281 #define LCD_C_EXTERNAL_REFERENCE_VOLTAGE (VLCDREF_1)
282 #define LCD_C_INTERNAL_REFERENCE_VOLTAGE_SWITCHED_TO_EXTERNAL_PIN (VLCDREF_2)
283 
284 //*****************************************************************************
285 //
286 // The following are values that can be passed to the vlcdSource parameter for
287 // functions: LCD_C_setVLCDSource().
288 //
289 //*****************************************************************************
290 #define LCD_C_VLCD_GENERATED_INTERNALLY (0x0)
291 #define LCD_C_VLCD_SOURCED_EXTERNALLY (VLCDEXT)
292 
293 //*****************************************************************************
294 //
295 // The following are values that can be passed to the v2v3v4Source parameter
296 // for functions: LCD_C_setVLCDSource().
297 //
298 //*****************************************************************************
299 #define LCD_C_V2V3V4_GENERATED_INTERNALLY_NOT_SWITCHED_TO_PINS (0x0)
300 #define LCD_C_V2V3V4_GENERATED_INTERNALLY_SWITCHED_TO_PINS (LCDREXT)
301 #define LCD_C_V2V3V4_SOURCED_EXTERNALLY (LCDEXTBIAS)
302 
303 //*****************************************************************************
304 //
305 // The following are values that can be passed to the v5Source parameter for
306 // functions: LCD_C_setVLCDSource().
307 //
308 //*****************************************************************************
309 #define LCD_C_V5_VSS (0x0)
310 #define LCD_C_V5_SOURCED_FROM_R03 (R03EXT)
311 
312 //*****************************************************************************
313 //
314 // The following are values that can be passed to the voltage parameter for
315 // functions: LCD_C_setVLCDVoltage().
316 //
317 //*****************************************************************************
318 #define LCD_C_CHARGEPUMP_DISABLED (0x0)
319 #define LCD_C_CHARGEPUMP_VOLTAGE_2_60V_OR_2_17VREF (VLCD0)
320 #define LCD_C_CHARGEPUMP_VOLTAGE_2_66V_OR_2_22VREF (VLCD1)
321 #define LCD_C_CHARGEPUMP_VOLTAGE_2_72V_OR_2_27VREF (VLCD1 | VLCD0)
322 #define LCD_C_CHARGEPUMP_VOLTAGE_2_78V_OR_2_32VREF (VLCD2)
323 #define LCD_C_CHARGEPUMP_VOLTAGE_2_84V_OR_2_37VREF (VLCD2 | VLCD0)
324 #define LCD_C_CHARGEPUMP_VOLTAGE_2_90V_OR_2_42VREF (VLCD2 | VLCD1)
325 #define LCD_C_CHARGEPUMP_VOLTAGE_2_96V_OR_2_47VREF (VLCD2 | VLCD1 | VLCD0)
326 #define LCD_C_CHARGEPUMP_VOLTAGE_3_02V_OR_2_52VREF (VLCD3)
327 #define LCD_C_CHARGEPUMP_VOLTAGE_3_08V_OR_2_57VREF (VLCD3 | VLCD0)
328 #define LCD_C_CHARGEPUMP_VOLTAGE_3_14V_OR_2_62VREF (VLCD3 | VLCD1)
329 #define LCD_C_CHARGEPUMP_VOLTAGE_3_20V_OR_2_67VREF (VLCD3 | VLCD1 | VLCD0)
330 #define LCD_C_CHARGEPUMP_VOLTAGE_3_26V_OR_2_72VREF (VLCD3 | VLCD2)
331 #define LCD_C_CHARGEPUMP_VOLTAGE_3_32V_OR_2_77VREF (VLCD3 | VLCD2 | VLCD0)
332 #define LCD_C_CHARGEPUMP_VOLTAGE_3_38V_OR_2_82VREF (VLCD3 | VLCD2 | VLCD1)
333 #define LCD_C_CHARGEPUMP_VOLTAGE_3_44V_OR_2_87VREF \
334  (VLCD3 | VLCD2 | VLCD1 | VLCD0)
335 
336 //*****************************************************************************
337 //
338 // The following are values that can be passed to the startPin parameter for
339 // functions: LCD_C_setPinAsLCDFunctionEx(); the endPin parameter for
340 // functions: LCD_C_setPinAsLCDFunctionEx(); the pin parameter for functions:
341 // LCD_C_setPinAsLCDFunction(), LCD_C_setPinAsPortFunction(),
342 // LCD_C_setMemory(), and LCD_C_setBlinkingMemory().
343 //
344 //*****************************************************************************
345 #define LCD_C_SEGMENT_LINE_0 (0)
346 #define LCD_C_SEGMENT_LINE_1 (1)
347 #define LCD_C_SEGMENT_LINE_2 (2)
348 #define LCD_C_SEGMENT_LINE_3 (3)
349 #define LCD_C_SEGMENT_LINE_4 (4)
350 #define LCD_C_SEGMENT_LINE_5 (5)
351 #define LCD_C_SEGMENT_LINE_6 (6)
352 #define LCD_C_SEGMENT_LINE_7 (7)
353 #define LCD_C_SEGMENT_LINE_8 (8)
354 #define LCD_C_SEGMENT_LINE_9 (9)
355 #define LCD_C_SEGMENT_LINE_10 (10)
356 #define LCD_C_SEGMENT_LINE_11 (11)
357 #define LCD_C_SEGMENT_LINE_12 (12)
358 #define LCD_C_SEGMENT_LINE_13 (13)
359 #define LCD_C_SEGMENT_LINE_14 (14)
360 #define LCD_C_SEGMENT_LINE_15 (15)
361 #define LCD_C_SEGMENT_LINE_16 (16)
362 #define LCD_C_SEGMENT_LINE_17 (17)
363 #define LCD_C_SEGMENT_LINE_18 (18)
364 #define LCD_C_SEGMENT_LINE_19 (19)
365 #define LCD_C_SEGMENT_LINE_20 (20)
366 #define LCD_C_SEGMENT_LINE_21 (21)
367 #define LCD_C_SEGMENT_LINE_22 (22)
368 #define LCD_C_SEGMENT_LINE_23 (23)
369 #define LCD_C_SEGMENT_LINE_24 (24)
370 #define LCD_C_SEGMENT_LINE_25 (25)
371 #define LCD_C_SEGMENT_LINE_26 (26)
372 #define LCD_C_SEGMENT_LINE_27 (27)
373 #define LCD_C_SEGMENT_LINE_28 (28)
374 #define LCD_C_SEGMENT_LINE_29 (29)
375 #define LCD_C_SEGMENT_LINE_30 (30)
376 #define LCD_C_SEGMENT_LINE_31 (31)
377 #define LCD_C_SEGMENT_LINE_32 (32)
378 #define LCD_C_SEGMENT_LINE_33 (33)
379 #define LCD_C_SEGMENT_LINE_34 (34)
380 #define LCD_C_SEGMENT_LINE_35 (35)
381 #define LCD_C_SEGMENT_LINE_36 (36)
382 #define LCD_C_SEGMENT_LINE_37 (37)
383 #define LCD_C_SEGMENT_LINE_38 (38)
384 #define LCD_C_SEGMENT_LINE_39 (39)
385 #define LCD_C_SEGMENT_LINE_40 (40)
386 #define LCD_C_SEGMENT_LINE_41 (41)
387 #define LCD_C_SEGMENT_LINE_42 (42)
388 #define LCD_C_SEGMENT_LINE_43 (43)
389 #define LCD_C_SEGMENT_LINE_44 (44)
390 #define LCD_C_SEGMENT_LINE_45 (45)
391 #define LCD_C_SEGMENT_LINE_46 (46)
392 #define LCD_C_SEGMENT_LINE_47 (47)
393 #define LCD_C_SEGMENT_LINE_48 (48)
394 #define LCD_C_SEGMENT_LINE_49 (49)
395 #define LCD_C_SEGMENT_LINE_50 (50)
396 #define LCD_C_SEGMENT_LINE_51 (51)
397 #define LCD_C_SEGMENT_LINE_52 (52)
398 #define LCD_C_SEGMENT_LINE_53 (53)
399 #define LCD_C_SEGMENT_LINE_54 (54)
400 #define LCD_C_SEGMENT_LINE_55 (55)
401 #define LCD_C_SEGMENT_LINE_56 (56)
402 #define LCD_C_SEGMENT_LINE_57 (57)
403 #define LCD_C_SEGMENT_LINE_58 (58)
404 #define LCD_C_SEGMENT_LINE_59 (59)
405 #define LCD_C_SEGMENT_LINE_60 (60)
406 #define LCD_C_SEGMENT_LINE_61 (61)
407 #define LCD_C_SEGMENT_LINE_62 (62)
408 #define LCD_C_SEGMENT_LINE_63 (63)
409 
410 //*****************************************************************************
411 //
412 // The following are values that can be passed to the syncToClock parameter for
413 // functions: LCD_C_configChargePump().
414 //
415 //*****************************************************************************
416 #define LCD_C_SYNCHRONIZATION_DISABLED (0x0)
417 #define LCD_C_SYNCHRONIZATION_ENABLED (LCDCPCLKSYNC)
418 
419 //*****************************************************************************
420 //
421 // Prototypes for the APIs.
422 //
423 //*****************************************************************************
424 
425 //*****************************************************************************
426 //
427 //! \brief Initializes the LCD Module.
428 //!
429 //! his function initializes the LCD but without turning on. It bascially setup
430 //! the clock source, clock divider, clock prescalar, mux rate, low-power
431 //! waveform and segments on/off. After calling this function, user can config
432 //! charge pump, internal reference voltage and voltage sources.
433 //!
434 //! \param baseAddress is the base address of the LCD_C module.
435 //! \param initParams is the pointer to LCD_InitParam structure. See the
436 //! following parameters for each field.
437 //!
438 //! \return None
439 //
440 //*****************************************************************************
441 extern void LCD_C_init(uint16_t baseAddress,
442  LCD_C_initParam *initParams);
443 
444 //*****************************************************************************
445 //
446 //! \brief Turns on the LCD module.
447 //!
448 //! \param baseAddress is the base address of the LCD_C module.
449 //!
450 //! Modified bits are \b LCDON of \b LCDCTL0 register.
451 //!
452 //! \return None
453 //
454 //*****************************************************************************
455 extern void LCD_C_on(uint16_t baseAddress);
456 
457 //*****************************************************************************
458 //
459 //! \brief Turns off the LCD module.
460 //!
461 //! \param baseAddress is the base address of the LCD_C module.
462 //!
463 //! Modified bits are \b LCDON of \b LCDCTL0 register.
464 //!
465 //! \return None
466 //
467 //*****************************************************************************
468 extern void LCD_C_off(uint16_t baseAddress);
469 
470 //*****************************************************************************
471 //
472 //! \brief Clears the LCD interrupt flags.
473 //!
474 //! \param baseAddress is the base address of the LCD_C module.
475 //! \param mask is the masked interrupt flag to be cleared.
476 //! Valid values are:
477 //! - \b LCD_C_NO_CAPACITANCE_CONNECTED_INTERRUPT
478 //! - \b LCD_C_BLINKING_SEGMENTS_ON_INTERRUPT
479 //! - \b LCD_C_BLINKING_SEGMENTS_OFF_INTERRUPT
480 //! - \b LCD_C_FRAME_INTERRUPT
481 //! \n Modified bits are \b LCDCAPIFG, \b LCDBLKONIFG, \b LCDBLKOFFIFG
482 //! and \b LCDFRMIFG of \b LCDCTL1 register.
483 //!
484 //! \return None
485 //
486 //*****************************************************************************
487 extern void LCD_C_clearInterrupt(uint16_t baseAddress,
488  uint16_t mask);
489 
490 //*****************************************************************************
491 //
492 //! \brief Gets the LCD interrupt status.
493 //!
494 //! \param baseAddress is the base address of the LCD_C module.
495 //! \param mask is the masked interrupt flags.
496 //! Valid values are:
497 //! - \b LCD_C_NO_CAPACITANCE_CONNECTED_INTERRUPT
498 //! - \b LCD_C_BLINKING_SEGMENTS_ON_INTERRUPT
499 //! - \b LCD_C_BLINKING_SEGMENTS_OFF_INTERRUPT
500 //! - \b LCD_C_FRAME_INTERRUPT
501 //!
502 //! \return None
503 //! Return Logical OR of any of the following:
504 //! - \b LCD_C_NO_CAPACITANCE_CONNECTED_INTERRUPT
505 //! - \b LCD_C_BLINKING_SEGMENTS_ON_INTERRUPT
506 //! - \b LCD_C_BLINKING_SEGMENTS_OFF_INTERRUPT
507 //! - \b LCD_C_FRAME_INTERRUPT
508 //! \n indicating the status of the masked interrupts
509 //
510 //*****************************************************************************
511 extern uint16_t LCD_C_getInterruptStatus(uint16_t baseAddress,
512  uint16_t mask);
513 
514 //*****************************************************************************
515 //
516 //! \brief Enables LCD interrupt sources.
517 //!
518 //! \param baseAddress is the base address of the LCD_C module.
519 //! \param mask is the interrupts to be enabled.
520 //! Valid values are:
521 //! - \b LCD_C_NO_CAPACITANCE_CONNECTED_INTERRUPT
522 //! - \b LCD_C_BLINKING_SEGMENTS_ON_INTERRUPT
523 //! - \b LCD_C_BLINKING_SEGMENTS_OFF_INTERRUPT
524 //! - \b LCD_C_FRAME_INTERRUPT
525 //! \n Modified bits are \b LCDCAPIE, \b LCDBLKONIE, \b LCDBLKOFFIE and
526 //! \b LCDFRMIE of \b LCDCTL1 register.
527 //!
528 //! \return None
529 //
530 //*****************************************************************************
531 extern void LCD_C_enableInterrupt(uint16_t baseAddress,
532  uint16_t mask);
533 
534 //*****************************************************************************
535 //
536 //! \brief Disables LCD interrupt sources.
537 //!
538 //! \param baseAddress is the base address of the LCD_C module.
539 //! \param mask is the interrupts to be disabled.
540 //! Valid values are:
541 //! - \b LCD_C_NO_CAPACITANCE_CONNECTED_INTERRUPT
542 //! - \b LCD_C_BLINKING_SEGMENTS_ON_INTERRUPT
543 //! - \b LCD_C_BLINKING_SEGMENTS_OFF_INTERRUPT
544 //! - \b LCD_C_FRAME_INTERRUPT
545 //! \n Modified bits are \b LCDCAPIE, \b LCDBLKONIE, \b LCDBLKOFFIE and
546 //! \b LCDFRMIE of \b LCDCTL1 register.
547 //!
548 //! \return None
549 //
550 //*****************************************************************************
551 extern void LCD_C_disableInterrupt(uint16_t baseAddress,
552  uint16_t mask);
553 
554 //*****************************************************************************
555 //
556 //! \brief Clears all LCD memory registers.
557 //!
558 //! \param baseAddress is the base address of the LCD_C module.
559 //!
560 //! Modified bits are \b LCDCLRM of \b LCDMEMCTL register.
561 //!
562 //! \return None
563 //
564 //*****************************************************************************
565 extern void LCD_C_clearMemory(uint16_t baseAddress);
566 
567 //*****************************************************************************
568 //
569 //! \brief Clears all LCD blinking memory registers.
570 //!
571 //! \param baseAddress is the base address of the LCD_C module.
572 //!
573 //! Modified bits are \b LCDCLRBM of \b LCDMEMCTL register.
574 //!
575 //! \return None
576 //
577 //*****************************************************************************
578 extern void LCD_C_clearBlinkingMemory(uint16_t baseAddress);
579 
580 //*****************************************************************************
581 //
582 //! \brief Selects display memory.
583 //!
584 //! This function selects display memory either from memory or blinking memory.
585 //! Please note if the blinking mode is selected as
586 //! LCD_BLINKMODE_INDIVIDUALSEGMENTS or LCD_BLINKMODE_ALLSEGMENTS or mux rate
587 //! >=5, display memory can not be changed. If
588 //! LCD_BLINKMODE_SWITCHDISPLAYCONTENTS is selected, display memory bit
589 //! reflects current displayed memory.
590 //!
591 //! \param baseAddress is the base address of the LCD_C module.
592 //! \param displayMemory is the desired displayed memory.
593 //! Valid values are:
594 //! - \b LCD_C_DISPLAYSOURCE_MEMORY [Default]
595 //! - \b LCD_C_DISPLAYSOURCE_BLINKINGMEMORY
596 //! \n Modified bits are \b LCDDISP of \b LCDMEMCTL register.
597 //!
598 //! \return None
599 //
600 //*****************************************************************************
601 extern void LCD_C_selectDisplayMemory(uint16_t baseAddress,
602  uint16_t displayMemory);
603 
604 //*****************************************************************************
605 //
606 //! \brief Sets the blink settings.
607 //!
608 //! \param baseAddress is the base address of the LCD_C module.
609 //! \param clockDivider is the clock divider for blinking frequency.
610 //! Valid values are:
611 //! - \b LCD_C_BLINK_FREQ_CLOCK_DIVIDER_1 [Default]
612 //! - \b LCD_C_BLINK_FREQ_CLOCK_DIVIDER_2
613 //! - \b LCD_C_BLINK_FREQ_CLOCK_DIVIDER_3
614 //! - \b LCD_C_BLINK_FREQ_CLOCK_DIVIDER_4
615 //! - \b LCD_C_BLINK_FREQ_CLOCK_DIVIDER_5
616 //! - \b LCD_C_BLINK_FREQ_CLOCK_DIVIDER_6
617 //! - \b LCD_C_BLINK_FREQ_CLOCK_DIVIDER_7
618 //! - \b LCD_C_BLINK_FREQ_CLOCK_DIVIDER_8
619 //! \n Modified bits are \b LCDBLKDIVx of \b LCDBLKCTL register.
620 //! \param clockPrescalar is the clock pre-scalar for blinking frequency.
621 //! Valid values are:
622 //! - \b LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_512 [Default]
623 //! - \b LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_1024
624 //! - \b LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_2048
625 //! - \b LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_4096
626 //! - \b LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_8162
627 //! - \b LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_16384
628 //! - \b LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_32768
629 //! - \b LCD_C_BLINK_FREQ_CLOCK_PRESCALAR_65536
630 //! \n Modified bits are \b LCDBLKPREx of \b LCDBLKCTL register.
631 //!
632 //! \return None
633 //
634 //*****************************************************************************
635 extern void LCD_C_setBlinkingControl(uint16_t baseAddress,
636  uint8_t clockDivider,
637  uint8_t clockPrescalar,
638  uint8_t mode);
639 
640 //*****************************************************************************
641 //
642 //! \brief Enables the charge pump.
643 //!
644 //! \param baseAddress is the base address of the LCD_C module.
645 //!
646 //! Modified bits are \b LCDCPEN of \b LCDVCTL register; bits \b LCDON of \b
647 //! LCDCTL0 register.
648 //!
649 //! \return None
650 //
651 //*****************************************************************************
652 extern void LCD_C_enableChargePump(uint16_t baseAddress);
653 
654 //*****************************************************************************
655 //
656 //! \brief Disables the charge pump.
657 //!
658 //! \param baseAddress is the base address of the LCD_C module.
659 //!
660 //! Modified bits are \b LCDCPEN of \b LCDVCTL register; bits \b LCDON of \b
661 //! LCDCTL0 register.
662 //!
663 //! \return None
664 //
665 //*****************************************************************************
666 extern void LCD_C_disableChargePump(uint16_t baseAddress);
667 
668 //*****************************************************************************
669 //
670 //! \brief Selects the bias level.
671 //!
672 //! \param baseAddress is the base address of the LCD_C module.
673 //! \param bias is the select for bias level.
674 //! Valid values are:
675 //! - \b LCD_C_BIAS_1_3 [Default] - 1/3 bias
676 //! - \b LCD_C_BIAS_1_2 - 1/2 bias
677 //!
678 //! Modified bits are \b LCD2B of \b LCDVCTL register; bits \b LCDON of \b
679 //! LCDCTL0 register.
680 //!
681 //! \return None
682 //
683 //*****************************************************************************
684 extern void LCD_C_selectBias(uint16_t baseAddress,
685  uint16_t bias);
686 
687 //*****************************************************************************
688 //
689 //! \brief Selects the charge pump reference.
690 //!
691 //! The charge pump reference does not support
692 //! LCD_C_EXTERNAL_REFERENCE_VOLTAGE,
693 //! LCD_C_INTERNAL_REFERENCE_VOLTAGE_SWITCHED_TO_EXTERNAL_PIN when
694 //! LCD_C_V2V3V4_SOURCED_EXTERNALLY or
695 //! LCD_C_V2V3V4_GENERATED_INTERNALLY_SWITCHED_TO_PINS is selected.
696 //!
697 //! \param baseAddress is the base address of the LCD_C module.
698 //! \param reference is the select for charge pump reference.
699 //! Valid values are:
700 //! - \b LCD_C_INTERNAL_REFERENCE_VOLTAGE [Default]
701 //! - \b LCD_C_EXTERNAL_REFERENCE_VOLTAGE
702 //! - \b LCD_C_INTERNAL_REFERENCE_VOLTAGE_SWITCHED_TO_EXTERNAL_PIN
703 //!
704 //! Modified bits are \b VLCDREFx of \b LCDVCTL register; bits \b LCDON of \b
705 //! LCDCTL0 register.
706 //!
707 //! \return None
708 //
709 //*****************************************************************************
710 extern void LCD_C_selectChargePumpReference(uint16_t baseAddress,
711  uint16_t reference);
712 
713 //*****************************************************************************
714 //
715 //! \brief Sets the voltage source for V2/V3/V4 and V5.
716 //!
717 //! The charge pump reference does not support
718 //! LCD_C_EXTERNAL_REFERENCE_VOLTAGE,
719 //! LCD_C_INTERNAL_REFERENCE_VOLTAGE_SWITCHED_TO_EXTERNAL_PIN when
720 //! LCD_C_V2V3V4_SOURCED_EXTERNALLY or
721 //! LCD_C_V2V3V4_GENERATED_INTERNALLY_SWITCHED_TO_PINS is selected.
722 //!
723 //! \param baseAddress is the base address of the LCD_C module.
724 //! \param vlcdSource is the V(LCD) source select.
725 //! Valid values are:
726 //! - \b LCD_C_VLCD_GENERATED_INTERNALLY [Default]
727 //! - \b LCD_C_VLCD_SOURCED_EXTERNALLY
728 //! \param v2v3v4Source is the V2/V3/V4 source select.
729 //! Valid values are:
730 //! - \b LCD_C_V2V3V4_GENERATED_INTERNALLY_NOT_SWITCHED_TO_PINS
731 //! [Default]
732 //! - \b LCD_C_V2V3V4_GENERATED_INTERNALLY_SWITCHED_TO_PINS
733 //! - \b LCD_C_V2V3V4_SOURCED_EXTERNALLY
734 //! \param v5Source is the V5 source select.
735 //! Valid values are:
736 //! - \b LCD_C_V5_VSS [Default]
737 //! - \b LCD_C_V5_SOURCED_FROM_R03
738 //!
739 //! Modified bits are \b VLCDEXT, \b LCDREXT, \b LCDEXTBIAS and \b R03EXT of \b
740 //! LCDVCTL register; bits \b LCDON of \b LCDCTL0 register.
741 //!
742 //! \return None
743 //
744 //*****************************************************************************
745 extern void LCD_C_setVLCDSource(uint16_t baseAddress,
746  uint16_t vlcdSource,
747  uint16_t v2v3v4Source,
748  uint16_t v5Source);
749 
750 //*****************************************************************************
751 //
752 //! \brief Selects the charge pump reference.
753 //!
754 //! Sets LCD charge pump voltage.
755 //!
756 //! \param baseAddress is the base address of the LCD_C module.
757 //! \param voltage is the charge pump select.
758 //! Valid values are:
759 //! - \b LCD_C_CHARGEPUMP_DISABLED [Default]
760 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_2_60V_OR_2_17VREF
761 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_2_66V_OR_2_22VREF
762 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_2_72V_OR_2_27VREF
763 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_2_78V_OR_2_32VREF
764 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_2_84V_OR_2_37VREF
765 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_2_90V_OR_2_42VREF
766 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_2_96V_OR_2_47VREF
767 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_3_02V_OR_2_52VREF
768 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_3_08V_OR_2_57VREF
769 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_3_14V_OR_2_62VREF
770 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_3_20V_OR_2_67VREF
771 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_3_26V_OR_2_72VREF
772 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_3_32V_OR_2_77VREF
773 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_3_38V_OR_2_82VREF
774 //! - \b LCD_C_CHARGEPUMP_VOLTAGE_3_44V_OR_2_87VREF
775 //!
776 //! Modified bits are \b VLCDx of \b LCDVCTL register; bits \b LCDON of \b
777 //! LCDCTL0 register.
778 //!
779 //! \return None
780 //
781 //*****************************************************************************
782 extern void LCD_C_setVLCDVoltage(uint16_t baseAddress,
783  uint16_t voltage);
784 
785 //*****************************************************************************
786 //
787 //! \brief Sets the LCD Pin as LCD functions.
788 //!
789 //! \param baseAddress is the base address of the LCD_C module.
790 //! \param pin is the select pin set as LCD function.
791 //! Valid values are:
792 //! - \b LCD_C_SEGMENT_LINE_0
793 //! - \b LCD_C_SEGMENT_LINE_1
794 //! - \b LCD_C_SEGMENT_LINE_2
795 //! - \b LCD_C_SEGMENT_LINE_3
796 //! - \b LCD_C_SEGMENT_LINE_4
797 //! - \b LCD_C_SEGMENT_LINE_5
798 //! - \b LCD_C_SEGMENT_LINE_6
799 //! - \b LCD_C_SEGMENT_LINE_7
800 //! - \b LCD_C_SEGMENT_LINE_8
801 //! - \b LCD_C_SEGMENT_LINE_9
802 //! - \b LCD_C_SEGMENT_LINE_10
803 //! - \b LCD_C_SEGMENT_LINE_11
804 //! - \b LCD_C_SEGMENT_LINE_12
805 //! - \b LCD_C_SEGMENT_LINE_13
806 //! - \b LCD_C_SEGMENT_LINE_14
807 //! - \b LCD_C_SEGMENT_LINE_15
808 //! - \b LCD_C_SEGMENT_LINE_16
809 //! - \b LCD_C_SEGMENT_LINE_17
810 //! - \b LCD_C_SEGMENT_LINE_18
811 //! - \b LCD_C_SEGMENT_LINE_19
812 //! - \b LCD_C_SEGMENT_LINE_20
813 //! - \b LCD_C_SEGMENT_LINE_21
814 //! - \b LCD_C_SEGMENT_LINE_22
815 //! - \b LCD_C_SEGMENT_LINE_23
816 //! - \b LCD_C_SEGMENT_LINE_24
817 //! - \b LCD_C_SEGMENT_LINE_25
818 //! - \b LCD_C_SEGMENT_LINE_26
819 //! - \b LCD_C_SEGMENT_LINE_27
820 //! - \b LCD_C_SEGMENT_LINE_28
821 //! - \b LCD_C_SEGMENT_LINE_29
822 //! - \b LCD_C_SEGMENT_LINE_30
823 //! - \b LCD_C_SEGMENT_LINE_31
824 //! - \b LCD_C_SEGMENT_LINE_32
825 //! - \b LCD_C_SEGMENT_LINE_33
826 //! - \b LCD_C_SEGMENT_LINE_34
827 //! - \b LCD_C_SEGMENT_LINE_35
828 //! - \b LCD_C_SEGMENT_LINE_36
829 //! - \b LCD_C_SEGMENT_LINE_37
830 //! - \b LCD_C_SEGMENT_LINE_38
831 //! - \b LCD_C_SEGMENT_LINE_39
832 //! - \b LCD_C_SEGMENT_LINE_40
833 //! - \b LCD_C_SEGMENT_LINE_41
834 //! - \b LCD_C_SEGMENT_LINE_42
835 //! - \b LCD_C_SEGMENT_LINE_43
836 //! - \b LCD_C_SEGMENT_LINE_44
837 //! - \b LCD_C_SEGMENT_LINE_45
838 //! - \b LCD_C_SEGMENT_LINE_46
839 //! - \b LCD_C_SEGMENT_LINE_47
840 //! - \b LCD_C_SEGMENT_LINE_48
841 //! - \b LCD_C_SEGMENT_LINE_49
842 //! - \b LCD_C_SEGMENT_LINE_50
843 //! - \b LCD_C_SEGMENT_LINE_51
844 //! - \b LCD_C_SEGMENT_LINE_52
845 //! - \b LCD_C_SEGMENT_LINE_53
846 //! - \b LCD_C_SEGMENT_LINE_54
847 //! - \b LCD_C_SEGMENT_LINE_55
848 //! - \b LCD_C_SEGMENT_LINE_56
849 //! - \b LCD_C_SEGMENT_LINE_57
850 //! - \b LCD_C_SEGMENT_LINE_58
851 //! - \b LCD_C_SEGMENT_LINE_59
852 //! - \b LCD_C_SEGMENT_LINE_60
853 //! - \b LCD_C_SEGMENT_LINE_61
854 //! - \b LCD_C_SEGMENT_LINE_62
855 //! - \b LCD_C_SEGMENT_LINE_63
856 //!
857 //! Modified bits are \b LCDSx of \b LCDPCTLx register; bits \b LCDON of \b
858 //! LCDCTL0 register.
859 //!
860 //! \return None
861 //
862 //*****************************************************************************
863 extern void LCD_C_setPinAsLCDFunction(uint16_t baseAddress,
864  uint8_t pin);
865 
866 //*****************************************************************************
867 //
868 //! \brief Sets the LCD Pin as Port functions.
869 //!
870 //! \param baseAddress is the base address of the LCD_C module.
871 //! \param pin is the select pin set as Port function.
872 //! Valid values are:
873 //! - \b LCD_C_SEGMENT_LINE_0
874 //! - \b LCD_C_SEGMENT_LINE_1
875 //! - \b LCD_C_SEGMENT_LINE_2
876 //! - \b LCD_C_SEGMENT_LINE_3
877 //! - \b LCD_C_SEGMENT_LINE_4
878 //! - \b LCD_C_SEGMENT_LINE_5
879 //! - \b LCD_C_SEGMENT_LINE_6
880 //! - \b LCD_C_SEGMENT_LINE_7
881 //! - \b LCD_C_SEGMENT_LINE_8
882 //! - \b LCD_C_SEGMENT_LINE_9
883 //! - \b LCD_C_SEGMENT_LINE_10
884 //! - \b LCD_C_SEGMENT_LINE_11
885 //! - \b LCD_C_SEGMENT_LINE_12
886 //! - \b LCD_C_SEGMENT_LINE_13
887 //! - \b LCD_C_SEGMENT_LINE_14
888 //! - \b LCD_C_SEGMENT_LINE_15
889 //! - \b LCD_C_SEGMENT_LINE_16
890 //! - \b LCD_C_SEGMENT_LINE_17
891 //! - \b LCD_C_SEGMENT_LINE_18
892 //! - \b LCD_C_SEGMENT_LINE_19
893 //! - \b LCD_C_SEGMENT_LINE_20
894 //! - \b LCD_C_SEGMENT_LINE_21
895 //! - \b LCD_C_SEGMENT_LINE_22
896 //! - \b LCD_C_SEGMENT_LINE_23
897 //! - \b LCD_C_SEGMENT_LINE_24
898 //! - \b LCD_C_SEGMENT_LINE_25
899 //! - \b LCD_C_SEGMENT_LINE_26
900 //! - \b LCD_C_SEGMENT_LINE_27
901 //! - \b LCD_C_SEGMENT_LINE_28
902 //! - \b LCD_C_SEGMENT_LINE_29
903 //! - \b LCD_C_SEGMENT_LINE_30
904 //! - \b LCD_C_SEGMENT_LINE_31
905 //! - \b LCD_C_SEGMENT_LINE_32
906 //! - \b LCD_C_SEGMENT_LINE_33
907 //! - \b LCD_C_SEGMENT_LINE_34
908 //! - \b LCD_C_SEGMENT_LINE_35
909 //! - \b LCD_C_SEGMENT_LINE_36
910 //! - \b LCD_C_SEGMENT_LINE_37
911 //! - \b LCD_C_SEGMENT_LINE_38
912 //! - \b LCD_C_SEGMENT_LINE_39
913 //! - \b LCD_C_SEGMENT_LINE_40
914 //! - \b LCD_C_SEGMENT_LINE_41
915 //! - \b LCD_C_SEGMENT_LINE_42
916 //! - \b LCD_C_SEGMENT_LINE_43
917 //! - \b LCD_C_SEGMENT_LINE_44
918 //! - \b LCD_C_SEGMENT_LINE_45
919 //! - \b LCD_C_SEGMENT_LINE_46
920 //! - \b LCD_C_SEGMENT_LINE_47
921 //! - \b LCD_C_SEGMENT_LINE_48
922 //! - \b LCD_C_SEGMENT_LINE_49
923 //! - \b LCD_C_SEGMENT_LINE_50
924 //! - \b LCD_C_SEGMENT_LINE_51
925 //! - \b LCD_C_SEGMENT_LINE_52
926 //! - \b LCD_C_SEGMENT_LINE_53
927 //! - \b LCD_C_SEGMENT_LINE_54
928 //! - \b LCD_C_SEGMENT_LINE_55
929 //! - \b LCD_C_SEGMENT_LINE_56
930 //! - \b LCD_C_SEGMENT_LINE_57
931 //! - \b LCD_C_SEGMENT_LINE_58
932 //! - \b LCD_C_SEGMENT_LINE_59
933 //! - \b LCD_C_SEGMENT_LINE_60
934 //! - \b LCD_C_SEGMENT_LINE_61
935 //! - \b LCD_C_SEGMENT_LINE_62
936 //! - \b LCD_C_SEGMENT_LINE_63
937 //!
938 //! Modified bits are \b LCDSx of \b LCDPCTLx register; bits \b LCDON of \b
939 //! LCDCTL0 register.
940 //!
941 //! \return None
942 //
943 //*****************************************************************************
944 extern void LCD_C_setPinAsPortFunction(uint16_t baseAddress,
945  uint8_t pin);
946 
947 //*****************************************************************************
948 //
949 //! \brief Sets the LCD pins as LCD function pin.
950 //!
951 //! This function sets the LCD pins as LCD function pin. Instead of passing the
952 //! all the possible pins, it just requires the start pin and the end pin.
953 //!
954 //! \param baseAddress is the base address of the LCD_C module.
955 //! \param startPin is the starting pin to be configed as LCD function pin.
956 //! Valid values are:
957 //! - \b LCD_C_SEGMENT_LINE_0
958 //! - \b LCD_C_SEGMENT_LINE_1
959 //! - \b LCD_C_SEGMENT_LINE_2
960 //! - \b LCD_C_SEGMENT_LINE_3
961 //! - \b LCD_C_SEGMENT_LINE_4
962 //! - \b LCD_C_SEGMENT_LINE_5
963 //! - \b LCD_C_SEGMENT_LINE_6
964 //! - \b LCD_C_SEGMENT_LINE_7
965 //! - \b LCD_C_SEGMENT_LINE_8
966 //! - \b LCD_C_SEGMENT_LINE_9
967 //! - \b LCD_C_SEGMENT_LINE_10
968 //! - \b LCD_C_SEGMENT_LINE_11
969 //! - \b LCD_C_SEGMENT_LINE_12
970 //! - \b LCD_C_SEGMENT_LINE_13
971 //! - \b LCD_C_SEGMENT_LINE_14
972 //! - \b LCD_C_SEGMENT_LINE_15
973 //! - \b LCD_C_SEGMENT_LINE_16
974 //! - \b LCD_C_SEGMENT_LINE_17
975 //! - \b LCD_C_SEGMENT_LINE_18
976 //! - \b LCD_C_SEGMENT_LINE_19
977 //! - \b LCD_C_SEGMENT_LINE_20
978 //! - \b LCD_C_SEGMENT_LINE_21
979 //! - \b LCD_C_SEGMENT_LINE_22
980 //! - \b LCD_C_SEGMENT_LINE_23
981 //! - \b LCD_C_SEGMENT_LINE_24
982 //! - \b LCD_C_SEGMENT_LINE_25
983 //! - \b LCD_C_SEGMENT_LINE_26
984 //! - \b LCD_C_SEGMENT_LINE_27
985 //! - \b LCD_C_SEGMENT_LINE_28
986 //! - \b LCD_C_SEGMENT_LINE_29
987 //! - \b LCD_C_SEGMENT_LINE_30
988 //! - \b LCD_C_SEGMENT_LINE_31
989 //! - \b LCD_C_SEGMENT_LINE_32
990 //! - \b LCD_C_SEGMENT_LINE_33
991 //! - \b LCD_C_SEGMENT_LINE_34
992 //! - \b LCD_C_SEGMENT_LINE_35
993 //! - \b LCD_C_SEGMENT_LINE_36
994 //! - \b LCD_C_SEGMENT_LINE_37
995 //! - \b LCD_C_SEGMENT_LINE_38
996 //! - \b LCD_C_SEGMENT_LINE_39
997 //! - \b LCD_C_SEGMENT_LINE_40
998 //! - \b LCD_C_SEGMENT_LINE_41
999 //! - \b LCD_C_SEGMENT_LINE_42
1000 //! - \b LCD_C_SEGMENT_LINE_43
1001 //! - \b LCD_C_SEGMENT_LINE_44
1002 //! - \b LCD_C_SEGMENT_LINE_45
1003 //! - \b LCD_C_SEGMENT_LINE_46
1004 //! - \b LCD_C_SEGMENT_LINE_47
1005 //! - \b LCD_C_SEGMENT_LINE_48
1006 //! - \b LCD_C_SEGMENT_LINE_49
1007 //! - \b LCD_C_SEGMENT_LINE_50
1008 //! - \b LCD_C_SEGMENT_LINE_51
1009 //! - \b LCD_C_SEGMENT_LINE_52
1010 //! - \b LCD_C_SEGMENT_LINE_53
1011 //! - \b LCD_C_SEGMENT_LINE_54
1012 //! - \b LCD_C_SEGMENT_LINE_55
1013 //! - \b LCD_C_SEGMENT_LINE_56
1014 //! - \b LCD_C_SEGMENT_LINE_57
1015 //! - \b LCD_C_SEGMENT_LINE_58
1016 //! - \b LCD_C_SEGMENT_LINE_59
1017 //! - \b LCD_C_SEGMENT_LINE_60
1018 //! - \b LCD_C_SEGMENT_LINE_61
1019 //! - \b LCD_C_SEGMENT_LINE_62
1020 //! - \b LCD_C_SEGMENT_LINE_63
1021 //! \param endPin is the ending pin to be configed as LCD function pin.
1022 //! Valid values are:
1023 //! - \b LCD_C_SEGMENT_LINE_0
1024 //! - \b LCD_C_SEGMENT_LINE_1
1025 //! - \b LCD_C_SEGMENT_LINE_2
1026 //! - \b LCD_C_SEGMENT_LINE_3
1027 //! - \b LCD_C_SEGMENT_LINE_4
1028 //! - \b LCD_C_SEGMENT_LINE_5
1029 //! - \b LCD_C_SEGMENT_LINE_6
1030 //! - \b LCD_C_SEGMENT_LINE_7
1031 //! - \b LCD_C_SEGMENT_LINE_8
1032 //! - \b LCD_C_SEGMENT_LINE_9
1033 //! - \b LCD_C_SEGMENT_LINE_10
1034 //! - \b LCD_C_SEGMENT_LINE_11
1035 //! - \b LCD_C_SEGMENT_LINE_12
1036 //! - \b LCD_C_SEGMENT_LINE_13
1037 //! - \b LCD_C_SEGMENT_LINE_14
1038 //! - \b LCD_C_SEGMENT_LINE_15
1039 //! - \b LCD_C_SEGMENT_LINE_16
1040 //! - \b LCD_C_SEGMENT_LINE_17
1041 //! - \b LCD_C_SEGMENT_LINE_18
1042 //! - \b LCD_C_SEGMENT_LINE_19
1043 //! - \b LCD_C_SEGMENT_LINE_20
1044 //! - \b LCD_C_SEGMENT_LINE_21
1045 //! - \b LCD_C_SEGMENT_LINE_22
1046 //! - \b LCD_C_SEGMENT_LINE_23
1047 //! - \b LCD_C_SEGMENT_LINE_24
1048 //! - \b LCD_C_SEGMENT_LINE_25
1049 //! - \b LCD_C_SEGMENT_LINE_26
1050 //! - \b LCD_C_SEGMENT_LINE_27
1051 //! - \b LCD_C_SEGMENT_LINE_28
1052 //! - \b LCD_C_SEGMENT_LINE_29
1053 //! - \b LCD_C_SEGMENT_LINE_30
1054 //! - \b LCD_C_SEGMENT_LINE_31
1055 //! - \b LCD_C_SEGMENT_LINE_32
1056 //! - \b LCD_C_SEGMENT_LINE_33
1057 //! - \b LCD_C_SEGMENT_LINE_34
1058 //! - \b LCD_C_SEGMENT_LINE_35
1059 //! - \b LCD_C_SEGMENT_LINE_36
1060 //! - \b LCD_C_SEGMENT_LINE_37
1061 //! - \b LCD_C_SEGMENT_LINE_38
1062 //! - \b LCD_C_SEGMENT_LINE_39
1063 //! - \b LCD_C_SEGMENT_LINE_40
1064 //! - \b LCD_C_SEGMENT_LINE_41
1065 //! - \b LCD_C_SEGMENT_LINE_42
1066 //! - \b LCD_C_SEGMENT_LINE_43
1067 //! - \b LCD_C_SEGMENT_LINE_44
1068 //! - \b LCD_C_SEGMENT_LINE_45
1069 //! - \b LCD_C_SEGMENT_LINE_46
1070 //! - \b LCD_C_SEGMENT_LINE_47
1071 //! - \b LCD_C_SEGMENT_LINE_48
1072 //! - \b LCD_C_SEGMENT_LINE_49
1073 //! - \b LCD_C_SEGMENT_LINE_50
1074 //! - \b LCD_C_SEGMENT_LINE_51
1075 //! - \b LCD_C_SEGMENT_LINE_52
1076 //! - \b LCD_C_SEGMENT_LINE_53
1077 //! - \b LCD_C_SEGMENT_LINE_54
1078 //! - \b LCD_C_SEGMENT_LINE_55
1079 //! - \b LCD_C_SEGMENT_LINE_56
1080 //! - \b LCD_C_SEGMENT_LINE_57
1081 //! - \b LCD_C_SEGMENT_LINE_58
1082 //! - \b LCD_C_SEGMENT_LINE_59
1083 //! - \b LCD_C_SEGMENT_LINE_60
1084 //! - \b LCD_C_SEGMENT_LINE_61
1085 //! - \b LCD_C_SEGMENT_LINE_62
1086 //! - \b LCD_C_SEGMENT_LINE_63
1087 //!
1088 //! Modified bits are \b LCDSx of \b LCDPCTLx register; bits \b LCDON of \b
1089 //! LCDCTL0 register.
1090 //!
1091 //! \return None
1092 //
1093 //*****************************************************************************
1094 extern void LCD_C_setPinAsLCDFunctionEx(uint16_t baseAddress,
1095  uint8_t startPin,
1096  uint8_t endPin);
1097 
1098 //*****************************************************************************
1099 //
1100 //! \brief Sets the LCD memory register.
1101 //!
1102 //! \param baseAddress is the base address of the LCD_C module.
1103 //! \param pin is the select pin for setting value.
1104 //! Valid values are:
1105 //! - \b LCD_C_SEGMENT_LINE_0
1106 //! - \b LCD_C_SEGMENT_LINE_1
1107 //! - \b LCD_C_SEGMENT_LINE_2
1108 //! - \b LCD_C_SEGMENT_LINE_3
1109 //! - \b LCD_C_SEGMENT_LINE_4
1110 //! - \b LCD_C_SEGMENT_LINE_5
1111 //! - \b LCD_C_SEGMENT_LINE_6
1112 //! - \b LCD_C_SEGMENT_LINE_7
1113 //! - \b LCD_C_SEGMENT_LINE_8
1114 //! - \b LCD_C_SEGMENT_LINE_9
1115 //! - \b LCD_C_SEGMENT_LINE_10
1116 //! - \b LCD_C_SEGMENT_LINE_11
1117 //! - \b LCD_C_SEGMENT_LINE_12
1118 //! - \b LCD_C_SEGMENT_LINE_13
1119 //! - \b LCD_C_SEGMENT_LINE_14
1120 //! - \b LCD_C_SEGMENT_LINE_15
1121 //! - \b LCD_C_SEGMENT_LINE_16
1122 //! - \b LCD_C_SEGMENT_LINE_17
1123 //! - \b LCD_C_SEGMENT_LINE_18
1124 //! - \b LCD_C_SEGMENT_LINE_19
1125 //! - \b LCD_C_SEGMENT_LINE_20
1126 //! - \b LCD_C_SEGMENT_LINE_21
1127 //! - \b LCD_C_SEGMENT_LINE_22
1128 //! - \b LCD_C_SEGMENT_LINE_23
1129 //! - \b LCD_C_SEGMENT_LINE_24
1130 //! - \b LCD_C_SEGMENT_LINE_25
1131 //! - \b LCD_C_SEGMENT_LINE_26
1132 //! - \b LCD_C_SEGMENT_LINE_27
1133 //! - \b LCD_C_SEGMENT_LINE_28
1134 //! - \b LCD_C_SEGMENT_LINE_29
1135 //! - \b LCD_C_SEGMENT_LINE_30
1136 //! - \b LCD_C_SEGMENT_LINE_31
1137 //! - \b LCD_C_SEGMENT_LINE_32
1138 //! - \b LCD_C_SEGMENT_LINE_33
1139 //! - \b LCD_C_SEGMENT_LINE_34
1140 //! - \b LCD_C_SEGMENT_LINE_35
1141 //! - \b LCD_C_SEGMENT_LINE_36
1142 //! - \b LCD_C_SEGMENT_LINE_37
1143 //! - \b LCD_C_SEGMENT_LINE_38
1144 //! - \b LCD_C_SEGMENT_LINE_39
1145 //! - \b LCD_C_SEGMENT_LINE_40
1146 //! - \b LCD_C_SEGMENT_LINE_41
1147 //! - \b LCD_C_SEGMENT_LINE_42
1148 //! - \b LCD_C_SEGMENT_LINE_43
1149 //! - \b LCD_C_SEGMENT_LINE_44
1150 //! - \b LCD_C_SEGMENT_LINE_45
1151 //! - \b LCD_C_SEGMENT_LINE_46
1152 //! - \b LCD_C_SEGMENT_LINE_47
1153 //! - \b LCD_C_SEGMENT_LINE_48
1154 //! - \b LCD_C_SEGMENT_LINE_49
1155 //! - \b LCD_C_SEGMENT_LINE_50
1156 //! - \b LCD_C_SEGMENT_LINE_51
1157 //! - \b LCD_C_SEGMENT_LINE_52
1158 //! - \b LCD_C_SEGMENT_LINE_53
1159 //! - \b LCD_C_SEGMENT_LINE_54
1160 //! - \b LCD_C_SEGMENT_LINE_55
1161 //! - \b LCD_C_SEGMENT_LINE_56
1162 //! - \b LCD_C_SEGMENT_LINE_57
1163 //! - \b LCD_C_SEGMENT_LINE_58
1164 //! - \b LCD_C_SEGMENT_LINE_59
1165 //! - \b LCD_C_SEGMENT_LINE_60
1166 //! - \b LCD_C_SEGMENT_LINE_61
1167 //! - \b LCD_C_SEGMENT_LINE_62
1168 //! - \b LCD_C_SEGMENT_LINE_63
1169 //! \param value is the designated value for corresponding pin.
1170 //!
1171 //! Modified bits are \b MBITx of \b LCDMx register.
1172 //!
1173 //! \return None
1174 //
1175 //*****************************************************************************
1176 extern void LCD_C_setMemory(uint16_t baseAddress,
1177  uint8_t pin,
1178  uint8_t value);
1179 
1180 //*****************************************************************************
1181 //
1182 //! \brief Sets the LCD blink memory register.
1183 //!
1184 //! \param baseAddress is the base address of the LCD_C module.
1185 //! \param pin is the select pin for setting value.
1186 //! Valid values are:
1187 //! - \b LCD_C_SEGMENT_LINE_0
1188 //! - \b LCD_C_SEGMENT_LINE_1
1189 //! - \b LCD_C_SEGMENT_LINE_2
1190 //! - \b LCD_C_SEGMENT_LINE_3
1191 //! - \b LCD_C_SEGMENT_LINE_4
1192 //! - \b LCD_C_SEGMENT_LINE_5
1193 //! - \b LCD_C_SEGMENT_LINE_6
1194 //! - \b LCD_C_SEGMENT_LINE_7
1195 //! - \b LCD_C_SEGMENT_LINE_8
1196 //! - \b LCD_C_SEGMENT_LINE_9
1197 //! - \b LCD_C_SEGMENT_LINE_10
1198 //! - \b LCD_C_SEGMENT_LINE_11
1199 //! - \b LCD_C_SEGMENT_LINE_12
1200 //! - \b LCD_C_SEGMENT_LINE_13
1201 //! - \b LCD_C_SEGMENT_LINE_14
1202 //! - \b LCD_C_SEGMENT_LINE_15
1203 //! - \b LCD_C_SEGMENT_LINE_16
1204 //! - \b LCD_C_SEGMENT_LINE_17
1205 //! - \b LCD_C_SEGMENT_LINE_18
1206 //! - \b LCD_C_SEGMENT_LINE_19
1207 //! - \b LCD_C_SEGMENT_LINE_20
1208 //! - \b LCD_C_SEGMENT_LINE_21
1209 //! - \b LCD_C_SEGMENT_LINE_22
1210 //! - \b LCD_C_SEGMENT_LINE_23
1211 //! - \b LCD_C_SEGMENT_LINE_24
1212 //! - \b LCD_C_SEGMENT_LINE_25
1213 //! - \b LCD_C_SEGMENT_LINE_26
1214 //! - \b LCD_C_SEGMENT_LINE_27
1215 //! - \b LCD_C_SEGMENT_LINE_28
1216 //! - \b LCD_C_SEGMENT_LINE_29
1217 //! - \b LCD_C_SEGMENT_LINE_30
1218 //! - \b LCD_C_SEGMENT_LINE_31
1219 //! - \b LCD_C_SEGMENT_LINE_32
1220 //! - \b LCD_C_SEGMENT_LINE_33
1221 //! - \b LCD_C_SEGMENT_LINE_34
1222 //! - \b LCD_C_SEGMENT_LINE_35
1223 //! - \b LCD_C_SEGMENT_LINE_36
1224 //! - \b LCD_C_SEGMENT_LINE_37
1225 //! - \b LCD_C_SEGMENT_LINE_38
1226 //! - \b LCD_C_SEGMENT_LINE_39
1227 //! - \b LCD_C_SEGMENT_LINE_40
1228 //! - \b LCD_C_SEGMENT_LINE_41
1229 //! - \b LCD_C_SEGMENT_LINE_42
1230 //! - \b LCD_C_SEGMENT_LINE_43
1231 //! - \b LCD_C_SEGMENT_LINE_44
1232 //! - \b LCD_C_SEGMENT_LINE_45
1233 //! - \b LCD_C_SEGMENT_LINE_46
1234 //! - \b LCD_C_SEGMENT_LINE_47
1235 //! - \b LCD_C_SEGMENT_LINE_48
1236 //! - \b LCD_C_SEGMENT_LINE_49
1237 //! - \b LCD_C_SEGMENT_LINE_50
1238 //! - \b LCD_C_SEGMENT_LINE_51
1239 //! - \b LCD_C_SEGMENT_LINE_52
1240 //! - \b LCD_C_SEGMENT_LINE_53
1241 //! - \b LCD_C_SEGMENT_LINE_54
1242 //! - \b LCD_C_SEGMENT_LINE_55
1243 //! - \b LCD_C_SEGMENT_LINE_56
1244 //! - \b LCD_C_SEGMENT_LINE_57
1245 //! - \b LCD_C_SEGMENT_LINE_58
1246 //! - \b LCD_C_SEGMENT_LINE_59
1247 //! - \b LCD_C_SEGMENT_LINE_60
1248 //! - \b LCD_C_SEGMENT_LINE_61
1249 //! - \b LCD_C_SEGMENT_LINE_62
1250 //! - \b LCD_C_SEGMENT_LINE_63
1251 //! \param value is the designated value for corresponding blink pin.
1252 //!
1253 //! Modified bits are \b MBITx of \b LCDBMx register.
1254 //!
1255 //! \return None
1256 //
1257 //*****************************************************************************
1258 extern void LCD_C_setBlinkingMemory(uint16_t baseAddress,
1259  uint8_t pin,
1260  uint8_t value);
1261 
1262 //*****************************************************************************
1263 //
1264 //! \brief Configs the charge pump for synchronization and disabled capability.
1265 //!
1266 //! This function is device-specific. The charge pump clock can be synchronized
1267 //! to a device-specific clock, and also can be disabled by connected function.
1268 //!
1269 //! \param baseAddress is the base address of the LCD_C module.
1270 //! \param syncToClock is the synchronization select.
1271 //! Valid values are:
1272 //! - \b LCD_C_SYNCHRONIZATION_DISABLED [Default]
1273 //! - \b LCD_C_SYNCHRONIZATION_ENABLED
1274 //! \param functionControl is the connected function control select. Setting 0
1275 //! to make connected function not disable charge pump.
1276 //!
1277 //! Modified bits are \b MBITx of \b LCDBMx register.
1278 //!
1279 //! \return None
1280 //
1281 //*****************************************************************************
1282 extern void LCD_C_configChargePump(uint16_t baseAddress,
1283  uint16_t syncToClock,
1284  uint16_t functionControl);
1285 
1286 //*****************************************************************************
1287 //
1288 // Mark the end of the C bindings section for C++ compilers.
1289 //
1290 //*****************************************************************************
1291 #ifdef __cplusplus
1292 }
1293 #endif
1294 
1295 #endif
1296 #endif // __MSP430WARE_LCD_C_H__
uint16_t clockSource
Definition: lcd_c.h:36
void LCD_C_clearInterrupt(uint16_t baseAddress, uint16_t mask)
Clears the LCD interrupt flags.
Definition: lcd_c.c:78
void LCD_C_selectDisplayMemory(uint16_t baseAddress, uint16_t displayMemory)
Selects display memory.
Definition: lcd_c.c:108
uint16_t waveforms
Definition: lcd_c.h:96
void LCD_C_disableInterrupt(uint16_t baseAddress, uint16_t mask)
Disables LCD interrupt sources.
Definition: lcd_c.c:93
void LCD_C_on(uint16_t baseAddress)
Turns on the LCD module.
Definition: lcd_c.c:68
void LCD_C_setVLCDVoltage(uint16_t baseAddress, uint16_t voltage)
Selects the charge pump reference.
Definition: lcd_c.c:169
void LCD_C_clearMemory(uint16_t baseAddress)
Clears all LCD memory registers.
Definition: lcd_c.c:98
void LCD_C_clearBlinkingMemory(uint16_t baseAddress)
Clears all LCD blinking memory registers.
Definition: lcd_c.c:103
uint16_t muxRate
Definition: lcd_c.h:91
void LCD_C_selectBias(uint16_t baseAddress, uint16_t bias)
Selects the bias level.
Definition: lcd_c.c:138
void LCD_C_enableChargePump(uint16_t baseAddress)
Enables the charge pump.
Definition: lcd_c.c:126
void LCD_C_enableInterrupt(uint16_t baseAddress, uint16_t mask)
Enables LCD interrupt sources.
Definition: lcd_c.c:88
void LCD_C_setVLCDSource(uint16_t baseAddress, uint16_t vlcdSource, uint16_t v2v3v4Source, uint16_t v5Source)
Sets the voltage source for V2/V3/V4 and V5.
Definition: lcd_c.c:154
void LCD_C_selectChargePumpReference(uint16_t baseAddress, uint16_t reference)
Selects the charge pump reference.
Definition: lcd_c.c:146
Used in the LCD_C_init() function as the initParams parameter.
Definition: lcd_c.h:31
void LCD_C_setPinAsPortFunction(uint16_t baseAddress, uint8_t pin)
Sets the LCD Pin as Port functions.
Definition: lcd_c.c:187
uint16_t clockPrescalar
Definition: lcd_c.h:80
void LCD_C_off(uint16_t baseAddress)
Turns off the LCD module.
Definition: lcd_c.c:73
void LCD_C_setMemory(uint16_t baseAddress, uint8_t pin, uint8_t value)
Sets the LCD memory register.
Definition: lcd_c.c:241
void LCD_C_setBlinkingMemory(uint16_t baseAddress, uint8_t pin, uint8_t value)
Sets the LCD blink memory register.
Definition: lcd_c.c:263
uint16_t segments
Definition: lcd_c.h:101
void LCD_C_configChargePump(uint16_t baseAddress, uint16_t syncToClock, uint16_t functionControl)
Configs the charge pump for synchronization and disabled capability.
Definition: lcd_c.c:286
uint16_t LCD_C_getInterruptStatus(uint16_t baseAddress, uint16_t mask)
Gets the LCD interrupt status.
Definition: lcd_c.c:83
void LCD_C_setBlinkingControl(uint16_t baseAddress, uint8_t clockDivider, uint8_t clockPrescalar, uint8_t mode)
Sets the blink settings.
Definition: lcd_c.c:114
uint16_t clockDivider
Definition: lcd_c.h:71
void LCD_C_setPinAsLCDFunction(uint16_t baseAddress, uint8_t pin)
Sets the LCD Pin as LCD functions.
Definition: lcd_c.c:177
void LCD_C_init(uint16_t baseAddress, LCD_C_initParam *initParams)
Initializes the LCD Module.
Definition: lcd_c.c:54
void LCD_C_setPinAsLCDFunctionEx(uint16_t baseAddress, uint8_t startPin, uint8_t endPin)
Sets the LCD pins as LCD function pin.
Definition: lcd_c.c:211
void LCD_C_disableChargePump(uint16_t baseAddress)
Disables the charge pump.
Definition: lcd_c.c:132

Copyright 2015, Texas Instruments Incorporated