Eapiwdogstart() - Asus AAEON PICO-EHL4-SEMI User Manual

Pico-semi system
Table of Contents

Advertisement

C.3.1.2

EapiWDogStart()

Command Line:
EApiWDogStart(
__IN uint32_t Delay,
__IN uint32_t Minute,
__IN uint32_t EventTimeout,
__IN uint32_t ResetTimeout
)
Use this command to start the Watchdog Timer and set the timeout values.
To stop the Watchdog Timer, issue the command EApiWDogStop. After issuing
EAPiWDogStop, the command EApiWDogStart must be called again with new values to
restart.
If the hardware implementation of the watchdog timer does not allow the user to select
the exact time they want, the EAPI will select the next longer time setting available.
Parameters
Delay
Minute
EventTimeout
ResetTimeout
Condition
Library Uninitialized
(Delay > gMaxDelay)
(EventTimeout > gMaxEventTimeout)
(ResetTimeout > gMaxResetTimeout)
Common Error
Others
Appendix C – Watchdog Timer Programming
Function Parameters
Delay in milliseconds
Control minutes or seconds
Event Timeout in milliseconds
Reset Timeout in milliseconds
Return Values
EAPI_STATUS_NOT_INITIALIZED
EAPI_STATUS_INVALID_PARAMETER
Common Error Code
EAPI_STATUS_SUCCESS
83

Advertisement

Table of Contents
loading

Table of Contents