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.

EAPI_STATUS_WRITE_ERROR<br />

Description<br />

An error was detected during a write operation.<br />

Example<br />

I2C Write function was not successful.<br />

No Acknowledge was received after writing any byte after the first address byte.<br />

Can be caused by unsupported device command/index.<br />

10Bit Address Device Not Present<br />

Storage Write Error<br />

Actions<br />

Retry.<br />

EAPI_STATUS_MORE_DATA<br />

Description<br />

The amount of available data exceeds the buffer size.<br />

Storage buffer overflow was prevented. Read count was larger then the defined buffer length.<br />

Actions<br />

Either increase the buffer size or reduce the block length.<br />

EAPI_STATUS_ERROR<br />

Description<br />

Generic error message. No further error details are available.<br />

Actions<br />

none.<br />

EAPI_STATUS_SUCCESS<br />

The value for this status code is defined as 0.<br />

Description<br />

The operation was successful.<br />

Actions<br />

None.<br />

Macros for Status Codes<br />

Name<br />

EAPI_TEST_SUCCESS<br />

Description<br />

Can be used to check if the status is<br />

EAPI_STATUS_SUCCESS.<br />

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

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

Saved successfully!

Ooh no, something went wrong!