EVE 1.0
NXP PCF85162 LCD driver
Collaboration diagram for NXP PCF85162 LCD driver:

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...
 

Detailed Description

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.

Enumeration Type Documentation

lcd_driver_flashing_t structure defines flashing intervals.

Definition at line 70 of file lcd-pcf85162.h.

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.

lcd_bias_mode_t structure defines the bias mode 1/2 or 1/3.

Definition at line 94 of file lcd-pcf85162.h.

Function Documentation

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.

Parameters
LcdDriverParameters for the LCD driver to be used
Returns
true if OK, else false
bool LcdFlashing ( const struct lcd_driver_t LcdDriver,
enum lcd_driver_flashing_t  Flashing 
)

Name: LcdFlashing
Sets LCD flashing mode.

Parameters
LcdDriverParameters for the LCD driver to be used
FlashingFlashing parameter
Returns
true if OK, else false
bool LcdPrint ( const struct lcd_driver_t LcdDriver,
const void *  SrcBuffer,
uint8_t  CharCount 
)

Name: LcdPrint
Prints characters on LCD.

Parameters
LcdDriverParameters for the LCD driver to be used
SrcBufferPointer to ASCII character buffer to print from
CharCountNumbers of characters to print
Returns
true if OK, else false