FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
ds1307.h File Reference

API to handle Real-Time Clock DS1307 I2C chip. More...

#include "../array.h"
#include "../bits.h"
#include "../i2c.h"
#include "../functors.h"
#include "../future.h"
#include "../utilities.h"
#include "../i2c_device.h"
#include "../i2c_device_utilities.h"
Include dependency graph for ds1307.h:

Go to the source code of this file.

Classes

struct  devices::rtc::tm
 The datetime structure used by the RTC API. More...
 
class  devices::rtc::DS1307< MANAGER >
 I2C device driver for the DS1307 RTC chip. More...
 
class  devices::rtc::DS1307< MANAGER >::SetRamFuture< SIZE_ >
 Create a future to be used by asynchronous method set_ram(SetRamFuture<SIZE>&). More...
 
class  devices::rtc::DS1307< MANAGER >::SetRam1Future
 Create a future to be used by asynchronous method set_ram(SetRam1Future&). More...
 
class  devices::rtc::DS1307< MANAGER >::GetRamFuture< SIZE_ >
 Create a future to be used by asynchronous method get_ram(GetRamFuture<SIZE>&). More...
 
class  devices::rtc::DS1307< MANAGER >::GetRam1Future
 Create a future to be used by asynchronous method get_ram(GetRam1Future&). More...
 
class  devices::rtc::DS1307< MANAGER >::HaltClockFuture
 Create a future to be used by asynchronous method halt_clock(HaltClockFuture&). More...
 
class  devices::rtc::DS1307< MANAGER >::EnableOutputFuture
 Create a future to be used by asynchronous method enable_output(EnableOutputFuture&). More...
 
class  devices::rtc::DS1307< MANAGER >::DisableOutputFuture
 Create a future to be used by asynchronous method disable_output(DisableOutputFuture&). More...
 

Namespaces

namespace  devices
 Defines all API for all external devices supported by FastArduino.
 
namespace  devices::rtc
 Defines API for Real-Time Clock chips usage.
 

Enumerations

enum class  devices::rtc::WeekDay : uint8_t {
  SUNDAY = 1 ,
  MONDAY ,
  TUESDAY ,
  WEDNESDAY ,
  THURSDAY ,
  FRIDAY ,
  SATURDAY
}
 Days of the week. More...
 
enum class  devices::rtc::SquareWaveFrequency : uint8_t {
  FREQ_1HZ = 0x00 ,
  FREQ_4096HZ = 0x01 ,
  FREQ_8192HZ = 0x02 ,
  FREQ_32768HZ = 0x03
}
 The possible frequencies that can be generated by DS1307 RTC SQW/OUT pin. More...
 

Detailed Description

API to handle Real-Time Clock DS1307 I2C chip.

Definition in file ds1307.h.