02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer'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.

2<br />

<strong>BSP</strong> Organization<br />

sysSerialHwInit( ) - initialize the <strong>BSP</strong> serial devices to a quiescent state<br />

sysSerialHwInit2( ) - connect <strong>BSP</strong> serial device interrupts<br />

sysSerialChanGet( ) - get the SIO_CHAN device associated with a serial<br />

channel<br />

sysToMonitor( ) - transfer control to the ROM monitor<br />

2<br />

2.2.4 Optional Routines<br />

The following routines are usually present on all targets. Those marked as<br />

“internal” are internal to the <strong>BSP</strong> and are not called by the application.<br />

sysAbortInt( ) - handle the ABORT button interrupt<br />

sysAuxClkConnect( ) - connect a routine to the auxiliary clock interrupt<br />

sysAuxClkDisable( ) - turn off auxiliary clock interrupts<br />

sysAuxClkEnable( ) - turn on auxiliary clock interrupts<br />

sysAuxClkInt( ) - handle auxiliary clock interrupts<br />

sysAuxClkRateGet( ) - get the auxiliary clock rate<br />

sysAuxClkRateSet( ) - set the auxiliary clock rate<br />

sysPhysMemTop( ) - get the address of the top of physical memory<br />

The following routines are normally present only on targets that have a bus<br />

interface:<br />

sysProcNumGet( ) - get the processor number<br />

sysProcNumSet( ) - set the processor number<br />

sysBusIntAck( ) - acknowledge a bus interrupt<br />

sysBusIntGen( ) - generate a bus interrupt<br />

sysBusTas( ) - test and set a location across the bus<br />

sysBusTasClear( ) - clear a location set by sysBusTas( )<br />

sysBusToLocalAdrs( ) - convert a bus address to a local address<br />

sysIntDisable( ) - disable a bus interrupt level<br />

sysIntEnable( ) - enable a bus interrupt level<br />

sysLocalToBusAdrs( ) - convert a local address to a bus address<br />

31

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

Saved successfully!

Ooh no, something went wrong!