Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

Timeadds


Data Structures

struct  _tm

Functions

tm * getTime (void)
void setTime (tm *tmTime)
char * timeToAscii (const tm *tmTime)

Detailed Description

Pack of functions to read time information from RTC.

Function Documentation

tm* getTime void   
 

Read current time from RTC and store it in time structure.

Returns:
pointer to calendar structure _tm.
Examples:
adds/app/rtc.

void setTime tm *    tmTime
 

Write time to RTC.

Parameters:
tmTime  - pointer to calendar structure _tm.
Examples:
adds/app/rtc.

char* timeToAscii const tm *    tmTime
 

Return a string of the form "yyyy mm dd hh:mm:ss"

Parameters:
tmTime  - pointer to calendar structure _tm.
Examples:
adds/app/rtc.


Generated on Thu Jan 30 22:30:57 2003 for EduNet by doxygen1.2.18