![]() |
EVE 1.0
|
![]() |
Data Structures | |
struct | lcd_driver_t |
Enumerations |
Functions called from application programs | |
bool | LcdInit (const struct lcd_driver_t *LcdDriver) |
Name: LcdInit Initializes the I2C-based LCD driver. I2C address range is 0x38 - 0x39. Max baudrate is 400 kbit/s. More... | |
bool | LcdFlashing (const struct lcd_driver_t *LcdDriver, enum lcd_driver_flashing_t Flashing) |
Name: LcdFlashing Sets LCD flashing mode. More... | |
bool | LcdPrint (const struct lcd_driver_t *LcdDriver, const void *SrcBuffer, uint8_t CharCount) |
Name: LcdPrint Prints characters on LCD. More... | |
This driver supports the I2C-based LCD driver type NXP PCF85162. The LCD driver IC has 32 segment driver outputs and up to 4 backplanes, and can operate in static mode or multiplexing modes 1:2, 1:3 or 1:4. The LCD driver IC has also built-in versatile blinking modes. Wide IC power supply range from 1.8V to 5.5V, and wide logic LCD supply range from 2.5V to 6.5V.
The LCD driver IC has 1 address line. The I2C address range is 0x38 - 0x39. Max baudrate is 400 kbit/s. Typical current consumption is 6ľA for the IC and 18ľA for the LCD.
Both initialization, flashing control and printing at the LCD are supported.
The selected I2C port must be initialized before using the driver.
lcd_driver_flashing_t structure defines flashing intervals.
Definition at line 70 of file lcd-pcf85162.h.
enum lcd_multiplex_mode_t |
lcd_driver_mode_t structure defines static mode or multiplexed mode 1:2, 1:3 or 1:4.
Definition at line 82 of file lcd-pcf85162.h.
enum lcd_bias_mode_t |
lcd_bias_mode_t structure defines the bias mode 1/2 or 1/3.
Definition at line 94 of file lcd-pcf85162.h.
bool LcdInit | ( | const struct lcd_driver_t * | LcdDriver | ) |
Name: LcdInit
Initializes the I2C-based LCD driver. I2C address range is 0x38 - 0x39. Max baudrate is 400 kbit/s.
LcdDriver | Parameters for the LCD driver to be used |
bool LcdFlashing | ( | const struct lcd_driver_t * | LcdDriver, |
enum lcd_driver_flashing_t | Flashing | ||
) |
Name: LcdFlashing
Sets LCD flashing mode.
LcdDriver | Parameters for the LCD driver to be used |
Flashing | Flashing parameter |
bool LcdPrint | ( | const struct lcd_driver_t * | LcdDriver, |
const void * | SrcBuffer, | ||
uint8_t | CharCount | ||
) |
Name: LcdPrint
Prints characters on LCD.
LcdDriver | Parameters for the LCD driver to be used |
SrcBuffer | Pointer to ASCII character buffer to print from |
CharCount | Numbers of characters to print |