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 None.<br />

OUTPUT The Preset_VAL is loaded.<br />

RETURNS Not Applicable.<br />

frcWatchdogNMILoad()<br />

INPUT 24-bit wide number.<br />

Load WatchDog value register with a new value (NMI_VAL). This<br />

function loads a value into the Watchdog Value Register. This<br />

value is the 24 least significant bits of a 32 bit value. When the<br />

WatchDog counter reaches a value equal to NMI_VAL an NMI<br />

interrupt is generated.<br />

OUTPUT The value is loaded into the 24 Least Significant Bit of Watchdog<br />

Value Register.<br />

RETURN<br />

frcWatchdogEnable()<br />

INPUT None.<br />

True If output succeeds.<br />

False If argument is invalid.<br />

Enable WatchDog operation. This function enables the WatchDog<br />

operation.A write sequence of ‘01’ followed by ‘10’ into CTL1 disables/enables<br />

the watchdog. The watchdog’s current status can be<br />

read in bit 31 of WDC. When disabled, the GT clears the NMI bits<br />

(if set) and reloads the Preset_VAL into the watchdog counter.<br />

OUTPUT The disabled WatchDog is now enabled.<br />

RETURN Not Applicable.<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 - 131

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

Saved successfully!

Ooh no, something went wrong!