ACR89U-A1 – Reference Manual
Version 1.04
www.acs.com.hk
Page 36 of 57
4.1.2.6. LCDMESSAGE
typedef struct _LCD_MESSAGE {
BYTE cbCharCoding;
LPCTSTR pMessage;
USHORT wMessageLen;
} LCDMESSAGE, *PLCDMESSAGE;
Used by
AS_SetLcdDisplayMessage
.
Data Member
Value
Description
cbCharCoding
00h
Data encoding format used in the
pMessage
field. Character size depends on data format.
00h – ASCII
All other values are RFU
pMessage
ASCII String
Character string of encoding format stated in
cbCharCoding
field
wMessageLen
Positive
Integer
The number of characters stored in
pMessage
4.1.2.7. LCDCONTRAST
typedef struct _LCD_CONTRAST {
BYTE cbContrastLe
vel;
} LCDCONTRAST, *PLCDCONTRAST;
Used by
AS
_
SetLcdSetContrast
to set the contrast of the LCD screen.
Data Member
Value
Description
cbContrastLevel
00h to 63h
New LCD contrast level
4.1.2.8. LCDCLEAR
typedef struct _LCD_CLEAR {
BYTE cbClearMode;
BYTE cbNumber;
} LCDCLEAR, *PLCDCLEAR;
Used by
AS_ClearLcdDisplay
to clear (part of) the LCD screen.
Data Member
Value
Description
cbClearMode
LCD_CLEAR_MODE
LCD_CLR_FULL
= Clear the complete
LCD screen
LCD_CLR_ROWS
= Clear rows
LCD_CLR_COLS
= Clear columns
cbNumber
LCD_CLR_ROWS
LCD_CLR_ROWS
= Number of rows to
be cleared *
LCD_CLR_COLS
= Number of columns
to be cleared *
*Ignored in
LCD_CLR_FULL
mode.