beautypg.com

8 watchdog_monitor_count_reset, 9 alarm_reset, 10 alarm_fault_test – Hatteland Display 13 inch - HD 13T21 MMC (Widescreen, Inte Ato CPU) User Manual

Page 19: 11 alarm_sound_off, Hatteland display api

background image

DOC101014-1_Hatteland Display API_AIPC.docx rev: 7

Created: 17.11.2011

Modified: 07.10.2013

19 of 27

Hatteland Display AS, Åmsosen, N-5578 Nedre Vats, Norway

Tel: (+47) 4814 2200 - [email protected] - www.hatteland-display.com

Hatteland Display API

All intellectual properties belongs to Hatteland Display AS

4.5.7.2 Read

int

errCode = -1;

byte

[] output =

new

byte

[2];

byte

[] input =

new

byte

[0];

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.WATCHDOG_MONITOR_ENABLE_WAIT,

true

, input, output,

ref

pNBytes);

4.5.8 WATCHDOG_MONITOR_COUNT_RESET

int

errCode = -1;

byte

[] output =

new

byte

[0];

byte

[] input =

new

byte

[1]{0x00};

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.WATCHDOG_MONITOR_COUNT_RESET,

false

, input, output,

ref

pNBytes);

4.5.9 ALARM_RESET

int

errCode = -1;

byte

[] output =

new

byte

[0];

byte

[] input =

new

byte

[0];

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.ALARM_RESET,

false

, input, output,

ref

pNBytes);

4.5.10

ALARM_FAULT_TEST

int

errCode = -1;

byte

[] output =

new

byte

[0];

byte

[] input =

new

byte

[0];

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.ALARM_FAULT_TEST,

false

, input, output,

ref

pNBytes);

4.5.11

ALARM_SOUND_OFF

int

errCode = -1;

byte

[] output =

new

byte

[0];

This manual is related to the following products: