24.05.2014 Views

Embedded Application Programming Interface - picmg

Embedded Application Programming Interface - picmg

Embedded Application Programming Interface - picmg

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

*<br />

* EApiGPIOGetLevel<br />

*<br />

* Condition | Return Values<br />

* -----------------------------------+------------------------------<br />

* Library Uninitialized | EAPI_STATUS_NOT_INITIALIZED<br />

* Bitmask==0 | EAPI_STATUS_INVALID_PARAMETER<br />

* Unsupported Id | EAPI_STATUS_UNSUPPORTED<br />

* (Bitmask&~(pInputs|pOutputs)) | EAPI_STATUS_INVALID_BITMASK<br />

* Common Error | Common Error Code<br />

* Else | EAPI_STATUS_SUCCESS<br />

*/<br />

EApiStatus_t<br />

EAPI_CALLTYPE<br />

EApiGPIOGetLevel(<br />

__IN EApiId_t Id , /* GPIO Id */<br />

__IN uint32_t Bitmask<br />

, /* Bit mask of Affected<br />

* Bits<br />

*/<br />

__OUT uint32_t *pLevel /* Current Level */<br />

);<br />

/*<br />

* EApiGPIOSetLevel<br />

*<br />

* Condition | Return Values<br />

* -----------------------------------+------------------------------<br />

* Library Uninitialized | EAPI_STATUS_NOT_INITIALIZED<br />

* Bitmask==0 | EAPI_STATUS_INVALID_PARAMETER<br />

* Unsupported Id | EAPI_STATUS_UNSUPPORTED<br />

* Common Error | Common Error Code<br />

* Else | EAPI_STATUS_SUCCESS<br />

*/<br />

EApiStatus_t<br />

EAPI_CALLTYPE<br />

EApiGPIOSetLevel(<br />

__IN EApiId_t Id , /* GPIO Id */<br />

__IN uint32_t Bitmask<br />

, /* Bit mask of Affected<br />

* Bits<br />

*/<br />

__IN uint32_t Level /* Level */<br />

);<br />

#include "EApiCOM0.h" /* COMExpress Platform Specific ID Mappings */<br />

#include "EApiTCA.h" /* TCA Platform Specific ID Mappings */<br />

#include "EApiETX.h" /* ETX Platform Specific ID Mappings */<br />

#include "EApiQ7.h" /* Q Seven Platform Specific ID Mappings */<br />

#include "EApiMOPS.h" /* MOPS Platform Specific ID Mappings */<br />

#include "EApiPISA.h" /* PISA Platform Specific ID Mappings */<br />

#include "EApiEPIC.h" /* EPIC Platform Specific ID Mappings */<br />

/****************************************************************************/<br />

#ifdef __cplusplus<br />

}<br />

#endif<br />

#endif /* _EAPI_H_ */<br />

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

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

Saved successfully!

Ooh no, something went wrong!