Watchdog – Acrosser AES-HM76Z1FL User Manual

Page 64

Advertising
background image

64

8.2.3. Watchdog

1. Syntax:

wdt_start(int value)

Description: This function of the watchdog time to start counter.

Parameters:

The parameter ‘value’ is the value to set to watchdog timer register. The

range is 1~ 255 .

Return Value: None.

2. Syntax:

wdt_stop(Void)

Description: Any time call this function will stop Watchdog Timer.

Parameters: None.

Return Value: None.

3. Syntax:

get_wdt_count()

Description: This function read the value of the watchdog time counter.

Parameters: None.

Return Value: This function returns the value of the time counter.

Advertising