Software installation and programming guide, Introduction, Overview – Acrosser AES-HM76Z1FL User Manual

Page 47: Api list and descriptions, General, Software installation and, Programming guide

Advertising
background image

AES-HM76Z1FL User Manual

47

www.acrosser.com

6. Software Installation and

Programming Guide

6.1. Introduction

6.1.1. Overview

This model provides four type APIs which are GPI/GPO interface, Watchdog timer

interface, Hardware Monitor interface and Serial Mode interface. Users can use the

GPI/GPO API configure and access the GPI/GPO interface and the Watchdog timer.

The GPI/GPO has eight input pins and eight output pins. The Watchdog timer can

be set to 1~255 seconds. Setting the timer to zero disables the timer. The remaining

seconds of the timer to reboot can be read from the timer. The Hardware Monitor API

can get CPU Temperature, System Temperature, CPU Core Voltage, 5V Voltage,

12V Voltage, and 3.3V Voltage. Serial Mode can get and set COM3 and COM4

current status is RS422, RS485 Mode.

6.2. API List and Descriptions

6.2.1. General

Table 1. General Syntax Description

Syntax:

lib_init(void)

Description:

Library initialization, using this library must call this

function first.

Parameters:

None

Return Value:

0: Successful
-1: Fail

Syntax:

lib_close(void)

Description:

Library close, when you not used this library must call this

function.

Parameters:

None

Return Value:

0: Successful
-1: Fail

Advertising