Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

gtimer.hh File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

int global_timer_config (unsigned long)
int get_Global_time ()
int get_Global_elapsed_time (int)

Variables

int global_timer_available


Function Documentation

int global_timer_config unsigned long    timer_address
 

Definition at line 70 of file gtimer.cc.

00071 {
00072   unsigned long base_address;
00073   global_timer_available = 0;
00074   if (timer_address <= 0x10)
00075     {
00076       return (0);
00077     }
00078   base_address = timer_address - 0x10;
00079   p0 = (SCOPE_PTR) (base_address + 0x0);
00080   p1 = (SCOPE_PTR) (base_address + 0x2);
00081   p2 = (SCOPE_PTR) (base_address + 0x4);
00082   p3 = (SCOPE_PTR) (base_address + 0x6);
00083   p4 = (SCOPE_PTR) (base_address + 0x8);
00084   p5 = (SCOPE_PTR) (base_address + 0xA);
00085   p6 = (SCOPE_PTR) (base_address + 0xC);
00086   p7 = (SCOPE_PTR) (base_address + 0xE);
00087   hkv3d_loc = (TIMER_BD_PTR) (timer_address);
00088   global_timer_available = 1;
00089   return (1);
00090 }

int get_Global_time  
 

Definition at line 93 of file gtimer.cc.

00094 {
00095 
00096   int current_glob_time;
00097 
00098   current_glob_time = rd_Global_Clock (hkv3d_loc);
00099   return (current_glob_time);
00100 }

int get_Global_elapsed_time int   
 


Variable Documentation

int global_timer_available
 

Definition at line 33 of file gtimer.hh.


Generated on Sun Dec 2 15:57:09 2001 for rcslib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001