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.

List of APIs API Call Reference<br />

srcIf Source interface which indicates DRAM/SRAM or PCI<br />

tgtIf Target interface which indicates DRAM/SRAM or PCI<br />

dmaData Data that has to be transferred.<br />

DmaDtl The DMA command that has to be combined with the<br />

block_transfer_mode command.<br />

OUTPUT Output: Transfers the dmadata between the two interfaces<br />

through the DMA engine<br />

RETURNS Not Applicable<br />

To Test <strong>for</strong> User Flash<br />

void frcFlashCheck()<br />

DESCRIPTION This is an application routine that checks the User Flash. It will display<br />

a menu to select Erase, Read, Write Blocks of User flash.<br />

INPUT Not Applicable<br />

OUTPUT Not Applicable<br />

RETURN Not Applicable<br />

To Detect PCI Devices<br />

void frcPciShow()<br />

DESCRIPTION Detects PCI devices on Bus 0 and beyond. Supported in Monarch<br />

and Non-monarch modes.<br />

INPUT Not Applicable<br />

OUTPUT It displays the mode of operation of the bus and the various<br />

devices on the bus with their addresses.<br />

RETURN Not Applicable<br />

5 - 152 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>

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

Saved successfully!

Ooh no, something went wrong!