24.05.2014 Views

Embedded Application Programming Interface - picmg

Embedded Application Programming Interface - picmg

Embedded Application Programming Interface - picmg

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8.1 EApiWDogGetCap<br />

8.1.1 Description<br />

Get the capabilities of the watchdog timer.<br />

8.1.2 Parameters<br />

uint32_t<br />

EAPI_CALLTYPE<br />

EApiWDogGetCap(<br />

__OUTOPT uint32_t *pMaxDelay ,<br />

/* Max. supported delay in msec */<br />

__OUTOPT uint32_t *pMaxEventTimeout ,<br />

/* Max. supported event timeout<br />

in msec, 0 == Unsupported */<br />

__OUTOPT uint32_t *pMaxResetTimeout<br />

/* Max. supported reset timeout<br />

in msec */<br />

);<br />

FUNC_DEF 17: EApiWDogStart<br />

pMaxDelay<br />

__OUTOPT Pointer to a buffer that receives maximum supported initial delay time of the watchdog<br />

timer in miliseconds.<br />

pMaxEventTimeout<br />

__OUTOPT Pointer to a buffer that receives maximum supported event timeout of the watchdog timer<br />

in miliseconds.<br />

pMaxResetTimeout<br />

__OUTOPT Pointer to a buffer that receives maximum supported event timeout of the watchdog timer<br />

in miliseconds.<br />

8.1.3 Return Status Codes<br />

Condition<br />

Library Uninitialized<br />

Unsupported<br />

pMaxDelay==NULL&&<br />

pMaxResetTimeout==NULL&&<br />

pMaxEventTimeout==NULL<br />

Return Value<br />

EAPI_STATUS_NOT_INITIALIZED<br />

EAPI_STATUS_UNSUPPORTED<br />

EAPI_STATUS_INVALID_PARAMETER<br />

... see 2.3 Status Codes on page 16<br />

Success<br />

EAPI_STATUS_SUCCESS<br />

8.2 EApiWDogStart<br />

PICMG® EAPI R1.0, August 8, 2010 page 44 of 83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!