2020-2021 Sunseeker Telemetry and Lighting System
lcd_b.h
Go to the documentation of this file.
1 //*****************************************************************************
2 //
3 // lcd_b.h - Driver for the LCD_B Module.
4 //
5 //*****************************************************************************
6 
7 #ifndef __MSP430WARE_LCD_B_H__
8 #define __MSP430WARE_LCD_B_H__
9 
10 #include "inc/hw_memmap.h"
11 
12 #ifdef __MSP430_HAS_LCD_B__
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 //
29 //
30 //*****************************************************************************
31 typedef struct LCD_B_initParam {
36  uint16_t clockSource;
71  uint16_t clockDivider;
80  uint16_t clockPrescalar;
87  uint16_t muxRate;
92  uint16_t segments;
93 } LCD_B_initParam;
94 
95 extern const LCD_B_initParam LCD_B_INIT_PARAM;
96 //*****************************************************************************
97 //
98 // The following are values that can be passed to the initParams parameter for
99 // functions: LCD_B_init().
100 //
101 //*****************************************************************************
102 #define LCD_B_CLOCKSOURCE_ACLK (0x0)
103 #define LCD_B_CLOCKSOURCE_VLOCLK (LCDSSEL)
104 
105 //*****************************************************************************
106 //
107 // The following are values that can be passed to the initParams parameter for
108 // functions: LCD_B_init().
109 //
110 //*****************************************************************************
111 #define LCD_B_CLOCKDIVIDER_1 (LCDDIV_0)
112 #define LCD_B_CLOCKDIVIDER_2 (LCDDIV_1)
113 #define LCD_B_CLOCKDIVIDER_3 (LCDDIV_2)
114 #define LCD_B_CLOCKDIVIDER_4 (LCDDIV_3)
115 #define LCD_B_CLOCKDIVIDER_5 (LCDDIV_4)
116 #define LCD_B_CLOCKDIVIDER_6 (LCDDIV_5)
117 #define LCD_B_CLOCKDIVIDER_7 (LCDDIV_6)
118 #define LCD_B_CLOCKDIVIDER_8 (LCDDIV_7)
119 #define LCD_B_CLOCKDIVIDER_9 (LCDDIV_8)
120 #define LCD_B_CLOCKDIVIDER_10 (LCDDIV_9)
121 #define LCD_B_CLOCKDIVIDER_11 (LCDDIV_10)
122 #define LCD_B_CLOCKDIVIDER_12 (LCDDIV_11)
123 #define LCD_B_CLOCKDIVIDER_13 (LCDDIV_12)
124 #define LCD_B_CLOCKDIVIDER_14 (LCDDIV_13)
125 #define LCD_B_CLOCKDIVIDER_15 (LCDDIV_14)
126 #define LCD_B_CLOCKDIVIDER_16 (LCDDIV_15)
127 #define LCD_B_CLOCKDIVIDER_17 (LCDDIV_16)
128 #define LCD_B_CLOCKDIVIDER_18 (LCDDIV_17)
129 #define LCD_B_CLOCKDIVIDER_19 (LCDDIV_18)
130 #define LCD_B_CLOCKDIVIDER_20 (LCDDIV_19)
131 #define LCD_B_CLOCKDIVIDER_21 (LCDDIV_20)
132 #define LCD_B_CLOCKDIVIDER_22 (LCDDIV_21)
133 #define LCD_B_CLOCKDIVIDER_23 (LCDDIV_22)
134 #define LCD_B_CLOCKDIVIDER_24 (LCDDIV_23)
135 #define LCD_B_CLOCKDIVIDER_25 (LCDDIV_24)
136 #define LCD_B_CLOCKDIVIDER_26 (LCDDIV_25)
137 #define LCD_B_CLOCKDIVIDER_27 (LCDDIV_26)
138 #define LCD_B_CLOCKDIVIDER_28 (LCDDIV_27)
139 #define LCD_B_CLOCKDIVIDER_29 (LCDDIV_28)
140 #define LCD_B_CLOCKDIVIDER_30 (LCDDIV_29)
141 #define LCD_B_CLOCKDIVIDER_31 (LCDDIV_30)
142 #define LCD_B_CLOCKDIVIDER_32 (LCDDIV_31)
143 
144 //*****************************************************************************
145 //
146 // The following are values that can be passed to the initParams parameter for
147 // functions: LCD_B_init().
148 //
149 //*****************************************************************************
150 #define LCD_B_CLOCKPRESCALAR_1 (LCDPRE_0)
151 #define LCD_B_CLOCKPRESCALAR_2 (LCDPRE_1)
152 #define LCD_B_CLOCKPRESCALAR_4 (LCDPRE_2)
153 #define LCD_B_CLOCKPRESCALAR_8 (LCDPRE_3)
154 #define LCD_B_CLOCKPRESCALAR_16 (LCDPRE_4)
155 #define LCD_B_CLOCKPRESCALAR_32 (LCDPRE_5)
156 
157 //*****************************************************************************
158 //
159 // The following are values that can be passed to the initParams parameter for
160 // functions: LCD_B_init().
161 //
162 //*****************************************************************************
163 #define LCD_B_STATIC (0x0)
164 #define LCD_B_2_MUX (LCDMX0)
165 #define LCD_B_3_MUX (LCDMX1)
166 #define LCD_B_4_MUX (LCDMX1 | LCDMX0)
167 
168 //*****************************************************************************
169 //
170 // The following are values that can be passed to the initParams parameter for
171 // functions: LCD_B_init().
172 //
173 //*****************************************************************************
174 #define LCD_B_SEGMENTS_DISABLED (0x0)
175 #define LCD_B_SEGMENTS_ENABLED (LCDSON)
176 
177 //*****************************************************************************
178 //
179 // The following are values that can be passed to the mask parameter for
180 // functions: LCD_B_clearInterrupt(), LCD_B_getInterruptStatus(),
181 // LCD_B_enableInterrupt(), and LCD_B_disableInterrupt() as well as returned by
182 // the LCD_B_getInterruptStatus() function.
183 //
184 //*****************************************************************************
185 #define LCD_B_NO_CAPACITANCE_CONNECTED_INTERRUPT (LCDNOCAPIE)
186 #define LCD_B_BLINKING_SEGMENTS_ON_INTERRUPT (LCDBLKONIE)
187 #define LCD_B_BLINKING_SEGMENTS_OFF_INTERRUPT (LCDBLKOFFIE)
188 #define LCD_B_FRAME_INTERRUPT (LCDFRMIE)
189 
190 //*****************************************************************************
191 //
192 // The following are values that can be passed to the displayMemory parameter
193 // for functions: LCD_B_selectDisplayMemory().
194 //
195 //*****************************************************************************
196 #define LCD_B_DISPLAYSOURCE_MEMORY (0x0)
197 #define LCD_B_DISPLAYSOURCE_BLINKINGMEMORY (LCDDISP)
198 
199 //*****************************************************************************
200 //
201 // The following are values that can be passed to the clockDivider parameter
202 // for functions: LCD_B_setBlinkingControl().
203 //
204 //*****************************************************************************
205 #define LCD_B_BLINK_FREQ_CLOCK_DIVIDER_1 (0x0)
206 #define LCD_B_BLINK_FREQ_CLOCK_DIVIDER_2 (LCDBLKDIV0)
207 #define LCD_B_BLINK_FREQ_CLOCK_DIVIDER_3 (LCDBLKDIV1)
208 #define LCD_B_BLINK_FREQ_CLOCK_DIVIDER_4 (LCDBLKDIV0 | LCDBLKDIV1)
209 #define LCD_B_BLINK_FREQ_CLOCK_DIVIDER_5 (LCDBLKDIV2)
210 #define LCD_B_BLINK_FREQ_CLOCK_DIVIDER_6 (LCDBLKDIV2 | LCDBLKDIV0)
211 #define LCD_B_BLINK_FREQ_CLOCK_DIVIDER_7 (LCDBLKDIV2 | LCDBLKDIV1)
212 #define LCD_B_BLINK_FREQ_CLOCK_DIVIDER_8 (LCDBLKDIV2 | LCDBLKDIV1 | LCDBLKDIV0)
213 
214 //*****************************************************************************
215 //
216 // The following are values that can be passed to the clockPrescalar parameter
217 // for functions: LCD_B_setBlinkingControl().
218 //
219 //*****************************************************************************
220 #define LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_512 (0x0)
221 #define LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_1024 (LCDBLKPRE0)
222 #define LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_2048 (LCDBLKPRE1)
223 #define LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_4096 (LCDBLKPRE1 | LCDBLKPRE0)
224 #define LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_8162 (LCDBLKPRE2)
225 #define LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_16384 LCDBLKPRE2 | LCDBLKPRE0)
226 #define LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_32768 (LCDBLKPRE2 | LCDBLKPRE1)
227 #define LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_65536 \
228  (LCDBLKPRE2 | LCDBLKPRE1 | LCDBLKPRE0)
229 
230 //*****************************************************************************
231 //
232 // The following are values that can be passed to the blinkingMode parameter
233 // for functions: LCD_B_setBlinkingControl().
234 //
235 //*****************************************************************************
236 #define LCD_B_BLINK_MODE_DISABLED (LCDBLKMOD_0)
237 #define LCD_B_BLINK_MODE_INDIVIDUAL_SEGMENTS (LCDBLKMOD_1)
238 #define LCD_B_BLINK_MODE_ALL_SEGMENTS (LCDBLKMOD_2)
239 #define LCD_B_BLINK_MODE_SWITCHING_BETWEEN_DISPLAY_CONTENTS (LCDBLKMOD_3)
240 
241 //*****************************************************************************
242 //
243 // The following are values that can be passed to the bias parameter for
244 // functions: LCD_B_selectBias().
245 //
246 //*****************************************************************************
247 #define LCD_B_BIAS_1_3 (0x0)
248 #define LCD_B_BIAS_1_2 (LCD2B)
249 
250 //*****************************************************************************
251 //
252 // The following are values that can be passed to the reference parameter for
253 // functions: LCD_B_selectChargePumpReference().
254 //
255 //*****************************************************************************
256 #define LCD_B_INTERNAL_REFERENCE_VOLTAGE (VLCDREF_0)
257 #define LCD_B_EXTERNAL_REFERENCE_VOLTAGE (VLCDREF_1)
258 #define LCD_B_INTERNAL_REFERENCE_VOLTAGE_SWITCHED_TO_EXTERNAL_PIN (VLCDREF_2)
259 
260 //*****************************************************************************
261 //
262 // The following are values that can be passed to the vlcdSource parameter for
263 // functions: LCD_B_setVLCDSource().
264 //
265 //*****************************************************************************
266 #define LCD_B_VLCD_GENERATED_INTERNALLY (0x0)
267 #define LCD_B_VLCD_SOURCED_EXTERNALLY (VLCDEXT)
268 
269 //*****************************************************************************
270 //
271 // The following are values that can be passed to the v2v3v4Source parameter
272 // for functions: LCD_B_setVLCDSource().
273 //
274 //*****************************************************************************
275 #define LCD_B_V2V3V4_GENERATED_INTERNALLY_NOT_SWITCHED_TO_PINS (0x0)
276 #define LCD_B_V2V3V4_GENERATED_INTERNALLY_SWITCHED_TO_PINS (LCDREXT)
277 #define LCD_B_V2V3V4_SOURCED_EXTERNALLY (LCDEXTBIAS)
278 
279 //*****************************************************************************
280 //
281 // The following are values that can be passed to the v5Source parameter for
282 // functions: LCD_B_setVLCDSource().
283 //
284 //*****************************************************************************
285 #define LCD_B_V5_VSS (0x0)
286 #define LCD_B_V5_SOURCED_FROM_R03 (R03EXT)
287 
288 //*****************************************************************************
289 //
290 // The following are values that can be passed to the voltage parameter for
291 // functions: LCD_B_setVLCDVoltage().
292 //
293 //*****************************************************************************
294 #define LCD_B_CHARGEPUMP_DISABLED (0x0)
295 #define LCD_B_CHARGEPUMP_VOLTAGE_2_60V_OR_2_17VREF (VLCD0)
296 #define LCD_B_CHARGEPUMP_VOLTAGE_2_66V_OR_2_22VREF (VLCD1)
297 #define LCD_B_CHARGEPUMP_VOLTAGE_2_72V_OR_2_27VREF (VLCD1 | VLCD0)
298 #define LCD_B_CHARGEPUMP_VOLTAGE_2_78V_OR_2_32VREF (VLCD2)
299 #define LCD_B_CHARGEPUMP_VOLTAGE_2_84V_OR_2_37VREF (VLCD2 | VLCD0)
300 #define LCD_B_CHARGEPUMP_VOLTAGE_2_90V_OR_2_42VREF (VLCD2 | VLCD1)
301 #define LCD_B_CHARGEPUMP_VOLTAGE_2_96V_OR_2_47VREF (VLCD2 | VLCD1 | VLCD0)
302 #define LCD_B_CHARGEPUMP_VOLTAGE_3_02V_OR_2_52VREF (VLCD3)
303 #define LCD_B_CHARGEPUMP_VOLTAGE_3_08V_OR_2_57VREF (VLCD3 | VLCD0)
304 #define LCD_B_CHARGEPUMP_VOLTAGE_3_14V_OR_2_62VREF (VLCD3 | VLCD1)
305 #define LCD_B_CHARGEPUMP_VOLTAGE_3_20V_OR_2_67VREF (VLCD3 | VLCD1 | VLCD0)
306 #define LCD_B_CHARGEPUMP_VOLTAGE_3_26V_OR_2_72VREF (VLCD3 | VLCD2)
307 #define LCD_B_CHARGEPUMP_VOLTAGE_3_32V_OR_2_77VREF (VLCD3 | VLCD2 | VLCD0)
308 #define LCD_B_CHARGEPUMP_VOLTAGE_3_38V_OR_2_82VREF (VLCD3 | VLCD2 | VLCD1)
309 #define LCD_B_CHARGEPUMP_VOLTAGE_3_44V_OR_2_87VREF \
310  (VLCD3 | VLCD2 | VLCD1 | VLCD0)
311 
312 //*****************************************************************************
313 //
314 // The following are values that can be passed to the startPin parameter for
315 // functions: LCD_B_setPinAsLCDFunctionEx(); the endPin parameter for
316 // functions: LCD_B_setPinAsLCDFunctionEx(); the pin parameter for functions:
317 // LCD_B_setPinAsLCDFunction(), and LCD_B_setPinAsPortFunction().
318 //
319 //*****************************************************************************
320 #define LCD_B_SEGMENT_LINE_0 (0)
321 #define LCD_B_SEGMENT_LINE_1 (1)
322 #define LCD_B_SEGMENT_LINE_2 (2)
323 #define LCD_B_SEGMENT_LINE_3 (3)
324 #define LCD_B_SEGMENT_LINE_4 (4)
325 #define LCD_B_SEGMENT_LINE_5 (5)
326 #define LCD_B_SEGMENT_LINE_6 (6)
327 #define LCD_B_SEGMENT_LINE_7 (7)
328 #define LCD_B_SEGMENT_LINE_8 (8)
329 #define LCD_B_SEGMENT_LINE_9 (9)
330 #define LCD_B_SEGMENT_LINE_10 (10)
331 #define LCD_B_SEGMENT_LINE_11 (11)
332 #define LCD_B_SEGMENT_LINE_12 (12)
333 #define LCD_B_SEGMENT_LINE_13 (13)
334 #define LCD_B_SEGMENT_LINE_14 (14)
335 #define LCD_B_SEGMENT_LINE_15 (15)
336 #define LCD_B_SEGMENT_LINE_16 (16)
337 #define LCD_B_SEGMENT_LINE_17 (17)
338 #define LCD_B_SEGMENT_LINE_18 (18)
339 #define LCD_B_SEGMENT_LINE_19 (19)
340 #define LCD_B_SEGMENT_LINE_20 (20)
341 #define LCD_B_SEGMENT_LINE_21 (21)
342 #define LCD_B_SEGMENT_LINE_22 (22)
343 #define LCD_B_SEGMENT_LINE_23 (23)
344 #define LCD_B_SEGMENT_LINE_24 (24)
345 #define LCD_B_SEGMENT_LINE_25 (25)
346 #define LCD_B_SEGMENT_LINE_26 (26)
347 #define LCD_B_SEGMENT_LINE_27 (27)
348 #define LCD_B_SEGMENT_LINE_28 (28)
349 #define LCD_B_SEGMENT_LINE_29 (29)
350 #define LCD_B_SEGMENT_LINE_30 (30)
351 #define LCD_B_SEGMENT_LINE_31 (31)
352 #define LCD_B_SEGMENT_LINE_32 (32)
353 #define LCD_B_SEGMENT_LINE_33 (33)
354 #define LCD_B_SEGMENT_LINE_34 (34)
355 #define LCD_B_SEGMENT_LINE_35 (35)
356 #define LCD_B_SEGMENT_LINE_36 (36)
357 #define LCD_B_SEGMENT_LINE_37 (37)
358 #define LCD_B_SEGMENT_LINE_38 (38)
359 #define LCD_B_SEGMENT_LINE_39 (39)
360 #define LCD_B_SEGMENT_LINE_40 (40)
361 #define LCD_B_SEGMENT_LINE_41 (41)
362 #define LCD_B_SEGMENT_LINE_42 (42)
363 #define LCD_B_SEGMENT_LINE_43 (43)
364 #define LCD_B_SEGMENT_LINE_44 (44)
365 #define LCD_B_SEGMENT_LINE_45 (45)
366 #define LCD_B_SEGMENT_LINE_46 (46)
367 #define LCD_B_SEGMENT_LINE_47 (47)
368 #define LCD_B_SEGMENT_LINE_48 (48)
369 #define LCD_B_SEGMENT_LINE_49 (49)
370 #define LCD_B_SEGMENT_LINE_50 (50)
371 #define LCD_B_SEGMENT_LINE_51 (51)
372 #define LCD_B_SEGMENT_LINE_52 (52)
373 #define LCD_B_SEGMENT_LINE_53 (53)
374 #define LCD_B_SEGMENT_LINE_54 (54)
375 #define LCD_B_SEGMENT_LINE_55 (55)
376 #define LCD_B_SEGMENT_LINE_56 (56)
377 #define LCD_B_SEGMENT_LINE_57 (57)
378 #define LCD_B_SEGMENT_LINE_58 (58)
379 #define LCD_B_SEGMENT_LINE_59 (59)
380 #define LCD_B_SEGMENT_LINE_60 (60)
381 #define LCD_B_SEGMENT_LINE_61 (61)
382 #define LCD_B_SEGMENT_LINE_62 (62)
383 #define LCD_B_SEGMENT_LINE_63 (63)
384 
385 //*****************************************************************************
386 //
387 // The following are values that can be passed to the memory parameter for
388 // functions: LCD_B_setMemory(), LCD_B_updateMemory(), LCD_B_toggleMemory(),
389 // LCD_B_clearMemory(), LCD_B_setBlinkingMemory(),
390 // LCD_B_updateBlinkingMemory(), LCD_B_toggleBlinkingMemory(), and
391 // LCD_B_clearBlinkingMemory().
392 //
393 //*****************************************************************************
394 #define LCD_B_MEMORY_BLINKINGMEMORY_0 (0)
395 #define LCD_B_MEMORY_BLINKINGMEMORY_1 (1)
396 #define LCD_B_MEMORY_BLINKINGMEMORY_2 (2)
397 #define LCD_B_MEMORY_BLINKINGMEMORY_3 (3)
398 #define LCD_B_MEMORY_BLINKINGMEMORY_4 (4)
399 #define LCD_B_MEMORY_BLINKINGMEMORY_5 (5)
400 #define LCD_B_MEMORY_BLINKINGMEMORY_6 (6)
401 #define LCD_B_MEMORY_BLINKINGMEMORY_7 (7)
402 #define LCD_B_MEMORY_BLINKINGMEMORY_8 (8)
403 #define LCD_B_MEMORY_BLINKINGMEMORY_9 (9)
404 #define LCD_B_MEMORY_BLINKINGMEMORY_10 (10)
405 #define LCD_B_MEMORY_BLINKINGMEMORY_11 (11)
406 #define LCD_B_MEMORY_BLINKINGMEMORY_12 (12)
407 #define LCD_B_MEMORY_BLINKINGMEMORY_13 (13)
408 #define LCD_B_MEMORY_BLINKINGMEMORY_14 (14)
409 #define LCD_B_MEMORY_BLINKINGMEMORY_15 (15)
410 #define LCD_B_MEMORY_BLINKINGMEMORY_16 (16)
411 #define LCD_B_MEMORY_BLINKINGMEMORY_17 (17)
412 #define LCD_B_MEMORY_BLINKINGMEMORY_18 (18)
413 #define LCD_B_MEMORY_BLINKINGMEMORY_19 (19)
414 #define LCD_B_MEMORY_BLINKINGMEMORY_20 (20)
415 #define LCD_B_MEMORY_BLINKINGMEMORY_21 (21)
416 #define LCD_B_MEMORY_BLINKINGMEMORY_22 (22)
417 #define LCD_B_MEMORY_BLINKINGMEMORY_23 (23)
418 #define LCD_B_MEMORY_BLINKINGMEMORY_24 (24)
419 #define LCD_B_MEMORY_BLINKINGMEMORY_25 (25)
420 #define LCD_B_MEMORY_BLINKINGMEMORY_26 (26)
421 #define LCD_B_MEMORY_BLINKINGMEMORY_27 (27)
422 #define LCD_B_MEMORY_BLINKINGMEMORY_28 (28)
423 #define LCD_B_MEMORY_BLINKINGMEMORY_29 (29)
424 #define LCD_B_MEMORY_BLINKINGMEMORY_30 (30)
425 #define LCD_B_MEMORY_BLINKINGMEMORY_31 (31)
426 #define LCD_B_MEMORY_BLINKINGMEMORY_32 (32)
427 #define LCD_B_MEMORY_BLINKINGMEMORY_33 (33)
428 #define LCD_B_MEMORY_BLINKINGMEMORY_34 (34)
429 #define LCD_B_MEMORY_BLINKINGMEMORY_35 (35)
430 #define LCD_B_MEMORY_BLINKINGMEMORY_36 (36)
431 #define LCD_B_MEMORY_BLINKINGMEMORY_37 (37)
432 #define LCD_B_MEMORY_BLINKINGMEMORY_38 (38)
433 #define LCD_B_MEMORY_BLINKINGMEMORY_39 (39)
434 
435 //*****************************************************************************
436 //
437 // The following are values that can be passed to the autoDisabled parameter
438 // for functions: LCD_B_configureChargePump().
439 //
440 //*****************************************************************************
441 #define LCD_B_CHARGEPUMP_NOTAUTO_DISABLED_DURING_ADC_CONVERSION (0x0)
442 #define LCD_B_CHARGEPUMP_AUTO_DISABLED_DURING_ADC_CONVERSION (LCDCPDIS2)
443 
444 //*****************************************************************************
445 //
446 // Prototypes for the APIs.
447 //
448 //*****************************************************************************
449 
450 //*****************************************************************************
451 //
464 //
465 //*****************************************************************************
466 extern void LCD_B_init(uint16_t baseAddress,
467  LCD_B_initParam *initParams);
468 
469 //*****************************************************************************
470 //
478 //
479 //*****************************************************************************
480 extern void LCD_B_on(uint16_t baseAddress);
481 
482 //*****************************************************************************
483 //
491 //
492 //*****************************************************************************
493 extern void LCD_B_off(uint16_t baseAddress);
494 
495 //*****************************************************************************
496 //
510 //
511 //*****************************************************************************
512 extern void LCD_B_clearInterrupt(uint16_t baseAddress,
513  uint16_t mask);
514 
515 //*****************************************************************************
516 //
534 //
535 //*****************************************************************************
536 extern uint16_t LCD_B_getInterruptStatus(uint16_t baseAddress,
537  uint16_t mask);
538 
539 //*****************************************************************************
540 //
554 //
555 //*****************************************************************************
556 extern void LCD_B_enableInterrupt(uint16_t baseAddress,
557  uint16_t mask);
558 
559 //*****************************************************************************
560 //
574 //
575 //*****************************************************************************
576 extern void LCD_B_disableInterrupt(uint16_t baseAddress,
577  uint16_t mask);
578 
579 //*****************************************************************************
580 //
588 //
589 //*****************************************************************************
590 extern void LCD_B_clearAllMemory(uint16_t baseAddress);
591 
592 //*****************************************************************************
593 //
601 //
602 //*****************************************************************************
603 extern void LCD_B_clearAllBlinkingMemory(uint16_t baseAddress);
604 
605 //*****************************************************************************
606 //
624 //
625 //*****************************************************************************
626 extern void LCD_B_selectDisplayMemory(uint16_t baseAddress,
627  uint16_t displayMemory);
628 
629 //*****************************************************************************
630 //
658 //
659 //*****************************************************************************
660 extern void LCD_B_setBlinkingControl(uint16_t baseAddress,
661  uint8_t clockDivider,
662  uint8_t clockPrescalar,
663  uint8_t mode);
664 
665 //*****************************************************************************
666 //
675 //
676 //*****************************************************************************
677 extern void LCD_B_enableChargePump(uint16_t baseAddress);
678 
679 //*****************************************************************************
680 //
689 //
690 //*****************************************************************************
691 extern void LCD_B_disableChargePump(uint16_t baseAddress);
692 
693 //*****************************************************************************
694 //
707 //
708 //*****************************************************************************
709 extern void LCD_B_selectBias(uint16_t baseAddress,
710  uint16_t bias);
711 
712 //*****************************************************************************
713 //
733 //
734 //*****************************************************************************
735 extern void LCD_B_selectChargePumpReference(uint16_t baseAddress,
736  uint16_t reference);
737 
738 //*****************************************************************************
739 //
768 //
769 //*****************************************************************************
770 extern void LCD_B_setVLCDSource(uint16_t baseAddress,
771  uint16_t vlcdSource,
772  uint16_t v2v3v4Source,
773  uint16_t v5Source);
774 
775 //*****************************************************************************
776 //
805 //
806 //*****************************************************************************
807 extern void LCD_B_setVLCDVoltage(uint16_t baseAddress,
808  uint16_t voltage);
809 
810 //*****************************************************************************
811 //
886 //
887 //*****************************************************************************
888 extern void LCD_B_setPinAsLCDFunction(uint16_t baseAddress,
889  uint8_t pin);
890 
891 //*****************************************************************************
892 //
967 //
968 //*****************************************************************************
969 extern void LCD_B_setPinAsPortFunction(uint16_t baseAddress,
970  uint8_t pin);
971 
972 //*****************************************************************************
973 //
1117 //
1118 //*****************************************************************************
1119 extern void LCD_B_setPinAsLCDFunctionEx(uint16_t baseAddress,
1120  uint8_t startPin,
1121  uint8_t endPin);
1122 
1123 //*****************************************************************************
1124 //
1177 //
1178 //*****************************************************************************
1179 extern void LCD_B_setMemory(uint16_t baseAddress,
1180  uint8_t memory,
1181  uint8_t mask);
1182 
1183 //*****************************************************************************
1184 //
1238 //
1239 //*****************************************************************************
1240 extern void LCD_B_updateMemory(uint16_t baseAddress,
1241  uint8_t memory,
1242  uint8_t mask);
1243 
1244 //*****************************************************************************
1245 //
1299 //
1300 //*****************************************************************************
1301 extern void LCD_B_toggleMemory(uint16_t baseAddress,
1302  uint8_t memory,
1303  uint8_t mask);
1304 
1305 //*****************************************************************************
1306 //
1360 //
1361 //*****************************************************************************
1362 extern void LCD_B_clearMemory(uint16_t baseAddress,
1363  uint8_t memory,
1364  uint8_t mask);
1365 
1366 //*****************************************************************************
1367 //
1420 //
1421 //*****************************************************************************
1422 extern void LCD_B_setBlinkingMemory(uint16_t baseAddress,
1423  uint8_t memory,
1424  uint8_t mask);
1425 
1426 //*****************************************************************************
1427 //
1481 //
1482 //*****************************************************************************
1483 extern void LCD_B_updateBlinkingMemory(uint16_t baseAddress,
1484  uint8_t memory,
1485  uint8_t mask);
1486 
1487 //*****************************************************************************
1488 //
1542 //
1543 //*****************************************************************************
1544 extern void LCD_B_toggleBlinkingMemory(uint16_t baseAddress,
1545  uint8_t memory,
1546  uint8_t mask);
1547 
1548 //*****************************************************************************
1549 //
1603 //
1604 //*****************************************************************************
1605 extern void LCD_B_clearBlinkingMemory(uint16_t baseAddress,
1606  uint8_t memory,
1607  uint8_t mask);
1608 
1609 //*****************************************************************************
1610 //
1626 //
1627 //*****************************************************************************
1628 extern void LCD_B_configureChargePump(uint16_t baseAddress,
1629  uint16_t autoDisabled);
1630 
1631 //*****************************************************************************
1632 //
1633 // Mark the end of the C bindings section for C++ compilers.
1634 //
1635 //*****************************************************************************
1636 #ifdef __cplusplus
1637 }
1638 #endif
1639 
1640 #endif
1641 #endif // __MSP430WARE_LCD_B_H__