diff --git a/html/_r_t_clib_8h.html b/html/_r_t_clib_8h.html
index 58b6b16..5e78c8c 100644
--- a/html/_r_t_clib_8h.html
+++ b/html/_r_t_clib_8h.html
@@ -219,7 +219,7 @@ Enumerations
}
| enum | Ds3231SqwPinMode {
- DS3231_OFF = 0x01,
+ DS3231_OFF = 0x1C,
DS3231_SquareWave1Hz = 0x00,
DS3231_SquareWave1kHz = 0x08,
DS3231_SquareWave4kHz = 0x10,
diff --git a/html/_r_t_clib_8h_source.html b/html/_r_t_clib_8h_source.html
index 5f09322..43d9994 100644
--- a/html/_r_t_clib_8h_source.html
+++ b/html/_r_t_clib_8h_source.html
@@ -62,7 +62,7 @@ $(function() {
RTClib.h
- Go to the documentation of this file. 29 #define PCF8523_ADDRESS 0x68 30 #define PCF8523_CLKOUTCONTROL 0x0F 31 #define PCF8523_CONTROL_1 0x00 32 #define PCF8523_CONTROL_2 0x01 33 #define PCF8523_CONTROL_3 0x02 34 #define PCF8523_TIMER_B_FRCTL 0x12 35 #define PCF8523_TIMER_B_VALUE 0x13 36 #define PCF8523_OFFSET 0x0E 37 #define PCF8523_STATUSREG 0x03 39 #define PCF8563_ADDRESS 0x51 40 #define PCF8563_CLKOUTCONTROL 0x0D 41 #define PCF8563_CONTROL_1 0x00 42 #define PCF8563_CONTROL_2 0x01 43 #define PCF8563_VL_SECONDS 0x02 44 #define PCF8563_CLKOUT_MASK 0x83 46 #define DS1307_ADDRESS 0x68 47 #define DS1307_CONTROL 0x07 48 #define DS1307_NVRAM 0x08 50 #define DS3231_ADDRESS 0x68 51 #define DS3231_TIME 0x00 52 #define DS3231_ALARM1 0x07 53 #define DS3231_ALARM2 0x0B 54 #define DS3231_CONTROL 0x0E 55 #define DS3231_STATUSREG 0x0F 56 #define DS3231_TEMPERATUREREG \ 61 #define SECONDS_PER_DAY 86400L 62 #define SECONDS_FROM_1970_TO_2000 \ 85 uint8_t min = 0, uint8_t sec = 0); 87 DateTime( const char *date, const char *time); 88 DateTime( const __FlashStringHelper *date, const __FlashStringHelper *time); 107 uint8_t day() const { return d; } 119 uint8_t isPM() const { return hh >= 12; } 216 TimeSpan(int16_t days, int8_t hours, int8_t minutes, int8_t seconds); 224 int16_t days() const { return _seconds / 86400L; } 231 int8_t hours() const { return _seconds / 3600 % 24; } 238 int8_t minutes() const { return _seconds / 60 % 60; } 245 int8_t seconds() const { return _seconds % 60; } 263 DS1307_SquareWave1HZ = 0x10, 264 DS1307_SquareWave4kHz = 0x11, 265 DS1307_SquareWave8kHz = 0x12, 266 DS1307_SquareWave32kHz = 0x13 277 static void adjust( const DateTime &dt); 278 uint8_t isrunning( void); 282 uint8_t readnvram(uint8_t address); 283 void readnvram(uint8_t *buf, uint8_t size, uint8_t address); 284 void writenvram(uint8_t address, uint8_t data); 285 void writenvram(uint8_t address, uint8_t *buf, uint8_t size); 329 static void adjust( const DateTime &dt); 330 bool lostPower( void); 336 void disableAlarm(uint8_t alarm_num); 337 void clearAlarm(uint8_t alarm_num); 338 bool alarmFired(uint8_t alarm_num); 339 void enable32K( void); 340 void disable32K( void); 341 bool isEnabled32K( void); 342 static float getTemperature(); 395 boolean lostPower( void); 396 boolean initialized( void); 403 void enableSecondTimer( void); 404 void disableSecondTimer( void); 406 uint8_t lowPulseWidth); 408 void disableCountdownTimer( void); 409 void deconfigureAllTimers( void); 431 boolean lostPower( void); 454 static void adjust( const DateTime &dt); 459 static uint32_t lastMillis; 480 static void adjust( const DateTime &dt); 481 static void adjustDrift( int ppm); 486 static uint32_t lastUnix; 488 static uint32_t lastMicros;
+ Go to the documentation of this file. 29 #define PCF8523_ADDRESS 0x68 30 #define PCF8523_CLKOUTCONTROL 0x0F 31 #define PCF8523_CONTROL_1 0x00 32 #define PCF8523_CONTROL_2 0x01 33 #define PCF8523_CONTROL_3 0x02 34 #define PCF8523_TIMER_B_FRCTL 0x12 35 #define PCF8523_TIMER_B_VALUE 0x13 36 #define PCF8523_OFFSET 0x0E 37 #define PCF8523_STATUSREG 0x03 39 #define PCF8563_ADDRESS 0x51 40 #define PCF8563_CLKOUTCONTROL 0x0D 41 #define PCF8563_CONTROL_1 0x00 42 #define PCF8563_CONTROL_2 0x01 43 #define PCF8563_VL_SECONDS 0x02 44 #define PCF8563_CLKOUT_MASK 0x83 46 #define DS1307_ADDRESS 0x68 47 #define DS1307_CONTROL 0x07 48 #define DS1307_NVRAM 0x08 50 #define DS3231_ADDRESS 0x68 51 #define DS3231_TIME 0x00 52 #define DS3231_ALARM1 0x07 53 #define DS3231_ALARM2 0x0B 54 #define DS3231_CONTROL 0x0E 55 #define DS3231_STATUSREG 0x0F 56 #define DS3231_TEMPERATUREREG \ 61 #define SECONDS_PER_DAY 86400L 62 #define SECONDS_FROM_1970_TO_2000 \ 85 uint8_t min = 0, uint8_t sec = 0); 87 DateTime( const char *date, const char *time); 88 DateTime( const __FlashStringHelper *date, const __FlashStringHelper *time); 107 uint8_t day() const { return d; } 119 uint8_t isPM() const { return hh >= 12; } 216 TimeSpan(int16_t days, int8_t hours, int8_t minutes, int8_t seconds); 224 int16_t days() const { return _seconds / 86400L; } 231 int8_t hours() const { return _seconds / 3600 % 24; } 238 int8_t minutes() const { return _seconds / 60 % 60; } 245 int8_t seconds() const { return _seconds % 60; } 263 DS1307_SquareWave1HZ = 0x10, 264 DS1307_SquareWave4kHz = 0x11, 265 DS1307_SquareWave8kHz = 0x12, 266 DS1307_SquareWave32kHz = 0x13 277 static void adjust( const DateTime &dt); 278 uint8_t isrunning( void); 282 uint8_t readnvram(uint8_t address); 283 void readnvram(uint8_t *buf, uint8_t size, uint8_t address); 284 void writenvram(uint8_t address, uint8_t data); 285 void writenvram(uint8_t address, uint8_t *buf, uint8_t size); 329 static void adjust( const DateTime &dt); 330 bool lostPower( void); 336 void disableAlarm(uint8_t alarm_num); 337 void clearAlarm(uint8_t alarm_num); 338 bool alarmFired(uint8_t alarm_num); 339 void enable32K( void); 340 void disable32K( void); 341 bool isEnabled32K( void); 342 static float getTemperature(); 395 boolean lostPower( void); 396 boolean initialized( void); 403 void enableSecondTimer( void); 404 void disableSecondTimer( void); 406 uint8_t lowPulseWidth); 408 void disableCountdownTimer( void); 409 void deconfigureAllTimers( void); 431 boolean lostPower( void); 454 static void adjust( const DateTime &dt); 459 static uint32_t lastMillis; 480 static void adjust( const DateTime &dt); 481 static void adjustDrift( int ppm); 486 static uint32_t lastUnix; 488 static uint32_t lastMicros;
DateTime(uint32_t t=SECONDS_FROM_1970_TO_2000) Constructor from Unix time. Definition: RTClib.cpp:185
bool operator<(const DateTime &right) const Test if one DateTime is less (earlier) than another. Definition: RTClib.cpp:671
bool operator<=(const DateTime &right) const Test if one DateTime is less (earlier) than or equal to another. Definition: RTClib.h:175
|