GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > VXW / V7-0-3
Constituent: vxw_symbol     Tag: rad750
#include "vxWorks.h"
Include dependency graph for ppciPtim.h:
This graph shows which files directly or indirectly include this file:
Defines | |
#define | PTIM_CNT_DOWN 0 |
#define | PTIM_CNT_UP 1 |
#define | PTIM_OSC_CLK 0 |
#define | PTIM_PID_CLK 1 |
#define | PTIM_DIV4 0 |
#define | PTIM_DIV8 1 |
#define | PTIM_STOP_TMR 0 |
#define | PTIM_RELOAD_TMR 1 |
#define | PTIM_SIG_MISC 0 |
#define | PTIM_SIG_VEC 1 |
#define | PTIM_PULSE_PID 0 |
#define | PTIM_TOGL_PID 1 |
#define | PTIM_DIS_SNAP 0 |
#define | PTIM_ENA_SNAP 1 |
#define | PTIM_DIS_CLEAR 0 |
#define | PTIM_ENA_CLEAR 1 |
#define | PTIM_NUM_FIRST 1 |
#define | PTIM_NUM_LAST 3 |
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. | |
void | ppciPtimInit (void) |
unsigned int | watchdogGet (void) |
Read the value of the watchdog timer. | |
STATUS | watchdogSet (unsigned int value) |
Set the value of the watchdog timer. |
-------------------------------------------------------------------------
Description:
PowerPCI ASIC programmable timer routine function prototypes. See ppciPtim.c for detailed descriptions of the functions.
Restrictions:
Change History:
Date Pgm Description -------- --- ------------------------------------------------------ 04/21/00 MJF Initial Release 01/03/01 DS BSP integration.
--------------------------------------------------------------------------
|
Count down timer. |
|
Count up timer. |
|
Disable external clear via PID. |
|
Disable snapshot store via PID. |
|
Use real time clock / 4 frequency. |
|
Use real time clock / 8 frequency. |
|
Enable external clear via PID. |
|
Enable snapshot store via PID. |
|
Number of first PTIM. |
|
Number of last PTIM. |
|
Use oscillator as clock source. |
|
Use PID as clock source. |
|
Pulse PID if signalling term. count via PID. |
|
Reload timer after reaching terminal event. |
|
Signal interrupt via misc. int. status reg. |
|
Signal interrupt via vector int. status reg. |
|
Stop timer after reaching terminal event. |
|
Toggle PID if signalling term. count via PID. |
|
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
|