Arduino-RTC
Real-Time Clock (RTC) library for Arduino
DS1302< CS_PIN, SDA_PIN, CLK_PIN >::rtc_t Struct Reference

#include <DS1302.h>

Collaboration diagram for DS1302< CS_PIN, SDA_PIN, CLK_PIN >::rtc_t:
Collaboration graph

Public Attributes

bcd_t seconds
 00-59 Seconds. More...
 
bcd_t minutes
 00-59 Minutes. More...
 
bcd_t hours
 00-23 Hours. More...
 
bcd_t date
 01-31 Date. More...
 
bcd_t month
 01-12 Month. More...
 
bcd_t day
 01-07 Day. More...
 
bcd_t year
 00-99 Year. More...
 
uint8_t wp
 Write protect register. More...
 

Detailed Description

template<BOARD::pin_t CS_PIN, BOARD::pin_t SDA_PIN, BOARD::pin_t CLK_PIN>
struct DS1302< CS_PIN, SDA_PIN, CLK_PIN >::rtc_t

Table 3. Register Address/Definition.

Definition at line 225 of file DS1302.h.

Member Data Documentation

template<BOARD::pin_t CS_PIN, BOARD::pin_t SDA_PIN, BOARD::pin_t CLK_PIN>
bcd_t DS1302< CS_PIN, SDA_PIN, CLK_PIN >::rtc_t::date

01-31 Date.

Definition at line 229 of file DS1302.h.

template<BOARD::pin_t CS_PIN, BOARD::pin_t SDA_PIN, BOARD::pin_t CLK_PIN>
bcd_t DS1302< CS_PIN, SDA_PIN, CLK_PIN >::rtc_t::day

01-07 Day.

Definition at line 231 of file DS1302.h.

template<BOARD::pin_t CS_PIN, BOARD::pin_t SDA_PIN, BOARD::pin_t CLK_PIN>
bcd_t DS1302< CS_PIN, SDA_PIN, CLK_PIN >::rtc_t::hours

00-23 Hours.

Definition at line 228 of file DS1302.h.

template<BOARD::pin_t CS_PIN, BOARD::pin_t SDA_PIN, BOARD::pin_t CLK_PIN>
bcd_t DS1302< CS_PIN, SDA_PIN, CLK_PIN >::rtc_t::minutes

00-59 Minutes.

Definition at line 227 of file DS1302.h.

template<BOARD::pin_t CS_PIN, BOARD::pin_t SDA_PIN, BOARD::pin_t CLK_PIN>
bcd_t DS1302< CS_PIN, SDA_PIN, CLK_PIN >::rtc_t::month

01-12 Month.

Definition at line 230 of file DS1302.h.

template<BOARD::pin_t CS_PIN, BOARD::pin_t SDA_PIN, BOARD::pin_t CLK_PIN>
bcd_t DS1302< CS_PIN, SDA_PIN, CLK_PIN >::rtc_t::seconds

00-59 Seconds.

Definition at line 226 of file DS1302.h.

template<BOARD::pin_t CS_PIN, BOARD::pin_t SDA_PIN, BOARD::pin_t CLK_PIN>
uint8_t DS1302< CS_PIN, SDA_PIN, CLK_PIN >::rtc_t::wp

Write protect register.

Definition at line 233 of file DS1302.h.

template<BOARD::pin_t CS_PIN, BOARD::pin_t SDA_PIN, BOARD::pin_t CLK_PIN>
bcd_t DS1302< CS_PIN, SDA_PIN, CLK_PIN >::rtc_t::year

00-99 Year.

Definition at line 232 of file DS1302.h.


The documentation for this struct was generated from the following file: