Api List And Descriptions; Gpio; Watchdog; Lan Bypass Subsystem - Acrosser Technology ANR-J190N2-C612 User Manual

Bay trail networking 1u rack mount powered by intel celeron j1900/j1800 with 6x gbe lan, and 2-pair bypass lan
Table of Contents

Advertisement

5.3.

API List and Descriptions

5.3.1. GPIO

Syntax:
Description:
Parameters:
Return Value:
Syntax:
Description:
Parameters:
Return Value:

5.3.2. Watchdog

Syntax:
Description:
Parameters:
Return Value:
Syntax:
Description:
Parameters:
Return Value:

5.3.3. LAN Bypass Subsystem

Syntax:
Description:
Parameters:
Return Value:
www.acrosser.com
ANR-J190N2-C612, ANR-J180N2-C612 User Manual
Get_gpi_status(int pin)
Get the status of GPIO input pins and output pins status.
This function takes a pointer to an unsigned char variable
as the parameter.
The pin0 ~ pin3 is the status of the input pins.
1: HIGH, 0: LOW.
Set_gpo(int pin, int value)
Set the status of GPIO Output value.
Set value 0 is Low, 1 is High
If the function sets the values successfully, it returns 0 or
-1, any other returned value stands for error.
Void wdt_start(int _timevalue)
This function read the value of the watchdog time counter.
The parameter 'val' is the value to set to watchdog timer
register. The range is 1 ~ 255.
None.
Void wdt_stop(void)
This function sets the watchdog timer stop.
None.
None.
void set_bypass1(int value)
Set first pair is Bypass or Normal.
Set value 0 is Normal, 1 is Bypass.
None.
47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Anr-j180n2-c612

Table of Contents