
ACM-XE21B6
28
Acrosser Technology Co., Ltd.
4.2.2.
Watchdog
Syntax:
Wdt_start(int value)
Description:
This function of the watchdog time to start counter.
Parameters:
The parameter ‘val’ is the value to set to watchdog timer
register. The range is 1~ 255 .
Return Value:
None
Syntax:
Wdt_stop(Void)
Description:
Any time call this function will stop Watchdog Timer.
Parameters:
None
Return Value:
None
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.