time.h File Reference

Contains time-related functions and definitions. More...

Go to the source code of this file.

Defines

#define SIXTEENTH_SECOND   1
 A sixteenth of a second.
#define EIGTH_SECOND   2
 An eighth of a second.
#define QUARTER_SECOND   4
 A quarter of a second.
#define HALF_SECOND   8
 Half of a second.
#define SECOND   16
 One second.
#define TWO_SECOND   32
 Two seconds.
#define FOUR_SECOND   64
 Four seconds.

Functions

void delay_ms (int ms)
 Delay execution for the specified time.
void rtc_init (int prescale_opt, void(*rtc_func)(void))
 Enable the realtime clock.
void rtc_reset (void)
 Reset the counter of the realtime clock.
int rtc_get (void)
 Get the value of the realtime clock.


Detailed Description

Contains time-related functions and definitions.

Contains functions and definitions for dealing with time, namely delay_ms and the realtime clock.

Author:
Colony Project, CMU Robotics Club

Generated on Wed Sep 26 17:39:30 2007 for libdragonfly by  doxygen 1.4.6