MSP430 DriverLib for MSP430F5xx_6xx Devices  2.91.13.01
lcd_b.h
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 //
28 //! \brief Used in the LCD_B_init() function as the initParams parameter.
29 //
30 //*****************************************************************************
31 typedef struct LCD_B_initParam {
32  //! Selects the clock that will be used by the LCD.
33  //! \n Valid values are:
34  //! - \b LCD_B_CLOCKSOURCE_ACLK [Default]
35  //! - \b LCD_B_CLOCKSOURCE_VLOCLK
36  uint16_t clockSource;
37  //! Selects the divider for LCD_frequency.
38  //! \n Valid values are:
39  //! - \b LCD_B_CLOCKDIVIDER_1 [Default]
40  //! - \b LCD_B_CLOCKDIVIDER_2
41  //! - \b LCD_B_CLOCKDIVIDER_3
42  //! - \b LCD_B_CLOCKDIVIDER_4
43  //! - \b LCD_B_CLOCKDIVIDER_5
44  //! - \b LCD_B_CLOCKDIVIDER_6
45  //! - \b LCD_B_CLOCKDIVIDER_7
46  //! - \b LCD_B_CLOCKDIVIDER_8
47  //! - \b LCD_B_CLOCKDIVIDER_9
48  //! - \b LCD_B_CLOCKDIVIDER_10
49  //! - \b LCD_B_CLOCKDIVIDER_11
50  //! - \b LCD_B_CLOCKDIVIDER_12
51  //! - \b LCD_B_CLOCKDIVIDER_13
52  //! - \b LCD_B_CLOCKDIVIDER_14
53  //! - \b LCD_B_CLOCKDIVIDER_15
54  //! - \b LCD_B_CLOCKDIVIDER_16
55  //! - \b LCD_B_CLOCKDIVIDER_17
56  //! - \b LCD_B_CLOCKDIVIDER_18
57  //! - \b LCD_B_CLOCKDIVIDER_19
58  //! - \b LCD_B_CLOCKDIVIDER_20
59  //! - \b LCD_B_CLOCKDIVIDER_21
60  //! - \b LCD_B_CLOCKDIVIDER_22
61  //! - \b LCD_B_CLOCKDIVIDER_23
62  //! - \b LCD_B_CLOCKDIVIDER_24
63  //! - \b LCD_B_CLOCKDIVIDER_25
64  //! - \b LCD_B_CLOCKDIVIDER_26
65  //! - \b LCD_B_CLOCKDIVIDER_27
66  //! - \b LCD_B_CLOCKDIVIDER_28
67  //! - \b LCD_B_CLOCKDIVIDER_29
68  //! - \b LCD_B_CLOCKDIVIDER_30
69  //! - \b LCD_B_CLOCKDIVIDER_31
70  //! - \b LCD_B_CLOCKDIVIDER_32
71  uint16_t clockDivider;
72  //! Selects the prescalar for frequency.
73  //! \n Valid values are:
74  //! - \b LCD_B_CLOCKPRESCALAR_1 [Default]
75  //! - \b LCD_B_CLOCKPRESCALAR_2
76  //! - \b LCD_B_CLOCKPRESCALAR_4
77  //! - \b LCD_B_CLOCKPRESCALAR_8
78  //! - \b LCD_B_CLOCKPRESCALAR_16
79  //! - \b LCD_B_CLOCKPRESCALAR_32
80  uint16_t clockPrescalar;
81  //! Selects LCD mux rate.
82  //! \n Valid values are:
83  //! - \b LCD_B_STATIC [Default]
84  //! - \b LCD_B_2_MUX
85  //! - \b LCD_B_3_MUX
86  //! - \b LCD_B_4_MUX
87  uint16_t muxRate;
88  //! Sets LCD segment on/off.
89  //! \n Valid values are:
90  //! - \b LCD_B_SEGMENTS_DISABLED [Default]
91  //! - \b LCD_B_SEGMENTS_ENABLED
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 //
452 //! \brief Initializes the LCD Module.
453 //!
454 //! his function initializes the LCD but without turning on. It bascially setup
455 //! the clock source, clock divider, clock prescalar, mux rate, low-power
456 //! waveform and segments on/off. After calling this function, user can config
457 //! charge pump, internal reference voltage and voltage sources.
458 //!
459 //! \param baseAddress is the base address of the LCD_B module.
460 //! \param initParams is the pointer to LCD_InitParam structure. See the
461 //! following parameters for each field.
462 //!
463 //! \return None
464 //
465 //*****************************************************************************
466 extern void LCD_B_init(uint16_t baseAddress,
467  LCD_B_initParam *initParams);
468 
469 //*****************************************************************************
470 //
471 //! \brief Turns on the LCD module.
472 //!
473 //! \param baseAddress is the base address of the LCD_B module.
474 //!
475 //! Modified bits are \b LCDON of \b LCDCTL0 register.
476 //!
477 //! \return None
478 //
479 //*****************************************************************************
480 extern void LCD_B_on(uint16_t baseAddress);
481 
482 //*****************************************************************************
483 //
484 //! \brief Turns off the LCD module.
485 //!
486 //! \param baseAddress is the base address of the LCD_B module.
487 //!
488 //! Modified bits are \b LCDON of \b LCDCTL0 register.
489 //!
490 //! \return None
491 //
492 //*****************************************************************************
493 extern void LCD_B_off(uint16_t baseAddress);
494 
495 //*****************************************************************************
496 //
497 //! \brief Clears the LCD interrupt flags.
498 //!
499 //! \param baseAddress is the base address of the LCD_B module.
500 //! \param mask is the masked interrupt flag to be cleared.
501 //! Valid values are:
502 //! - \b LCD_B_NO_CAPACITANCE_CONNECTED_INTERRUPT
503 //! - \b LCD_B_BLINKING_SEGMENTS_ON_INTERRUPT
504 //! - \b LCD_B_BLINKING_SEGMENTS_OFF_INTERRUPT
505 //! - \b LCD_B_FRAME_INTERRUPT
506 //! \n Modified bits are \b LCDCAPIFG, \b LCDBLKONIFG, \b LCDBLKOFFIFG
507 //! and \b LCDFRMIFG of \b LCDCTL1 register.
508 //!
509 //! \return None
510 //
511 //*****************************************************************************
512 extern void LCD_B_clearInterrupt(uint16_t baseAddress,
513  uint16_t mask);
514 
515 //*****************************************************************************
516 //
517 //! \brief Gets the LCD interrupt status.
518 //!
519 //! \param baseAddress is the base address of the LCD_B module.
520 //! \param mask is the masked interrupt flags.
521 //! Valid values are:
522 //! - \b LCD_B_NO_CAPACITANCE_CONNECTED_INTERRUPT
523 //! - \b LCD_B_BLINKING_SEGMENTS_ON_INTERRUPT
524 //! - \b LCD_B_BLINKING_SEGMENTS_OFF_INTERRUPT
525 //! - \b LCD_B_FRAME_INTERRUPT
526 //!
527 //! \return None
528 //! Return Logical OR of any of the following:
529 //! - \b LCD_B_NO_CAPACITANCE_CONNECTED_INTERRUPT
530 //! - \b LCD_B_BLINKING_SEGMENTS_ON_INTERRUPT
531 //! - \b LCD_B_BLINKING_SEGMENTS_OFF_INTERRUPT
532 //! - \b LCD_B_FRAME_INTERRUPT
533 //! \n indicating the status of the masked interrupts
534 //
535 //*****************************************************************************
536 extern uint16_t LCD_B_getInterruptStatus(uint16_t baseAddress,
537  uint16_t mask);
538 
539 //*****************************************************************************
540 //
541 //! \brief Enables LCD interrupt sources.
542 //!
543 //! \param baseAddress is the base address of the LCD_B module.
544 //! \param mask is the interrupts to be enabled.
545 //! Valid values are:
546 //! - \b LCD_B_NO_CAPACITANCE_CONNECTED_INTERRUPT
547 //! - \b LCD_B_BLINKING_SEGMENTS_ON_INTERRUPT
548 //! - \b LCD_B_BLINKING_SEGMENTS_OFF_INTERRUPT
549 //! - \b LCD_B_FRAME_INTERRUPT
550 //! \n Modified bits are \b LCDCAPIE, \b LCDBLKONIE, \b LCDBLKOFFIE and
551 //! \b LCDFRMIE of \b LCDCTL1 register.
552 //!
553 //! \return None
554 //
555 //*****************************************************************************
556 extern void LCD_B_enableInterrupt(uint16_t baseAddress,
557  uint16_t mask);
558 
559 //*****************************************************************************
560 //
561 //! \brief Disables LCD interrupt sources.
562 //!
563 //! \param baseAddress is the base address of the LCD_B module.
564 //! \param mask is the interrupts to be disabled.
565 //! Valid values are:
566 //! - \b LCD_B_NO_CAPACITANCE_CONNECTED_INTERRUPT
567 //! - \b LCD_B_BLINKING_SEGMENTS_ON_INTERRUPT
568 //! - \b LCD_B_BLINKING_SEGMENTS_OFF_INTERRUPT
569 //! - \b LCD_B_FRAME_INTERRUPT
570 //! \n Modified bits are \b LCDCAPIE, \b LCDBLKONIE, \b LCDBLKOFFIE and
571 //! \b LCDFRMIE of \b LCDCTL1 register.
572 //!
573 //! \return None
574 //
575 //*****************************************************************************
576 extern void LCD_B_disableInterrupt(uint16_t baseAddress,
577  uint16_t mask);
578 
579 //*****************************************************************************
580 //
581 //! \brief Clears all LCD memory registers.
582 //!
583 //! \param baseAddress is the base address of the LCD_B module.
584 //!
585 //! Modified bits are \b LCDCLRM of \b LCDMEMCTL register.
586 //!
587 //! \return None
588 //
589 //*****************************************************************************
590 extern void LCD_B_clearAllMemory(uint16_t baseAddress);
591 
592 //*****************************************************************************
593 //
594 //! \brief Clears all LCD blinking memory registers.
595 //!
596 //! \param baseAddress is the base address of the LCD_B module.
597 //!
598 //! Modified bits are \b LCDCLRBM of \b LCDMEMCTL register.
599 //!
600 //! \return None
601 //
602 //*****************************************************************************
603 extern void LCD_B_clearAllBlinkingMemory(uint16_t baseAddress);
604 
605 //*****************************************************************************
606 //
607 //! \brief Selects display memory.
608 //!
609 //! This function selects display memory either from memory or blinking memory.
610 //! Please note if the blinking mode is selected as
611 //! LCD_BLINKMODE_INDIVIDUALSEGMENTS or LCD_BLINKMODE_ALLSEGMENTS or mux rate
612 //! >=5, display memory can not be changed. If
613 //! LCD_BLINKMODE_SWITCHDISPLAYCONTENTS is selected, display memory bit
614 //! reflects current displayed memory.
615 //!
616 //! \param baseAddress is the base address of the LCD_B module.
617 //! \param displayMemory is the desired displayed memory.
618 //! Valid values are:
619 //! - \b LCD_B_DISPLAYSOURCE_MEMORY [Default]
620 //! - \b LCD_B_DISPLAYSOURCE_BLINKINGMEMORY
621 //! \n Modified bits are \b LCDDISP of \b LCDMEMCTL register.
622 //!
623 //! \return None
624 //
625 //*****************************************************************************
626 extern void LCD_B_selectDisplayMemory(uint16_t baseAddress,
627  uint16_t displayMemory);
628 
629 //*****************************************************************************
630 //
631 //! \brief Sets the blink settings.
632 //!
633 //! \param baseAddress is the base address of the LCD_B module.
634 //! \param clockDivider is the clock divider for blinking frequency.
635 //! Valid values are:
636 //! - \b LCD_B_BLINK_FREQ_CLOCK_DIVIDER_1 [Default]
637 //! - \b LCD_B_BLINK_FREQ_CLOCK_DIVIDER_2
638 //! - \b LCD_B_BLINK_FREQ_CLOCK_DIVIDER_3
639 //! - \b LCD_B_BLINK_FREQ_CLOCK_DIVIDER_4
640 //! - \b LCD_B_BLINK_FREQ_CLOCK_DIVIDER_5
641 //! - \b LCD_B_BLINK_FREQ_CLOCK_DIVIDER_6
642 //! - \b LCD_B_BLINK_FREQ_CLOCK_DIVIDER_7
643 //! - \b LCD_B_BLINK_FREQ_CLOCK_DIVIDER_8
644 //! \n Modified bits are \b LCDBLKDIVx of \b LCDBLKCTL register.
645 //! \param clockPrescalar is the clock pre-scalar for blinking frequency.
646 //! Valid values are:
647 //! - \b LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_512 [Default]
648 //! - \b LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_1024
649 //! - \b LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_2048
650 //! - \b LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_4096
651 //! - \b LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_8162
652 //! - \b LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_16384
653 //! - \b LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_32768
654 //! - \b LCD_B_BLINK_FREQ_CLOCK_PRESCALAR_65536
655 //! \n Modified bits are \b LCDBLKPREx of \b LCDBLKCTL register.
656 //!
657 //! \return None
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 //
667 //! \brief Enables the charge pump.
668 //!
669 //! \param baseAddress is the base address of the LCD_B module.
670 //!
671 //! Modified bits are \b LCDCPEN of \b LCDVCTL register; bits \b LCDON of \b
672 //! LCDCTL0 register.
673 //!
674 //! \return None
675 //
676 //*****************************************************************************
677 extern void LCD_B_enableChargePump(uint16_t baseAddress);
678 
679 //*****************************************************************************
680 //
681 //! \brief Disables the charge pump.
682 //!
683 //! \param baseAddress is the base address of the LCD_B module.
684 //!
685 //! Modified bits are \b LCDCPEN of \b LCDVCTL register; bits \b LCDON of \b
686 //! LCDCTL0 register.
687 //!
688 //! \return None
689 //
690 //*****************************************************************************
691 extern void LCD_B_disableChargePump(uint16_t baseAddress);
692 
693 //*****************************************************************************
694 //
695 //! \brief Selects the bias level.
696 //!
697 //! \param baseAddress is the base address of the LCD_B module.
698 //! \param bias is the select for bias level.
699 //! Valid values are:
700 //! - \b LCD_B_BIAS_1_3 [Default] - 1/3 bias
701 //! - \b LCD_B_BIAS_1_2 - 1/2 bias
702 //!
703 //! Modified bits are \b LCD2B of \b LCDVCTL register; bits \b LCDON of \b
704 //! LCDCTL0 register.
705 //!
706 //! \return None
707 //
708 //*****************************************************************************
709 extern void LCD_B_selectBias(uint16_t baseAddress,
710  uint16_t bias);
711 
712 //*****************************************************************************
713 //
714 //! \brief Selects the charge pump reference.
715 //!
716 //! The charge pump reference does not support
717 //! LCD_B_EXTERNAL_REFERENCE_VOLTAGE,
718 //! LCD_B_INTERNAL_REFERNCE_VOLTAGE_SWITCHED_TO_EXTERNAL_PIN when
719 //! LCD_B_V2V3V4_SOURCED_EXTERNALLY or
720 //! LCD_B_V2V3V4_GENERATED_INTERNALLY_SWITCHED_TO_PINS is selected.
721 //!
722 //! \param baseAddress is the base address of the LCD_B module.
723 //! \param reference is the select for charge pump reference.
724 //! Valid values are:
725 //! - \b LCD_B_INTERNAL_REFERENCE_VOLTAGE [Default]
726 //! - \b LCD_B_EXTERNAL_REFERENCE_VOLTAGE
727 //! - \b LCD_B_INTERNAL_REFERENCE_VOLTAGE_SWITCHED_TO_EXTERNAL_PIN
728 //!
729 //! Modified bits are \b VLCDREFx of \b LCDVCTL register; bits \b LCDON of \b
730 //! LCDCTL0 register.
731 //!
732 //! \return None
733 //
734 //*****************************************************************************
735 extern void LCD_B_selectChargePumpReference(uint16_t baseAddress,
736  uint16_t reference);
737 
738 //*****************************************************************************
739 //
740 //! \brief Sets the voltage source for V2/V3/V4 and V5.
741 //!
742 //! The charge pump reference does not support
743 //! LCD_B_EXTERNAL_REFERENCE_VOLTAGE,
744 //! LCD_B_INTERNAL_REFERNCE_VOLTAGE_SWITCHED_TO_EXTERNAL_PIN when
745 //! LCD_B_V2V3V4_SOURCED_EXTERNALLY or
746 //! LCD_B_V2V3V4_GENERATED_INTERNALLY_SWITCHED_TO_PINS is selected.
747 //!
748 //! \param baseAddress is the base address of the LCD_B module.
749 //! \param vlcdSource is the V(LCD) source select.
750 //! Valid values are:
751 //! - \b LCD_B_VLCD_GENERATED_INTERNALLY [Default]
752 //! - \b LCD_B_VLCD_SOURCED_EXTERNALLY
753 //! \param v2v3v4Source is the V2/V3/V4 source select.
754 //! Valid values are:
755 //! - \b LCD_B_V2V3V4_GENERATED_INTERNALLY_NOT_SWITCHED_TO_PINS
756 //! [Default]
757 //! - \b LCD_B_V2V3V4_GENERATED_INTERNALLY_SWITCHED_TO_PINS
758 //! - \b LCD_B_V2V3V4_SOURCED_EXTERNALLY
759 //! \param v5Source is the V5 source select.
760 //! Valid values are:
761 //! - \b LCD_B_V5_VSS [Default]
762 //! - \b LCD_B_V5_SOURCED_FROM_R03
763 //!
764 //! Modified bits are \b VLCDEXT, \b LCDREXT, \b LCDEXTBIAS and \b R03EXT of \b
765 //! LCDVCTL register; bits \b LCDON of \b LCDCTL0 register.
766 //!
767 //! \return None
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 //
777 //! \brief Selects the charge pump reference.
778 //!
779 //! Sets LCD charge pump voltage.
780 //!
781 //! \param baseAddress is the base address of the LCD_B module.
782 //! \param voltage is the charge pump select.
783 //! Valid values are:
784 //! - \b LCD_B_CHARGEPUMP_DISABLED [Default]
785 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_2_60V_OR_2_17VREF
786 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_2_66V_OR_2_22VREF
787 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_2_72V_OR_2_27VREF
788 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_2_78V_OR_2_32VREF
789 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_2_84V_OR_2_37VREF
790 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_2_90V_OR_2_42VREF
791 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_2_96V_OR_2_47VREF
792 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_3_02V_OR_2_52VREF
793 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_3_08V_OR_2_57VREF
794 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_3_14V_OR_2_62VREF
795 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_3_20V_OR_2_67VREF
796 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_3_26V_OR_2_72VREF
797 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_3_32V_OR_2_77VREF
798 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_3_38V_OR_2_82VREF
799 //! - \b LCD_B_CHARGEPUMP_VOLTAGE_3_44V_OR_2_87VREF
800 //!
801 //! Modified bits are \b VLCDx of \b LCDVCTL register; bits \b LCDON of \b
802 //! LCDCTL0 register.
803 //!
804 //! \return None
805 //
806 //*****************************************************************************
807 extern void LCD_B_setVLCDVoltage(uint16_t baseAddress,
808  uint16_t voltage);
809 
810 //*****************************************************************************
811 //
812 //! \brief Sets the LCD Pin as LCD functions.
813 //!
814 //! \param baseAddress is the base address of the LCD_B module.
815 //! \param pin is the select pin set as LCD function.
816 //! Valid values are:
817 //! - \b LCD_B_SEGMENT_LINE_0
818 //! - \b LCD_B_SEGMENT_LINE_1
819 //! - \b LCD_B_SEGMENT_LINE_2
820 //! - \b LCD_B_SEGMENT_LINE_3
821 //! - \b LCD_B_SEGMENT_LINE_4
822 //! - \b LCD_B_SEGMENT_LINE_5
823 //! - \b LCD_B_SEGMENT_LINE_6
824 //! - \b LCD_B_SEGMENT_LINE_7
825 //! - \b LCD_B_SEGMENT_LINE_8
826 //! - \b LCD_B_SEGMENT_LINE_9
827 //! - \b LCD_B_SEGMENT_LINE_10
828 //! - \b LCD_B_SEGMENT_LINE_11
829 //! - \b LCD_B_SEGMENT_LINE_12
830 //! - \b LCD_B_SEGMENT_LINE_13
831 //! - \b LCD_B_SEGMENT_LINE_14
832 //! - \b LCD_B_SEGMENT_LINE_15
833 //! - \b LCD_B_SEGMENT_LINE_16
834 //! - \b LCD_B_SEGMENT_LINE_17
835 //! - \b LCD_B_SEGMENT_LINE_18
836 //! - \b LCD_B_SEGMENT_LINE_19
837 //! - \b LCD_B_SEGMENT_LINE_20
838 //! - \b LCD_B_SEGMENT_LINE_21
839 //! - \b LCD_B_SEGMENT_LINE_22
840 //! - \b LCD_B_SEGMENT_LINE_23
841 //! - \b LCD_B_SEGMENT_LINE_24
842 //! - \b LCD_B_SEGMENT_LINE_25
843 //! - \b LCD_B_SEGMENT_LINE_26
844 //! - \b LCD_B_SEGMENT_LINE_27
845 //! - \b LCD_B_SEGMENT_LINE_28
846 //! - \b LCD_B_SEGMENT_LINE_29
847 //! - \b LCD_B_SEGMENT_LINE_30
848 //! - \b LCD_B_SEGMENT_LINE_31
849 //! - \b LCD_B_SEGMENT_LINE_32
850 //! - \b LCD_B_SEGMENT_LINE_33
851 //! - \b LCD_B_SEGMENT_LINE_34
852 //! - \b LCD_B_SEGMENT_LINE_35
853 //! - \b LCD_B_SEGMENT_LINE_36
854 //! - \b LCD_B_SEGMENT_LINE_37
855 //! - \b LCD_B_SEGMENT_LINE_38
856 //! - \b LCD_B_SEGMENT_LINE_39
857 //! - \b LCD_B_SEGMENT_LINE_40
858 //! - \b LCD_B_SEGMENT_LINE_41
859 //! - \b LCD_B_SEGMENT_LINE_42
860 //! - \b LCD_B_SEGMENT_LINE_43
861 //! - \b LCD_B_SEGMENT_LINE_44
862 //! - \b LCD_B_SEGMENT_LINE_45
863 //! - \b LCD_B_SEGMENT_LINE_46
864 //! - \b LCD_B_SEGMENT_LINE_47
865 //! - \b LCD_B_SEGMENT_LINE_48
866 //! - \b LCD_B_SEGMENT_LINE_49
867 //! - \b LCD_B_SEGMENT_LINE_50
868 //! - \b LCD_B_SEGMENT_LINE_51
869 //! - \b LCD_B_SEGMENT_LINE_52
870 //! - \b LCD_B_SEGMENT_LINE_53
871 //! - \b LCD_B_SEGMENT_LINE_54
872 //! - \b LCD_B_SEGMENT_LINE_55
873 //! - \b LCD_B_SEGMENT_LINE_56
874 //! - \b LCD_B_SEGMENT_LINE_57
875 //! - \b LCD_B_SEGMENT_LINE_58
876 //! - \b LCD_B_SEGMENT_LINE_59
877 //! - \b LCD_B_SEGMENT_LINE_60
878 //! - \b LCD_B_SEGMENT_LINE_61
879 //! - \b LCD_B_SEGMENT_LINE_62
880 //! - \b LCD_B_SEGMENT_LINE_63
881 //!
882 //! Modified bits are \b LCDSx of \b LCDPCTLx register; bits \b LCDON of \b
883 //! LCDCTL0 register.
884 //!
885 //! \return None
886 //
887 //*****************************************************************************
888 extern void LCD_B_setPinAsLCDFunction(uint16_t baseAddress,
889  uint8_t pin);
890 
891 //*****************************************************************************
892 //
893 //! \brief Sets the LCD Pin as Port functions.
894 //!
895 //! \param baseAddress is the base address of the LCD_B module.
896 //! \param pin is the select pin set as Port function.
897 //! Valid values are:
898 //! - \b LCD_B_SEGMENT_LINE_0
899 //! - \b LCD_B_SEGMENT_LINE_1
900 //! - \b LCD_B_SEGMENT_LINE_2
901 //! - \b LCD_B_SEGMENT_LINE_3
902 //! - \b LCD_B_SEGMENT_LINE_4
903 //! - \b LCD_B_SEGMENT_LINE_5
904 //! - \b LCD_B_SEGMENT_LINE_6
905 //! - \b LCD_B_SEGMENT_LINE_7
906 //! - \b LCD_B_SEGMENT_LINE_8
907 //! - \b LCD_B_SEGMENT_LINE_9
908 //! - \b LCD_B_SEGMENT_LINE_10
909 //! - \b LCD_B_SEGMENT_LINE_11
910 //! - \b LCD_B_SEGMENT_LINE_12
911 //! - \b LCD_B_SEGMENT_LINE_13
912 //! - \b LCD_B_SEGMENT_LINE_14
913 //! - \b LCD_B_SEGMENT_LINE_15
914 //! - \b LCD_B_SEGMENT_LINE_16
915 //! - \b LCD_B_SEGMENT_LINE_17
916 //! - \b LCD_B_SEGMENT_LINE_18
917 //! - \b LCD_B_SEGMENT_LINE_19
918 //! - \b LCD_B_SEGMENT_LINE_20
919 //! - \b LCD_B_SEGMENT_LINE_21
920 //! - \b LCD_B_SEGMENT_LINE_22
921 //! - \b LCD_B_SEGMENT_LINE_23
922 //! - \b LCD_B_SEGMENT_LINE_24
923 //! - \b LCD_B_SEGMENT_LINE_25
924 //! - \b LCD_B_SEGMENT_LINE_26
925 //! - \b LCD_B_SEGMENT_LINE_27
926 //! - \b LCD_B_SEGMENT_LINE_28
927 //! - \b LCD_B_SEGMENT_LINE_29
928 //! - \b LCD_B_SEGMENT_LINE_30
929 //! - \b LCD_B_SEGMENT_LINE_31
930 //! - \b LCD_B_SEGMENT_LINE_32
931 //! - \b LCD_B_SEGMENT_LINE_33
932 //! - \b LCD_B_SEGMENT_LINE_34
933 //! - \b LCD_B_SEGMENT_LINE_35
934 //! - \b LCD_B_SEGMENT_LINE_36
935 //! - \b LCD_B_SEGMENT_LINE_37
936 //! - \b LCD_B_SEGMENT_LINE_38
937 //! - \b LCD_B_SEGMENT_LINE_39
938 //! - \b LCD_B_SEGMENT_LINE_40
939 //! - \b LCD_B_SEGMENT_LINE_41
940 //! - \b LCD_B_SEGMENT_LINE_42
941 //! - \b LCD_B_SEGMENT_LINE_43
942 //! - \b LCD_B_SEGMENT_LINE_44
943 //! - \b LCD_B_SEGMENT_LINE_45
944 //! - \b LCD_B_SEGMENT_LINE_46
945 //! - \b LCD_B_SEGMENT_LINE_47
946 //! - \b LCD_B_SEGMENT_LINE_48
947 //! - \b LCD_B_SEGMENT_LINE_49
948 //! - \b LCD_B_SEGMENT_LINE_50
949 //! - \b LCD_B_SEGMENT_LINE_51
950 //! - \b LCD_B_SEGMENT_LINE_52
951 //! - \b LCD_B_SEGMENT_LINE_53
952 //! - \b LCD_B_SEGMENT_LINE_54
953 //! - \b LCD_B_SEGMENT_LINE_55
954 //! - \b LCD_B_SEGMENT_LINE_56
955 //! - \b LCD_B_SEGMENT_LINE_57
956 //! - \b LCD_B_SEGMENT_LINE_58
957 //! - \b LCD_B_SEGMENT_LINE_59
958 //! - \b LCD_B_SEGMENT_LINE_60
959 //! - \b LCD_B_SEGMENT_LINE_61
960 //! - \b LCD_B_SEGMENT_LINE_62
961 //! - \b LCD_B_SEGMENT_LINE_63
962 //!
963 //! Modified bits are \b LCDSx of \b LCDPCTLx register; bits \b LCDON of \b
964 //! LCDCTL0 register.
965 //!
966 //! \return None
967 //
968 //*****************************************************************************
969 extern void LCD_B_setPinAsPortFunction(uint16_t baseAddress,
970  uint8_t pin);
971 
972 //*****************************************************************************
973 //
974 //! \brief Sets the LCD pins as LCD function pin.
975 //!
976 //! This function sets the LCD pins as LCD function pin. Instead of passing the
977 //! all the possible pins, it just requires the start pin and the end pin.
978 //!
979 //! \param baseAddress is the base address of the LCD_B module.
980 //! \param startPin is the starting pin to be configed as LCD function pin.
981 //! Valid values are:
982 //! - \b LCD_B_SEGMENT_LINE_0
983 //! - \b LCD_B_SEGMENT_LINE_1
984 //! - \b LCD_B_SEGMENT_LINE_2
985 //! - \b LCD_B_SEGMENT_LINE_3
986 //! - \b LCD_B_SEGMENT_LINE_4
987 //! - \b LCD_B_SEGMENT_LINE_5
988 //! - \b LCD_B_SEGMENT_LINE_6
989 //! - \b LCD_B_SEGMENT_LINE_7
990 //! - \b LCD_B_SEGMENT_LINE_8
991 //! - \b LCD_B_SEGMENT_LINE_9
992 //! - \b LCD_B_SEGMENT_LINE_10
993 //! - \b LCD_B_SEGMENT_LINE_11
994 //! - \b LCD_B_SEGMENT_LINE_12
995 //! - \b LCD_B_SEGMENT_LINE_13
996 //! - \b LCD_B_SEGMENT_LINE_14
997 //! - \b LCD_B_SEGMENT_LINE_15
998 //! - \b LCD_B_SEGMENT_LINE_16
999 //! - \b LCD_B_SEGMENT_LINE_17
1000 //! - \b LCD_B_SEGMENT_LINE_18
1001 //! - \b LCD_B_SEGMENT_LINE_19
1002 //! - \b LCD_B_SEGMENT_LINE_20
1003 //! - \b LCD_B_SEGMENT_LINE_21
1004 //! - \b LCD_B_SEGMENT_LINE_22
1005 //! - \b LCD_B_SEGMENT_LINE_23
1006 //! - \b LCD_B_SEGMENT_LINE_24
1007 //! - \b LCD_B_SEGMENT_LINE_25
1008 //! - \b LCD_B_SEGMENT_LINE_26
1009 //! - \b LCD_B_SEGMENT_LINE_27
1010 //! - \b LCD_B_SEGMENT_LINE_28
1011 //! - \b LCD_B_SEGMENT_LINE_29
1012 //! - \b LCD_B_SEGMENT_LINE_30
1013 //! - \b LCD_B_SEGMENT_LINE_31
1014 //! - \b LCD_B_SEGMENT_LINE_32
1015 //! - \b LCD_B_SEGMENT_LINE_33
1016 //! - \b LCD_B_SEGMENT_LINE_34
1017 //! - \b LCD_B_SEGMENT_LINE_35
1018 //! - \b LCD_B_SEGMENT_LINE_36
1019 //! - \b LCD_B_SEGMENT_LINE_37
1020 //! - \b LCD_B_SEGMENT_LINE_38
1021 //! - \b LCD_B_SEGMENT_LINE_39
1022 //! - \b LCD_B_SEGMENT_LINE_40
1023 //! - \b LCD_B_SEGMENT_LINE_41
1024 //! - \b LCD_B_SEGMENT_LINE_42
1025 //! - \b LCD_B_SEGMENT_LINE_43
1026 //! - \b LCD_B_SEGMENT_LINE_44
1027 //! - \b LCD_B_SEGMENT_LINE_45
1028 //! - \b LCD_B_SEGMENT_LINE_46
1029 //! - \b LCD_B_SEGMENT_LINE_47
1030 //! - \b LCD_B_SEGMENT_LINE_48
1031 //! - \b LCD_B_SEGMENT_LINE_49
1032 //! - \b LCD_B_SEGMENT_LINE_50
1033 //! - \b LCD_B_SEGMENT_LINE_51
1034 //! - \b LCD_B_SEGMENT_LINE_52
1035 //! - \b LCD_B_SEGMENT_LINE_53
1036 //! - \b LCD_B_SEGMENT_LINE_54
1037 //! - \b LCD_B_SEGMENT_LINE_55
1038 //! - \b LCD_B_SEGMENT_LINE_56
1039 //! - \b LCD_B_SEGMENT_LINE_57
1040 //! - \b LCD_B_SEGMENT_LINE_58
1041 //! - \b LCD_B_SEGMENT_LINE_59
1042 //! - \b LCD_B_SEGMENT_LINE_60
1043 //! - \b LCD_B_SEGMENT_LINE_61
1044 //! - \b LCD_B_SEGMENT_LINE_62
1045 //! - \b LCD_B_SEGMENT_LINE_63
1046 //! \param endPin is the ending pin to be configed as LCD function pin.
1047 //! Valid values are:
1048 //! - \b LCD_B_SEGMENT_LINE_0
1049 //! - \b LCD_B_SEGMENT_LINE_1
1050 //! - \b LCD_B_SEGMENT_LINE_2
1051 //! - \b LCD_B_SEGMENT_LINE_3
1052 //! - \b LCD_B_SEGMENT_LINE_4
1053 //! - \b LCD_B_SEGMENT_LINE_5
1054 //! - \b LCD_B_SEGMENT_LINE_6
1055 //! - \b LCD_B_SEGMENT_LINE_7
1056 //! - \b LCD_B_SEGMENT_LINE_8
1057 //! - \b LCD_B_SEGMENT_LINE_9
1058 //! - \b LCD_B_SEGMENT_LINE_10
1059 //! - \b LCD_B_SEGMENT_LINE_11
1060 //! - \b LCD_B_SEGMENT_LINE_12
1061 //! - \b LCD_B_SEGMENT_LINE_13
1062 //! - \b LCD_B_SEGMENT_LINE_14
1063 //! - \b LCD_B_SEGMENT_LINE_15
1064 //! - \b LCD_B_SEGMENT_LINE_16
1065 //! - \b LCD_B_SEGMENT_LINE_17
1066 //! - \b LCD_B_SEGMENT_LINE_18
1067 //! - \b LCD_B_SEGMENT_LINE_19
1068 //! - \b LCD_B_SEGMENT_LINE_20
1069 //! - \b LCD_B_SEGMENT_LINE_21
1070 //! - \b LCD_B_SEGMENT_LINE_22
1071 //! - \b LCD_B_SEGMENT_LINE_23
1072 //! - \b LCD_B_SEGMENT_LINE_24
1073 //! - \b LCD_B_SEGMENT_LINE_25
1074 //! - \b LCD_B_SEGMENT_LINE_26
1075 //! - \b LCD_B_SEGMENT_LINE_27
1076 //! - \b LCD_B_SEGMENT_LINE_28
1077 //! - \b LCD_B_SEGMENT_LINE_29
1078 //! - \b LCD_B_SEGMENT_LINE_30
1079 //! - \b LCD_B_SEGMENT_LINE_31
1080 //! - \b LCD_B_SEGMENT_LINE_32
1081 //! - \b LCD_B_SEGMENT_LINE_33
1082 //! - \b LCD_B_SEGMENT_LINE_34
1083 //! - \b LCD_B_SEGMENT_LINE_35
1084 //! - \b LCD_B_SEGMENT_LINE_36
1085 //! - \b LCD_B_SEGMENT_LINE_37
1086 //! - \b LCD_B_SEGMENT_LINE_38
1087 //! - \b LCD_B_SEGMENT_LINE_39
1088 //! - \b LCD_B_SEGMENT_LINE_40
1089 //! - \b LCD_B_SEGMENT_LINE_41
1090 //! - \b LCD_B_SEGMENT_LINE_42
1091 //! - \b LCD_B_SEGMENT_LINE_43
1092 //! - \b LCD_B_SEGMENT_LINE_44
1093 //! - \b LCD_B_SEGMENT_LINE_45
1094 //! - \b LCD_B_SEGMENT_LINE_46
1095 //! - \b LCD_B_SEGMENT_LINE_47
1096 //! - \b LCD_B_SEGMENT_LINE_48
1097 //! - \b LCD_B_SEGMENT_LINE_49
1098 //! - \b LCD_B_SEGMENT_LINE_50
1099 //! - \b LCD_B_SEGMENT_LINE_51
1100 //! - \b LCD_B_SEGMENT_LINE_52
1101 //! - \b LCD_B_SEGMENT_LINE_53
1102 //! - \b LCD_B_SEGMENT_LINE_54
1103 //! - \b LCD_B_SEGMENT_LINE_55
1104 //! - \b LCD_B_SEGMENT_LINE_56
1105 //! - \b LCD_B_SEGMENT_LINE_57
1106 //! - \b LCD_B_SEGMENT_LINE_58
1107 //! - \b LCD_B_SEGMENT_LINE_59
1108 //! - \b LCD_B_SEGMENT_LINE_60
1109 //! - \b LCD_B_SEGMENT_LINE_61
1110 //! - \b LCD_B_SEGMENT_LINE_62
1111 //! - \b LCD_B_SEGMENT_LINE_63
1112 //!
1113 //! Modified bits are \b LCDSx of \b LCDPCTLx register; bits \b LCDON of \b
1114 //! LCDCTL0 register.
1115 //!
1116 //! \return None
1117 //
1118 //*****************************************************************************
1119 extern void LCD_B_setPinAsLCDFunctionEx(uint16_t baseAddress,
1120  uint8_t startPin,
1121  uint8_t endPin);
1122 
1123 //*****************************************************************************
1124 //
1125 //! \brief Sets the LCD_B memory register.
1126 //!
1127 //! This function sets the entire one LCD_B memory register.
1128 //!
1129 //! \param baseAddress is the base address of the LCD_B module.
1130 //! \param memory is the select memory for setting value.
1131 //! Valid values are:
1132 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_0
1133 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_1
1134 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_2
1135 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_3
1136 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_4
1137 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_5
1138 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_6
1139 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_7
1140 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_8
1141 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_9
1142 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_10
1143 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_11
1144 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_12
1145 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_13
1146 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_14
1147 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_15
1148 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_16
1149 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_17
1150 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_18
1151 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_19
1152 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_20
1153 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_21
1154 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_22
1155 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_23
1156 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_24
1157 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_25
1158 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_26
1159 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_27
1160 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_28
1161 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_29
1162 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_30
1163 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_31
1164 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_32
1165 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_33
1166 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_34
1167 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_35
1168 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_36
1169 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_37
1170 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_38
1171 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_39
1172 //! \param mask is the designated value for the corresponding memory.
1173 //!
1174 //! Modified bits are \b MBITx of \b LCDMx register.
1175 //!
1176 //! \return None
1177 //
1178 //*****************************************************************************
1179 extern void LCD_B_setMemory(uint16_t baseAddress,
1180  uint8_t memory,
1181  uint8_t mask);
1182 
1183 //*****************************************************************************
1184 //
1185 //! \brief Updates the LCD_B memory register.
1186 //!
1187 //! This function updates the specific bits in the LCD_B memory register
1188 //! according to the mask.
1189 //!
1190 //! \param baseAddress is the base address of the LCD_B module.
1191 //! \param memory is the select memory for setting value.
1192 //! Valid values are:
1193 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_0
1194 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_1
1195 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_2
1196 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_3
1197 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_4
1198 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_5
1199 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_6
1200 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_7
1201 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_8
1202 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_9
1203 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_10
1204 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_11
1205 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_12
1206 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_13
1207 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_14
1208 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_15
1209 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_16
1210 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_17
1211 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_18
1212 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_19
1213 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_20
1214 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_21
1215 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_22
1216 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_23
1217 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_24
1218 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_25
1219 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_26
1220 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_27
1221 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_28
1222 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_29
1223 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_30
1224 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_31
1225 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_32
1226 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_33
1227 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_34
1228 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_35
1229 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_36
1230 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_37
1231 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_38
1232 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_39
1233 //! \param mask is the designated value for the corresponding memory.
1234 //!
1235 //! Modified bits are \b MBITx of \b LCDMx register.
1236 //!
1237 //! \return None
1238 //
1239 //*****************************************************************************
1240 extern void LCD_B_updateMemory(uint16_t baseAddress,
1241  uint8_t memory,
1242  uint8_t mask);
1243 
1244 //*****************************************************************************
1245 //
1246 //! \brief Toggles the LCD_B memory register.
1247 //!
1248 //! This function toggles the specific bits in the LCD_B memory register
1249 //! according to the mask.
1250 //!
1251 //! \param baseAddress is the base address of the LCD_B module.
1252 //! \param memory is the select memory for setting value.
1253 //! Valid values are:
1254 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_0
1255 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_1
1256 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_2
1257 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_3
1258 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_4
1259 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_5
1260 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_6
1261 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_7
1262 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_8
1263 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_9
1264 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_10
1265 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_11
1266 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_12
1267 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_13
1268 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_14
1269 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_15
1270 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_16
1271 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_17
1272 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_18
1273 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_19
1274 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_20
1275 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_21
1276 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_22
1277 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_23
1278 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_24
1279 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_25
1280 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_26
1281 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_27
1282 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_28
1283 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_29
1284 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_30
1285 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_31
1286 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_32
1287 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_33
1288 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_34
1289 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_35
1290 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_36
1291 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_37
1292 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_38
1293 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_39
1294 //! \param mask is the designated value for the corresponding memory.
1295 //!
1296 //! Modified bits are \b MBITx of \b LCDMx register.
1297 //!
1298 //! \return None
1299 //
1300 //*****************************************************************************
1301 extern void LCD_B_toggleMemory(uint16_t baseAddress,
1302  uint8_t memory,
1303  uint8_t mask);
1304 
1305 //*****************************************************************************
1306 //
1307 //! \brief Clears the LCD_B memory register.
1308 //!
1309 //! This function clears the specific bits in the LCD_B memory register
1310 //! according to the mask.
1311 //!
1312 //! \param baseAddress is the base address of the LCD_B module.
1313 //! \param memory is the select memory for setting value.
1314 //! Valid values are:
1315 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_0
1316 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_1
1317 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_2
1318 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_3
1319 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_4
1320 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_5
1321 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_6
1322 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_7
1323 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_8
1324 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_9
1325 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_10
1326 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_11
1327 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_12
1328 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_13
1329 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_14
1330 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_15
1331 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_16
1332 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_17
1333 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_18
1334 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_19
1335 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_20
1336 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_21
1337 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_22
1338 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_23
1339 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_24
1340 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_25
1341 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_26
1342 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_27
1343 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_28
1344 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_29
1345 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_30
1346 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_31
1347 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_32
1348 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_33
1349 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_34
1350 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_35
1351 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_36
1352 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_37
1353 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_38
1354 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_39
1355 //! \param mask is the designated value for the corresponding memory.
1356 //!
1357 //! Modified bits are \b MBITx of \b LCDMx register.
1358 //!
1359 //! \return None
1360 //
1361 //*****************************************************************************
1362 extern void LCD_B_clearMemory(uint16_t baseAddress,
1363  uint8_t memory,
1364  uint8_t mask);
1365 
1366 //*****************************************************************************
1367 //
1368 //! \brief Sets the LCD_B blinking memory register.
1369 //!
1370 //! This function sets the entire one LCD_B blinking memory register.
1371 //!
1372 //! \param baseAddress is the base address of the LCD_B module.
1373 //! \param memory is the select blinking memory for setting value.
1374 //! Valid values are:
1375 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_0
1376 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_1
1377 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_2
1378 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_3
1379 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_4
1380 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_5
1381 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_6
1382 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_7
1383 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_8
1384 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_9
1385 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_10
1386 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_11
1387 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_12
1388 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_13
1389 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_14
1390 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_15
1391 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_16
1392 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_17
1393 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_18
1394 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_19
1395 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_20
1396 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_21
1397 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_22
1398 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_23
1399 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_24
1400 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_25
1401 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_26
1402 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_27
1403 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_28
1404 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_29
1405 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_30
1406 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_31
1407 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_32
1408 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_33
1409 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_34
1410 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_35
1411 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_36
1412 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_37
1413 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_38
1414 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_39
1415 //! \param mask is the designated value for the corresponding blinking memory.
1416 //!
1417 //! Modified bits are \b MBITx of \b LCDBMx register.
1418 //!
1419 //! \return None
1420 //
1421 //*****************************************************************************
1422 extern void LCD_B_setBlinkingMemory(uint16_t baseAddress,
1423  uint8_t memory,
1424  uint8_t mask);
1425 
1426 //*****************************************************************************
1427 //
1428 //! \brief Updates the LCD_B blinking memory register.
1429 //!
1430 //! This function updates the specific bits in the LCD_B blinking memory
1431 //! register according to the mask.
1432 //!
1433 //! \param baseAddress is the base address of the LCD_B module.
1434 //! \param memory is the select blinking memory for setting value.
1435 //! Valid values are:
1436 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_0
1437 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_1
1438 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_2
1439 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_3
1440 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_4
1441 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_5
1442 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_6
1443 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_7
1444 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_8
1445 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_9
1446 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_10
1447 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_11
1448 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_12
1449 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_13
1450 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_14
1451 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_15
1452 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_16
1453 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_17
1454 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_18
1455 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_19
1456 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_20
1457 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_21
1458 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_22
1459 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_23
1460 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_24
1461 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_25
1462 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_26
1463 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_27
1464 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_28
1465 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_29
1466 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_30
1467 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_31
1468 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_32
1469 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_33
1470 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_34
1471 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_35
1472 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_36
1473 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_37
1474 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_38
1475 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_39
1476 //! \param mask is the designated value for the corresponding blinking memory.
1477 //!
1478 //! Modified bits are \b MBITx of \b LCDBMx register.
1479 //!
1480 //! \return None
1481 //
1482 //*****************************************************************************
1483 extern void LCD_B_updateBlinkingMemory(uint16_t baseAddress,
1484  uint8_t memory,
1485  uint8_t mask);
1486 
1487 //*****************************************************************************
1488 //
1489 //! \brief Toggles the LCD_B blinking memory register.
1490 //!
1491 //! This function toggles the specific bits in the LCD_B blinking memory
1492 //! register according to the mask.
1493 //!
1494 //! \param baseAddress is the base address of the LCD_B module.
1495 //! \param memory is the select blinking memory for setting value.
1496 //! Valid values are:
1497 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_0
1498 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_1
1499 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_2
1500 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_3
1501 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_4
1502 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_5
1503 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_6
1504 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_7
1505 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_8
1506 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_9
1507 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_10
1508 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_11
1509 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_12
1510 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_13
1511 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_14
1512 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_15
1513 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_16
1514 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_17
1515 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_18
1516 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_19
1517 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_20
1518 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_21
1519 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_22
1520 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_23
1521 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_24
1522 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_25
1523 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_26
1524 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_27
1525 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_28
1526 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_29
1527 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_30
1528 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_31
1529 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_32
1530 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_33
1531 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_34
1532 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_35
1533 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_36
1534 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_37
1535 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_38
1536 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_39
1537 //! \param mask is the designated value for the corresponding blinking memory.
1538 //!
1539 //! Modified bits are \b MBITx of \b LCDBMx register.
1540 //!
1541 //! \return None
1542 //
1543 //*****************************************************************************
1544 extern void LCD_B_toggleBlinkingMemory(uint16_t baseAddress,
1545  uint8_t memory,
1546  uint8_t mask);
1547 
1548 //*****************************************************************************
1549 //
1550 //! \brief Clears the LCD_B blinking memory register.
1551 //!
1552 //! This function clears the specific bits in the LCD_B blinking memory
1553 //! register according to the mask.
1554 //!
1555 //! \param baseAddress is the base address of the LCD_B module.
1556 //! \param memory is the select blinking memory for setting value.
1557 //! Valid values are:
1558 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_0
1559 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_1
1560 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_2
1561 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_3
1562 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_4
1563 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_5
1564 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_6
1565 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_7
1566 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_8
1567 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_9
1568 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_10
1569 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_11
1570 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_12
1571 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_13
1572 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_14
1573 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_15
1574 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_16
1575 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_17
1576 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_18
1577 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_19
1578 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_20
1579 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_21
1580 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_22
1581 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_23
1582 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_24
1583 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_25
1584 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_26
1585 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_27
1586 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_28
1587 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_29
1588 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_30
1589 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_31
1590 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_32
1591 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_33
1592 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_34
1593 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_35
1594 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_36
1595 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_37
1596 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_38
1597 //! - \b LCD_B_MEMORY_BLINKINGMEMORY_39
1598 //! \param mask is the designated value for the corresponding blinking memory.
1599 //!
1600 //! Modified bits are \b MBITx of \b LCDBMx register.
1601 //!
1602 //! \return None
1603 //
1604 //*****************************************************************************
1605 extern void LCD_B_clearBlinkingMemory(uint16_t baseAddress,
1606  uint8_t memory,
1607  uint8_t mask);
1608 
1609 //*****************************************************************************
1610 //
1611 //! \brief Configs the charge pump for synchronization and disabled capability.
1612 //!
1613 //! This function is device-specific. The charge pump clock can be synchronized
1614 //! to a device-specific clock, and also can be disabled by connected function.
1615 //!
1616 //! \param baseAddress is the base address of the LCD_B module.
1617 //! \param autoDisabled is the synchronization select.
1618 //! Valid values are:
1619 //! - \b LCD_B_CHARGEPUMP_NOTAUTO_DISABLED_DURING_ADC_CONVERSION
1620 //! [Default]
1621 //! - \b LCD_B_CHARGEPUMP_AUTO_DISABLED_DURING_ADC_CONVERSION
1622 //!
1623 //! Modified bits are \b LCDCPDIS2 of \b LCDBCPCTL register.
1624 //!
1625 //! \return None
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__

Copyright 2020, Texas Instruments Incorporated