beautypg.com

Watchdog, Lan bypass subsystem, 3 watchdog – Acrosser ANR-IH61N1/A/B User Manual

Page 68: 4 lan bypass subsystem

background image

68

7.3.3 Watchdog

1. Syntax:

Void wdt_start(int, int

Description: This function read the value of the watchdog tim

P

)

e counter and return it to the caller.

arameters: None.

ction return the value of the time counter and return it to the caller as an

Void

Description

Parameters: None.

escription: This function get WDT_Counter.

ent from the System Watchdog timer, which is

4. void forceNormal(void)

Force the port to become normal state.

Return Value: This fun

unsigned integer.

2. Syntax:

wdt_stop(void)

: close watch dog timer.

Return Value: None.

3. Syntax:

Int get_wdt_count(void)

D

Parameters: None.

Return Value: None.

7.3.4 LAN Bypass Subsystem

1. void enableWdt(void)

Enable Watchdog Timer. (This timer is differ

configured by the API described in 6.2).

2. void disableWdt(void)

Disable Watchdog Timer.

3. void reloadWdt(void)

Reload Watchdog Timer.