Mateusz Grzywacz / DS1307

Dependents:   Nucleo_praktyki

Fork of RTC-DS1307 by Henry Leinen

Embed: (wiki syntax)

« Back to documentation index

DS1307::Time_rtc Struct Reference

DS1307::Time_rtc Struct Reference

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

#include <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 41 of file DS1307.h.


Field Documentation

int date

day of month [0..31]

Definition at line 46 of file DS1307.h.

int hour

hours [0..23]

Definition at line 44 of file DS1307.h.

int min

minutes {0..59]

Definition at line 43 of file DS1307.h.

int mon

month of year [1..12]

Definition at line 47 of file DS1307.h.

int sec

seconds [0..59]

Definition at line 42 of file DS1307.h.

int wday

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

Definition at line 45 of file DS1307.h.

int year

year [2000..2255]

Definition at line 48 of file DS1307.h.