pcd8544_internal.h File Reference

Internal definitions for PCD8544 displays. More...

Detailed Description

Go to the source code of this file.

Macros

#define RESET_DELAY   (5000) /* keep reset low for 5ms */
 Delay for resetting the device.
 
#define MODE_CMD   (0)
 Communication modes: command or data. More...
 
#define MODE_DTA   (1)
 we are sending some data
 
#define CONTRAST_MAX   (127U)
 Maximum parameter values. More...
 
#define TEMP_MAX   (3U)
 maximum possible temp coefficient
 
#define BIAS_MAX   (7U)
 maximum possible bias value
 
#define CMD_DISABLE   (0x24)
 Display commands. More...
 
#define CMD_ENABLE_H   (0x20)
 ON using horizontal addressing.
 
#define CMD_ENABLE_V   (0x22)
 ON using vertical addressing.
 
#define CMD_EXTENDED   (0x21)
 enter extended instruction set mode
 
#define CMD_MODE_BLANK   (0x08)
 display nothing
 
#define CMD_MODE_NORMAL   (0x0c)
 display memory content
 
#define CMD_MODE_ALLON   (0x09)
 display 'black' screen
 
#define CMD_MODE_INVERSE   (0x0d)
 display inverted memory content
 
#define CMD_SET_Y   (0x40)
 set 3-bit y address, OR with Y value
 
#define CMD_SET_X   (0x80)
 set 7-bit x address, OR with X value
 
#define CMD_EXT_TEMP   (0x04)
 select temperature coefficient
 
#define CMD_EXT_BIAS   (0x10)
 select BIAS value
 
#define CMD_EXT_CONTRAST   (0x80)
 set contrast, OR with [0 - 127]
 

Macro Definition Documentation

#define CMD_DISABLE   (0x24)

set LCD into power down mode

Definition at line 53 of file pcd8544_internal.h.

#define CONTRAST_MAX   (127U)

maximum possible contrast value

Definition at line 44 of file pcd8544_internal.h.

#define MODE_CMD   (0)

we are sending a command

Definition at line 36 of file pcd8544_internal.h.