Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
DS3232RTC Class Reference

Public Member Functions

byte set (time_t t)
 
byte write (tmElements_t &tm)
 
byte writeRTC (byte addr, byte *values, byte nBytes)
 
byte writeRTC (byte addr, byte value)
 
byte readRTC (byte addr, byte *values, byte nBytes)
 
byte readRTC (byte addr)
 
void setAlarm (ALARM_TYPES_t alarmType, byte seconds, byte minutes, byte hours, byte daydate)
 
void setAlarm (ALARM_TYPES_t alarmType, byte minutes, byte hours, byte daydate)
 
void alarmInterrupt (byte alarmNumber, bool alarmEnabled)
 
bool alarm (byte alarmNumber)
 
void squareWave (SQWAVE_FREQS_t freq)
 
bool oscStopped (bool clearOSF=true)
 
int temperature (void)
 

Static Public Member Functions

static time_t get (void)
 
static byte read (tmElements_t &tm)