User guide

DOC101014-1_Hatteland Display API_AIPC.docx rev: 7
Created: 17.11.2011 Modified: 07.10.2013 11 of 27
Hatteland Display AS, Åmsosen, N-5578 Nedre Vats, Norway
Tel: (+47) 4814 2200 - mail@hatteland-display.com - www.hatteland-display.com
Hatteland Display API
All intellectual properties belongs to Hatteland Display AS
command will read the status of the PAD
LED register. A return of 0x01 means that
the PADS LED lights are turned on while
0x00 means they are turned off.
PAD_LED_
LIGHT_
ON
WO
-
-
Turns on the
PAD LED
lights.
PAD_LED_
LIGHT_
OFF
WO
-
-
Turns off the PAD LED lights.
PAD_LED_DIMMING
RW
0xXX
1 byte
Get / Se
t level of PAD LEDS. (0xFF
= 100%
,
0x00 =0%). Note that if
PAD_LED_DIMMING_FOLLOW_EN is
activated, the value of the
PAD_LED_DIMMING will follow the
BACK_LEVEL_ADJUSTEMENT value.
PAD_LED
DIMMING_FOLLOW
RO
-
1 byte
A read to this register will reveal if
the
PAD_LED light brightness is set to follow the
display backlight value or the
PAD_LED_DIMMING value.
0x01 = Follow backlight brightness.
0x00 = Adjustable by PAD_LED_DIMMING
PAD_LED
DIMMING_FOLLOW_EN
WO
-
Enables PAD LEDS to follow display
backlight.
PAD_LED
DIMMING_FOLLOW_DIS
WO
-
-
Disables PAD LEDS to follow display
backlight.
AMBIENT_LIGHT_SENSOR
RO
-
2 bytes
Read measurement from ambient light
sensor.
AMBIENT_LIGHT_SENSOR_
RANGE
R
W
0xXX
[0-4]
1 byte
Get/Set the
sensor range setting of ambient
light sensor.
0x00=Range1
0x01=Range2
0x02=Range3
0x03=Range4
0x04=OFF
3.3.1.6 Alarm status of computer side control
Functions
R/W
I
nput
Functionality
STATE_POWER_OFF_2_ON
WO
-
-
Watchdog change state.
Turns on Error LED.
Turns off K1 relay.
Turns off HS1 switch.
Turns off the Buzzer.
STATE_BOOTING
WO
-
-
Set state Booting”
.
STATE_OS_RUNNING
WO
-
-
Set state OS running”
.
STATE_APPLICATION_RUNNING
WO
-
-
Set state Application running
normal.
STATE_MAINTENANCE
WO
-
-
Set state Maintenance”
.
STATE_COMP_HALTED
WO
-
-
Set state
Computer Halted”
.
STATE_COMP_LOOP
WO
-
-
Set state Computer running in
loop.
STATE_SHUT_DOWN
WO
-
-
Set state shut down”
.
STATE_RESTART
WO
-
-
Set state restart”
.
STATE_SLEEP_MODE
WO
-
-
Set state Sleep mode”
.
STATE_LOW_POWER
WO
-
-
Set state
Low power”
.