ACR89U-A1 – Reference Manual
Version 1.04
www.acs.com.hk
Page 32 of 57
4.0. Dynamic Link Library (DLL)
ACR89 DLL is implemented as a library completely independent of the PC/SC sub-system of
Windows. The library does not use any PC/SC to communicate between built-in accessories of
ACR89 and the application program.
4.1. ACR89 DLL API Declarations
4.1.1.
Enumerators
4.1.1.1. Port Numbers
enum
{
AS_USB1 = 0x00,
AS_USB2 = 0x01,
AS_USB3 = 0x02,
AS_USB4 = 0x03,
AS_USB5 = 0x04,
AS_USB6 = 0x05,
AS_USB7 = 0x06,
AS_USB8 = 0x07
};
Used by
AS_Open
to select the USB port where the ACR89 reader is connected. Up to eight USB
ports can be selected.
4.1.1.2. LCD_CLEAR MODE
typedef enum _LCD_CLEAR_MODE {
LCD_CLR_FULL = 0x00,
LCD_CLR_ROWS = 0x01,
LCD_CLR_COLS = 0x02
} LCD_CLEAR_MODE;
Used by
AS_ClearLCDDisplay
to select the mode for clearing the LCD display.
Data Member
Value
Description
LCD_CLR_FULL
0x00h
Clear the full LCD Screen
LCD_CLR_ROWS
0x01h
Clear one or more rows of the LCD screen
LCD_CLR_COLS
0x02h
Clear one or more columns of the LCD screen
typedef enum _LED_OPTION {
LED_UNCHANGED = 0x00,
LED_OFF = 0x01,
LED_RED = 0x02,
LED_GREEN = 0x03,
LED_YELLOW = 0x04
} LED_OPTION;
Used by
AS_SetLED
to set the color of one of the three LED’s on the ACR89.
Data Member
Value
Description
LED_UNCHANGED
0x00h
Do not change the color of the LED.