GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > VXW / V7-0-3
Constituent: vxw_symbol     Tag: rad750
#include "vxWorks.h"
#include "drv/ppci/asmFns.h"
#include "drv/ppci/ppciRegs.h"
#include "drv/ppci/ppciPtim.h"
#include "drv/ppci/ppciInt.h"
Include dependency graph for ppciPtim.c:
Functions | |
STATUS | ptimCnf (int ptimNum, int cntDir, int clkSrc, int clkFreq, int reloadTmr, int sigInt, int sigMode, int snap, int extClear) |
Configure a programmable timer. | |
STATUS | ptimGetReload (int ptimNum, unsigned int *pVal) |
Get reload value of timer. | |
STATUS | ptimSetReload (int ptimNum, unsigned int value) |
Set reload value of timer. | |
STATUS | ptimGet (int ptimNum, unsigned int *pVal) |
Get value of timer. | |
STATUS | ptimSet (int ptimNum, unsigned int value) |
Set value of timer. | |
STATUS | ptimEnable (int ptimNum) |
Enable timer. | |
STATUS | ptimDisable (int ptimNum) |
Disable timer. | |
STATUS | ptimIntEnable (int ptimNum) |
STATUS | ptimIntDisable (int ptimNum) |
Disable a PowerPCI programmable timer interrupt. | |
STATUS | ptimIntConnect (int ptimNum, VOIDFUNCPTR isr, int parm) |
Connect ISR to PowerPCI programmable timer interrupt. | |
unsigned int | watchdogGet (void) |
Read the value of the watchdog timer. | |
STATUS | watchdogSet (unsigned int value) |
Set the value of the watchdog timer. | |
void | ppciPtimInit (void) |
-------------------------------------------------------------------------
Description:
PowerPCI ASIC routines for programmable and watchdog timers.
Restrictions:
Change History:
Date Pgm Description -------- --- ------------------------------------------------------ 04/21/00 MJF Initial Release 01/03/01 DS BSP integration.
--------------------------------------------------------------------------
|
Timer initialization routine This init routine is called by ppciInit (from sysHwInit) during system boot. No initialization is currently performed -- this routine merely servers as a stub to force inclusion by the linker. |
|
Configure a programmable timer. Configure a programmable timer This routine configures a programmable timer. Any input or output PIDs used by the timer must be configured separately via pidCnf().
|
|
Disable timer. Disable timer This routine disables a programmable timer, stops it from counting.
|
|
Enable timer. Enable timer This routine enables a programmable timer, starts it counting.
|
|
Get value of timer. Get value of timer This routine returns the current value of a programmable timer.
|
|
Get reload value of timer. Get reload value of timer This routine returns the reload value of a programmable timer.
|
|
Connect ISR to PowerPCI programmable timer interrupt. Connect ISR to PowerPCI programmable timer interrupt This routine connects an interrupt service routine (ISR) to PowerPCI bridge programmable timer interrupt. Timer interrupts are enabled separate from this routine (by ptimIntEnable). The interrupt level being connected should not be enabled when this routine is called. The specified ISR will get control with interrupts disabled.
|
|
Disable a PowerPCI programmable timer interrupt. Disable a PowerPCI programmable timer interrupt This routine disables the specified programmable timer interrupt of the PowerPCI bridge.
|
|
Enable a PowerPCI programmable timer interrupt This routine enables the specified programmable timer interrupt of the PowerPCI bridge.
|
|
Set value of timer. Set value of timer This routine sets a programmable timer.
|
|
Set reload value of timer. Set reload value of timer This routine sets the reload value of a programmable timer.
|
|
Read the value of the watchdog timer. Read the value of the watchdog timer
|
|
Set the value of the watchdog timer. Set the value of the watchdog timer
|