GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > IPBS / V0-0-1
Constituent: pbs     Tag: i845e
#include <vxWorks.h>
#include <sysLib.h>
#include <tickLib.h>
#include <time.h>
#include <intLib.h>
#include <wdLib.h>
#include "PBI/Unions.h"
#include "VBI/Alias.h"
Include dependency graph for WUT.c.vx-xxx-xxx:
Data Structures | |
struct | _WCB_specific |
The platform specific piece of the WUT control structure. More... | |
struct | _WCB |
WakeUp Control Block. More... | |
Typedefs | |
typedef _WCB_specific | WCB_specific |
Typedef for struct _WCB_specific. | |
Functions | |
static __inline void | wut_period_set (unsigned int period) |
Informs VxWorks of a new clock rate. | |
int | wut_sys_shutdown (WCB *wcb) |
Platform specific shutdown procedure. | |
void | WUT_sys_handler (void) |
The facility's internal Interrupt Service Routine. | |
STATIC int | cmp_lt_tov (TOV tov_a, TOV tov_b) |
Platform implementation dependent routine to compare to timeout values. | |
static int | ticks_until_tov (TOV tov) |
static void | arm_watchdog (TOV tov) |
STATIC int | lock_que (WCB *wcb) |
Platform implementation dependent routine to lock the WUT timer que. | |
STATIC void | unlock_que (WCB *wcb, int key) |
Platform implementation dependent routine to unlock the WUT timer que. | |
STATIC void | arm_handler (WCB *wcb, TOV tov) |
Seeds the timer interrupt to handle expire a tov. | |
STATIC void | arm_handler_nxt_wut (WCB *wcb, const WUT_tmr *wut) |
Seeds the timer interrupt to handle expire at the timeout associated with the specified WUT timer entry. | |
int | wut_sys_connect (WCB *wcb) |
Platform dependent part of the WUT system connection process. | |
int | WUT_dec_get () |
Gets the current time left till the next timer expiration. | |
WUT_cb_status | WUT_keepalive_rtn (WUT_keepalive_ctx *keepalive, WUT_tmr *wut) |
Simple WUT timer callback routine used to drive the VxWorks system clock. | |
Variables | |
static WCB | Wcb |
Statically allocate control block as a facilty private structure. |
CVS $Id: WUT.c.vx-xxx-xxx,v 1.1.1.1 2006/02/10 21:45:35 saxton Exp $
The generic VxWorks implementation of the WakeUp Timers (WUT) facility.
|
Seeds the timer interrupt to handle expire a tov.
|
|
Seeds the timer interrupt to handle expire at the timeout associated with the specified WUT timer entry.
|
|
Platform implementation dependent routine to compare to timeout values.
|
|
Platform implementation dependent routine to lock the WUT timer que.
|
|
Platform implementation dependent routine to unlock the WUT timer que.
|
|
Gets the current time left till the next timer expiration. This primarily used as a debugging aid. |
|
Simple WUT timer callback routine used to drive the VxWorks system clock.
|
|
Informs VxWorks of a new clock rate.
|
|
Platform dependent part of the WUT system connection process.
|
|
The facility's internal Interrupt Service Routine.
|
|
Platform specific shutdown procedure. The decrement counter is set to the maximum expiration, effectively providing enough time to restore the original VxWorks exception handler. |