2 aipc_cfg1_w, 3 aipc_read_gpi, 4 aipc_k2_en – Hatteland Display 13 inch - HD 13T21 MMC (Widescreen, Inte Ato CPU) User Manual

Page 15: Hatteland display api

Advertising
background image

DOC101014-1_Hatteland Display API_AIPC.docx rev: 7

Created: 17.11.2011

Modified: 07.10.2013

15 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.4 C# implementations of AIPC commands

4.4.1 AIPC_CFG0_W

int

errCode = -1;

byte

[] output =

new

byte

[0];

byte

[] input =

new

byte

[1]{0xFF};

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.AIPC_CFG0_W,

false

, input, output,

ref

pNBytes);

4.4.2 AIPC_CFG1_W

int

errCode = -1;

byte

[] output =

new

byte

[0];

byte

[] input =

new

byte

[1]{0x8F};

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.AIPC_CFG1_W,

false

, input, output,

ref

pNBytes);

4.4.3 AIPC_Read_GPI

int

errCode = -1;

byte

[] output =

new

byte

[1];

byte

[] input =

new

byte

[0];

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.AIPC_Read_GPI,

true

, input, output,

ref

pNBytes);

4.4.4 AIPC_K2_EN

int

errCode = -1;

byte

[] output =

new

byte

[0];

byte

[] input =

new

byte

[0];

byte

pNBytes =

Convert

.ToByte(output.Length);

errCode =

hwApiHatteland

.HWAPIcommandRW(

COMMANDS

.AIPC_K2_EN,

false

, input, output,

ref

pNBytes);

Advertising
This manual is related to the following products: