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

Table 15:MPSC CHANNEL STRUCTURES: MPSC_CHANNEL_CHR 1 TO 10<br />

Macro Field Description<br />

CHR1<br />

CHR2<br />

reserved<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 - 81<br />

abort<br />

reserved2<br />

SYNC Holds the synchronization pattern<br />

<strong>for</strong> the receive machine and<br />

opening/closing flag/sync-pattern<br />

<strong>for</strong> the transmit machine.<br />

The abort pattern is transmitted<br />

upon receiving an abort command.<br />

This is an HDLC flag so no additional<br />

programing is needed <strong>for</strong> the<br />

HDLC protocol. After reset it holds<br />

the value of 7E in the SYNC field<br />

ENTER_HUNT EH Upon receiving the Enter Hunt<br />

command, the receive machine<br />

moves to HUNT state and continuously<br />

searches <strong>for</strong> an opening flag.<br />

If the enter hunt mode command is<br />

issued during frame reception, the<br />

current descriptor is closed with<br />

CRC error 1. The EH bit is cleared<br />

upon entering Hunt state.<br />

ABORT_RECEPTI<br />

ON<br />

CHR3<br />

reserved1<br />

AbortReception Abort receive immediately and go<br />

to IDLE. The descriptor is not<br />

closed or incremented. The processor<br />

must issue enter hunt command<br />

after abort command in<br />

order to enable reception. The bit is<br />

cleared upon entering IDLE state.<br />

reserved2<br />

A<br />

reserved3<br />

reserved1

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

Saved successfully!

Ooh no, something went wrong!