modm API documentation
modm::ds1302< PinSet >::Data Struct Reference

Public Member Functions

uint8_t getSeconds ()
 
uint8_t getMinutes ()
 
bool is24hours ()
 
bool isPm ()
 
bool isAm ()
 
uint8_t getHours ()
 
uint8_t getDate ()
 
uint8_t getMonth ()
 
uint8_t getDayOfWeek ()
 
uint8_t getYear ()
 
bool isWriteProtected ()
 

Public Attributes

uint8_t data [8]
 

Protected Member Functions

uint8_t doubleBcdToDecimal (uint8_t val)
 

Member Data Documentation

template<class PinSet >
uint8_t modm::ds1302< PinSet >::Data::data[8]

Local copy of the date data of the RTC. 31 bytes of RAM and trickle-charge register are ignored.


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