20.12.2012 Views

2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide

2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide

2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

API Call Reference List of APIs<br />

OUTPUT Not Applicable<br />

RETURN<br />

GLOBAL STATUS frcBibDrvShow(int infoLvl )<br />

Note: The device address is 0xa8, where the BIB storage area resides.<br />

OK If the handle is attached.<br />

Error The routine returns ERROR in case of insufficient<br />

memory, if the device cannot be read, no BIB is found, or the BIB<br />

image is not valid.<br />

DESCRIPTION This show routine displays all attached BIB handles and the associated<br />

in<strong>for</strong>mation, such as the previous error code, whether a local<br />

memory pool is used, and the address of the BIB interface routines.<br />

If infoLvl is higher than 1 and an external show routine has<br />

been defined via the global function pointer frcBibShowRtn, the<br />

contents of the BIB itself is also displayed.<br />

INPUT An integer which indicates the infolvl required:<br />

0 describes in<strong>for</strong>mation about the handle<br />

1 describes in<strong>for</strong>mation about the interface routines and cache<br />

buffer<br />

2 describes the entire in<strong>for</strong>mation contained in the BIB<br />

OUTPUT The in<strong>for</strong>mation required.<br />

RETURN<br />

frcBibShowRtn<br />

OK If the handle is attached.<br />

Error The routine returns ERROR in case of insufficient<br />

memory, if the device cannot be read, no BIB is found, or the BIB<br />

image is not valid.<br />

When frcBibDrvShow( ) is called with an in<strong>for</strong>mation level<br />

VxWorks 5.5/Tornado <strong>2.2</strong> <strong>BSP</strong> <strong>Rel</strong>. <strong>1.0</strong> <strong>for</strong> <strong>PPMC</strong>-<strong>275</strong> 5 - 113

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

Saved successfully!

Ooh no, something went wrong!