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 />

bool mpscChanStart(MPSC_CHANNEL*mpscChan)<br />

DESCRIPTION This function starts the MPSC channel activity by writing to the<br />

MPSC registers the values needed <strong>for</strong> its operation. Some of the<br />

values are given by the user and some are calculate in the mpsc-<br />

ChanInit() phase.<br />

INPUT<br />

MPSC_CHANNEL<br />

*mpscChan<br />

MPSC channel struct.<br />

OUTPUT All MPSC register are assigned. The channel enters hunt state.<br />

RETURN<br />

False If the MPSC channel fails to enter hunt state within a<br />

given timeout.<br />

True If the MPSC channel enters hunt state within a given<br />

timeout.<br />

void mpscChanStopTx(MPSC_CHANNEL *mpscChan)<br />

This function stops any Tx activity of a given MPSC channel.<br />

INPUT<br />

MPSC_CHANNEL<br />

*mpscChan<br />

Note: In order to stop a complete serial channel Tx, the MPSC<br />

channel Tx should be stopped only after the SDMA channel Tx<br />

already stopped.<br />

MPSC channel struct.<br />

OUTPUT MPSC Tx activity is stopped. MPSC channel register 10 (Event Status<br />

Register) should mark that the Tx is in idle state.<br />

RETURN Not Applicable.<br />

void mpscChanStopRx(MPSC_CHANNEL *mpscChan)<br />

This function stops any Rx activity of a given MPSC channel.<br />

5 - 86 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!