MCPcopy Create free account

hub / github.com/JChristensen/DS3232RTC / functions

Functions21 in github.com/JChristensen/DS3232RTC

MethodDS3232RTC
src/DS3232RTC.h:135
MethodGenericRTC
src/GenericRTC.h:19
Methodalarm
Returns true or false depending on whether the given alarm has been triggered, and resets the alarm flag bit.
src/DS3232RTC.cpp:183
MethodalarmInterrupt
Enable or disable an alarm "interrupt" which asserts the INT pin on the RTC.
src/DS3232RTC.cpp:168
Methodbcd2dec
BCD-to-Decimal conversion
src/DS3232RTC.cpp:277
Methodbegin
Initialize the I2C bus.
src/DS3232RTC.cpp:12
MethodcheckAlarm
Returns true or false depending on whether the given alarm has been triggered, without resetting the alarm flag bit.
src/DS3232RTC.cpp:199
MethodclearAlarm
Clears the given alarm flag bit if it is set. Returns the value of the flag bit before if was cleared.
src/DS3232RTC.cpp:208
Methoddec2bcd
Decimal-to-BCD conversion
src/DS3232RTC.cpp:271
Methodenable32kHz
Enable or disable the 32kHz output.
src/DS3232RTC.cpp:235
Methodget
Read the current time from the RTC and return it as a time_t value. Returns a zero value if an I2C error occurred (e.g. RTC not present).
src/DS3232RTC.cpp:20
MethodoscStopped
Returns the value of the oscillator stop flag (OSF) bit in the control/status register which indicates that the oscillator is or was stopped, and that
src/DS3232RTC.cpp:247
Methodread
Read the current time from the RTC and return it in a tmElements_t structure. Returns the I2C status (zero if successful).
src/DS3232RTC.cpp:41
MethodreadRTC
Read multiple bytes from RTC RAM. Valid address range is 0x00 - 0xFF, no checking. Number of bytes (nBytes) must be between 1 and 32 (Wire library lim
src/DS3232RTC.cpp:104
Methodset
Set the RTC to the given time_t value and clear the oscillator stop flag (OSF) in the Control/Status register. Returns the I2C status (zero if success
src/DS3232RTC.cpp:31
MethodsetAlarm
Set an alarm time. Sets the alarm registers only. To cause the INT pin to be asserted on alarm match, use alarmInterrupt(). This method can set eithe
src/DS3232RTC.cpp:130
MethodsquareWave
Enable or disable the square wave output. Use a value from the SQWAVE_FREQS_t enumeration for the parameter.
src/DS3232RTC.cpp:222
Methodtemperature
src/GenericRTC.h:27
Methodtemperature
Returns the temperature in Celsius times four.
src/DS3232RTC.cpp:258
Methodwrite
Set the RTC time from a tmElements_t structure and clear the oscillator stop flag (OSF) in the Control/Status register. Returns the I2C status (zero i
src/DS3232RTC.cpp:61
MethodwriteRTC
Write multiple bytes to RTC RAM. Valid address range is 0x00 - 0xFF, no checking. Number of bytes (nBytes) must be between 1 and 31 (Wire library limi
src/DS3232RTC.cpp:83