3 watch dog functions – Hatteland Display 13 inch - HD 13T21 MMC (Widescreen, Inte Ato CPU) User Manual

Page 8

Advertising
background image

DOC101014-1_Hatteland Display API_AIPC.docx rev: 7

Created: 17.11.2011

Modified: 07.10.2013

8 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

Functions

R/W Input Output Functionality

AIPC_CFG0_W

WO

0xXX

-

Will write input data to the configuration
register 6 of PCA9555. The register configures

the direction of the I/O pins where a bit value

of 1 defines a pin as an input. The API default

value is 0xFF. (All pins are defined as input)

AIPC_CFG1_W

WO

0xXX

-

Will write input data to the configuration

register 7 of PCA9555. The register configures

the direction of the I/O pins where a bit value
of 1 defines a pin as an input. The API default

value is 0x8F. (Pin 4-6 defined as output).

AIPC_Read_GPI RO

-

1 byte

Will read register 0 of PCA9555.
Bit 7 - If high, secondary power is present.

Bit 6 – If high, primary power is present.

Bit 5 – Digital Input (DI2)
Bit 4 – Digital Input (DI1)

Bit 3-0 – Reserved.

AIPC_K2_EN

WO

-

-

Will activate K2 relay, thus connecting pin

“COM” to “NO” on “X1-DIG-OUT” port (5 pins
connector).

AIPC_K2_DIS

WO

-

-

Will deactivate K2 relay, thus connecting pin

“COM” to “NC” on “X1-DIG-OUT” port. (5 pins
connector).

AIPC_HS1_EN

WO

-

-

Will activate HS1 switch, thus connecting

“Out+” to “OUT-“ on “X1-DIG-OUT”. Note that
HS_EN must also be active to achieve this.

AIPC_HS1_DIS

WO

-

-

Will deactivate HS1 switch, thus disconnecting

“Out+” from “OUT-“ on “X1-DIG-OUT”. Note
that HS_DIS will also deactivate HS1 switch.

AIPC_HS2_EN

WO

-

-

Will activate HS2 switch, thus connecting

“COM” to “NC“ on “X1-DIG-OUT” (4 pins
connector).

AIPC_HS2_DIS

WO

-

-

Will deactivate HS2 switch, thus disconnecting

“COM” from “NC“ on “X1-DIG-OUT” (4 pins
connector).

3.3 Watch Dog functions

3.3.1.1 Firmware
Functions

R/W Input Output Functionality

FIRMWARE_VERSION

RO

-

11
bytes

Read the watchdog firmware version.

FIRMWARE_MODEL_NAME RO

-

25

bytes

Returns firmware model name string of

unknown length. Length will normally be
shorter than 25 bytes.

3.3.1.2 Hardware information
Functions

R/W Input Output

Functionality

HARDWARE_VERSION RO

-

2 bytes

The function can be used to check which

hardware is used, see table below. The function
will return the Data field. The value will differ

between the various hardware architectures.

Advertising
This manual is related to the following products: