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.

List of APIs API Call Reference<br />

int frcSysAuxClkRateGet (void)<br />

This routine returns the interrupt rate of the auxiliary clock.<br />

INPUT Not Applicable<br />

OUTPUT Not applicable<br />

RETURNS The number of ticks per second of the auxiliary clock.<br />

STATUS frcSysAuxClkRateSet ( int ticksPerSecond )<br />

This routine sets the interrupt rate of the auxiliary clock.<br />

It does not enable auxiliary clock interrupts.<br />

INPUT ticksPerSecond number of clock interrupts per second<br />

OUTPUT Not Applicable<br />

RETURNS<br />

OK<br />

DoorBell Interrupt Support<br />

ERROR if the tick rate is invalid or the timer cannot be set.<br />

This driver provides various interface routines to manipulate and<br />

connect the hardware interrupts concerning the MV Doorbell facility.<br />

The main features are listed here:<br />

The controller provides an easy way to hook a C Interrupt Service<br />

Routine (ISR) to a specific interrupt caused by the Doorbell<br />

register<br />

The controller interrupt mechanism provides a way <strong>for</strong> the programmer<br />

to set the priority of an interrupt<br />

Full interrupt control over the Doorbell facility<br />

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