Real Time Clock


Detailed Description

Real time clock driven by overflow interrupt from TIMER2

\

Files

Data Structures

Defines

Functions


Define Documentation

#define DAYS_IN_FEBRUARY year   ) 
 

Days in february given the year.

#define DAYS_IN_OTHER month   ) 
 

Days in month other than february.

#define DAYS_IN_MONTH month,
year   ) 
 

Days in a month given month and year.


Function Documentation

void RTC_Init void   ) 
 

Called at reset.

const Time_t* RTC_Get void   ) 
 

Get current time.

void RTC_Set const Time_t *const  Time_p  ) 
 

Set new time.

void RTC_Increase uint16_t  milliseconds  ) 
 

Increase current time with milliseconds Called by the TIMER2 overflow interrupt.


Copyright 2002 Jörgen Birkler. For accelR8 Accelerometer on Mon Jan 19 21:43:20 2004 by Doxygen 1.3.5.