Embedded Application Programming Interface - picmg
Embedded Application Programming Interface - picmg
Embedded Application Programming Interface - picmg
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
3 Initialization Functions<br />
3.1 EApiLibInitialize<br />
uint32_t<br />
EAPI_CALLTYPE<br />
EApiLibInitialize(void);<br />
FUNC_DEF 1: EApiLibInitialize<br />
3.1.1 Description:<br />
General initialization of the EAPI. Prior to calling any EAPI function the library needs to be initialized by<br />
calling this function. The status code for all EAPI function will be EAPI_STATUS_NOT_INITIALIZED<br />
unless this function is called.<br />
3.1.2 Parameters<br />
None.<br />
3.1.3 Return Status Code<br />
Condition<br />
Library initialized<br />
Return Value<br />
EAPI_STATUS_INITIALIZED<br />
... see 2.3 Status Codes on page 16<br />
Success<br />
EAPI_STATUS_SUCCESS<br />
3.2 EApiLibUnInitialize<br />
3.2.1 Description:<br />
General function to uninitialized the EAPI library. Should be called before program exit.<br />
In a dynamic library environment this function is not expected to replace the native uninitialize<br />
routines. It Is expected that in this environments this function has no functionality.<br />
3.2.2 Parameters<br />
None.<br />
uint32_t<br />
EAPI_CALLTYPE<br />
EApiLibUnInitialize(void);<br />
FUNC_DEF 2: EApiLibUnInitialize<br />
3.2.3 Return Status Code<br />
Condition<br />
Library Uninitialized<br />
Return Value<br />
EAPI_STATUS_NOT_INITIALIZED<br />
... see 2.3 Status Codes on page 16<br />
Success<br />
EAPI_STATUS_SUCCESS<br />
PICMG® EAPI R1.0, August 8, 2010 page 20 of 83