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.

2 General<br />

<br />

<br />

<br />

<br />

<br />

<br />

COM Express specifies functions for industrial applications which do not feature a common<br />

programming interface. Target is to avoid software modifications when changing COM Express<br />

module suppliers. This section describes a proposal for a common API to unify the software control<br />

for:<br />

System information<br />

Watchdog timer<br />

I2C Bus<br />

Flat Panel brightness control<br />

User storage area<br />

GPIO<br />

The EAPI definition is open to be used for other embedded form factors too.<br />

2.1 Parameters<br />

Parameters which can return a value are defined as pointers to the data. The other parameters are<br />

defined as values. The immediate return value is an error code.<br />

Parameters should be validated using 'Atomic Error Checking'(See chapter 1.5 page 9).<br />

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

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

Saved successfully!

Ooh no, something went wrong!