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.
4.1.3 Return Status Code<br />
Condition<br />
Return Value<br />
Library Uninitialized<br />
EAPI_STATUS_NOT_INITIALIZED<br />
pBufLen==NULL<br />
EAPI_STATUS_INVALID_PARAMETER<br />
*pBufLen&&pBuffer==NULL EAPI_STATUS_INVALID_PARAMETER<br />
unknown Id<br />
EAPI_STATUS_UNSUPPORTED<br />
Id String Length +1>*pBufLen EAPI_STATUS_MORE_DATA<br />
... see 2.3 Status Codes on page 16<br />
Success<br />
EAPI_STATUS_SUCCESS<br />
4.2 EApiBoardGetValue<br />
4.2.1 Description<br />
Information about the hardware platform in value format.<br />
4.2.2 Parameters<br />
Id<br />
uint32_t<br />
EAPI_CALLTYPE<br />
EApiBoardGetValue(<br />
__IN uint32_t Id , /* Value Id */<br />
__OUT uint32_t *pValue /* Return Value */<br />
);<br />
FUNC_DEF 4: EApiBoardGetValue<br />
__IN Selects the Get Value Sub function Id.<br />
Id Description Units/Format<br />
EAPI_ID_GET_EAPI_SPEC_VERSION<br />
EAPI_ID_BOARD_BOOT_COUNTER_V<br />
AL<br />
EAPI_ID_BOARD_RUNNING_TIME_MET<br />
ER_VAL<br />
EAPI_ID_BOARD_PNPID_VAL<br />
EAPI_ID_BOARD_PLATFORM_REV_VA<br />
L<br />
EAPI Specification<br />
Version used to<br />
implement API<br />
'Boot Counter' see page 9 boots 1<br />
'Running Time Meter' see<br />
page 11<br />
Board Vendor PNPID see<br />
page 11<br />
Platform Specification<br />
Version used to create<br />
board. See 'Platform ID'<br />
on page 21<br />
'Specification Version<br />
Number Formatt' see<br />
page 77<br />
minutes 1<br />
'Compressed ASCII<br />
PNPID' page 77<br />
'Specification Version<br />
Number Format' see page<br />
77<br />
EAPI_ID_BOARD_DRIVER_VERSION_V<br />
AL<br />
Vendor Specific Driver<br />
Version<br />
'General Version number<br />
Format' 1 page 78<br />
1 may be supported<br />
PICMG® EAPI R1.0, August 8, 2010 page 22 of 83