Library for Real Time Clock module MCP97410 based on Library for DS1307

Fork of RTC-DS1307 by Henry Leinen

Embed: (wiki syntax)

« Back to documentation index

Rtc_Mcp97410::Time_rtc Struct Reference

Rtc_Mcp97410::Time_rtc Struct Reference

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

#include <Rtc_Mcp97410.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 119 of file Rtc_Mcp97410.h.


Field Documentation

int date

day of month [0..31]

Definition at line 124 of file Rtc_Mcp97410.h.

int hour

hours [0..23]

Definition at line 122 of file Rtc_Mcp97410.h.

int min

minutes {0..59]

Definition at line 121 of file Rtc_Mcp97410.h.

int mon

month of year [1..12]

Definition at line 125 of file Rtc_Mcp97410.h.

int sec

seconds [0..59]

Definition at line 120 of file Rtc_Mcp97410.h.

int wday

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

Definition at line 123 of file Rtc_Mcp97410.h.

int year

year [2000..2255]

Definition at line 126 of file Rtc_Mcp97410.h.