LCD Driver
Figure 14. LCD flowchart
LCD.c
The principal function of this file is to configure the LCD module, set the frontplanes, backplanes, the power supply, the clock
source, and the duty cycle for the waves to generate the messages in the LCD glass.
Below you can see how to enable the LCD pins, and set which LCD pins will be backplanes and COMS.
Table 2. LCD pins and backplane configurations
Function
EnableLCDpins
(RegNum,Mask)
Parameters
Functionality
RegNum—Number of the register to write.
Mask—Mask to habilitate LCD pins
Enable the corresponding LCD pin for the
LCD operation.
EnableBackplane (RegNum, RegNum—Number of the register to write.
Mask—Mask to select backplanes
Enable the corresponding LCD pin for the
backplane operation.
Mask)
Implementing a Glucometer and Blood Pressure Monitor Medical Devices, Rev. 1, 4/2010
Freescale Semiconductor, Inc.
15