Working Version of the Real Time Clock module DS1307.

Dependents:   Rtc_Ds1307_Sample TAREA_5_PROCESADORES Rtc_Ds1307_lcd_alarma Rtc_Ds1307_Reloj_con_alarma_aplazable ... more

Embed: (wiki syntax)

« Back to documentation index

Rtc_Ds1307::Time_rtc Struct Reference

Rtc_Ds1307::Time_rtc Struct Reference

Structure which is used to exchange the time and date. More...

#include <Rtc_Ds1307.h>

Data Fields

int sec
int min
int hour
int wday
int date
int mon
int year

Detailed Description

Structure which is used to exchange the time and date.

Definition at line 39 of file Rtc_Ds1307.h.


Field Documentation

int date

day of month [0..31]

Definition at line 44 of file Rtc_Ds1307.h.

int hour

hours [0..23]

Definition at line 42 of file Rtc_Ds1307.h.

int min

minutes {0..59]

Definition at line 41 of file Rtc_Ds1307.h.

int mon

month of year [1..12]

Definition at line 45 of file Rtc_Ds1307.h.

int sec

seconds [0..59]

Definition at line 40 of file Rtc_Ds1307.h.

int wday

weekday [1..7, where 1 = sunday, 2 = monday, ...

Definition at line 43 of file Rtc_Ds1307.h.

int year

year [2000..2255]

Definition at line 46 of file Rtc_Ds1307.h.