Eapiwdogstart() - Asus AAEON BOXER-6450-TGU User Manual

Fanless embedded box pc
Table of Contents

Advertisement

C.3.1.2
E apiWDogStart()
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
Co ndition
Library Uninitialized
(Delay > gMaxDelay)
(EventTimeout > gMaxEventTimeout)
(ResetTimeout > gMaxResetTimeout)
Common Error
Others
Appendix C – Watchdog Timer Programming
F unction Parameters
Delay in milliseconds
Control minutes or seconds
Event Timeout in milliseconds
Reset Timeout in milliseconds
R eturn Values
EAPI_STATUS_NOT_INITIALIZED
EAPI_STATUS_INVALID_PARAMETER
Common Error Code
EAPI_STATUS_SUCCESS
98

Advertisement

Table of Contents
loading

Table of Contents