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

Restriction<br />

Setting the MPSC protocol to UART restricts the network bandwidth<br />

that can be used. This is a result of the UART protocol<br />

design.<br />

Driver External Interface- Data Structure<br />

Driver Data Structures: MPSC_PORT_CONFIG<br />

External Interface APIs<br />

void mpscChanInit(MPSC_CHANNEL *mpscChan)<br />

This function completes the MPSC SW struct initialization<br />

towards the mpscChanStart() phase. It also initiates the MPSC<br />

interrupt controller.<br />

INPUT<br />

MPSC_CHANNEL<br />

*mpscChan<br />

MPSC channel struct.<br />

OUTPUT MPSC Interrupt controller initiated.<br />

RETURN N/A.<br />

Table 17:Driver Data Structures: MPSC_PORT_CONFIG<br />

Type Description<br />

UINT protocol Bit<br />

Width: 3<br />

MPSC_MAIN_STRUCT<br />

main<br />

Protocol Type<br />

Main structure as<br />

defined in the low level.<br />

UINT32 portconf Protocol Configuration -<br />

union of all protocols<br />

MPSC_CHANNEL_STR<br />

UCT channel<br />

MPSC Channel Register<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 - 85

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

Saved successfully!

Ooh no, something went wrong!