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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

API Call Reference List of APIs<br />

INPUT<br />

MV_SIO_CHAN<br />

*pChan<br />

MV serial channel struct.<br />

OUTPUT See description.<br />

RETURN None.<br />

void vxMpscUartDevReset(MV_SIO_CHAN *pChan)<br />

DESCRIPTION This function resets the UART channel. It halts any of the channel<br />

Tx/Rx operation, clears and mask any pending interrupts.<br />

INPUT<br />

MV_SIO_CHAN<br />

*pChan<br />

MV serial channel struct.<br />

OUTPUT See description.<br />

RETURN None.<br />

LOCAL void vxMpscUartStartChannel(MV_SIO_CHAN *pChan)<br />

DESCRIPTION This routine resets the serial channel and start it.<br />

INPUT<br />

MV_SIO_CHAN<br />

*pChan<br />

MV serial channel struct.<br />

OUTPUT The serial channel is ready to operate.<br />

RETURN None.<br />

LOCAL STATUS vxMpscUartIoctl(MV_SIO_CHAN *pChan, int request, int arg)<br />

DESCRIPTION This routine controls the device basic functionality like baud rate<br />

and mode (polling or interrupt).<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 - 101

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

Saved successfully!

Ooh no, something went wrong!