GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBC / V4-5-0

Constituent: pbc_bootshell     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

boottime.c File Reference

Boot time functions. More...

#include "PBC/PBC.h"
#include "bootshell.h"
#include "config.h"
#include <drv/ppci/ppciRegs.h>

Include dependency graph for boottime.c:

Include dependency graph

Data Structures

struct  _pbc_Time
 Representation of boot time. More...


Typedefs

typedef _pbc_Time pbc_Time
 The typedef for _pbc_Time.


Functions

void Pbc_TimeInit ()
 Init boot time.

void Pbc_TimeGet (unsigned long *seconds, unsigned long *subSeconds)
 Get boot time.

void Pbc_TimeSetSeconds (unsigned long seconds)
 Set boot time seconds.

void Pbc_ResetWatchdog (unsigned long seconds)
 Set watchdog timer.


Variables

pbc_Time pbc_currentTime

Detailed Description

Boot time functions.

Author:
Ray Caperoon
Date:
Fri Dec 5 09:51:51 2003
  CVS $Id: boottime.c,v 1.6 2005/01/10 22:40:17 dmay Exp $
  

Boot time.


Function Documentation

void Pbc_ResetWatchdog unsigned long  seconds  ) 
 

Set watchdog timer.

Set watchdog timer counter to specified number of seconds.

Parameters:
seconds Watchdog timer value in seconds.
Return values:
none 

void Pbc_TimeGet unsigned long *  seconds,
unsigned long *  subSeconds
 

Get boot time.

Get time.

Parameters:
seconds Pointer to location to store seconds count
subSeconds Pointer to location to store sub seconds count
Return values:
none 

void Pbc_TimeInit  ) 
 

Init boot time.

Init time. Time set to zero.

Return values:
none 

void Pbc_TimeSetSeconds unsigned long  seconds  ) 
 

Set boot time seconds.

Set current boot time.

Parameters:
seconds New value of seconds.
Return values:
none 


Variable Documentation

pbc_currentTime [static]
 

Instantiation of PBC current time. Private to this module, accessed by Pbc_TimeInit(), Pbc_TimeGet() and Pbc_TimeSetSeconds().


Generated on Fri Jul 22 20:17:00 2005 by doxygen 1.3.3