#include <modm/driver/rtc/ds1302.hpp>
 | 
| 
static void  | initialize () | 
|   | 
| 
static void  | writeByte (uint8_t byte) | 
|   | 
| 
static void  | write (const uint8_t addr, const uint8_t data) | 
|   | 
| 
static uint8_t  | read (const uint8_t addr) | 
|   | 
| 
static void  | writeProtect (const bool wp) | 
|   | Set or reset the write protect. Write protection must be disabled before any write to the device. 
  | 
|   | 
| 
static void  | enableOscillator () | 
|   | Enable the oscillator of RTC. Write protection must be disabled before. 
  | 
|   | 
| 
static void  | readRtc (ds1302::Data &data) | 
|   | 
 | 
| 
static constexpr std::chrono::microseconds  | DELAY_CE {4} | 
|   | Required CE to CLK Setup Time can be as long as 4 usec and 2 Volts. 
  | 
|   | 
| 
static constexpr std::chrono::microseconds  | DELAY_CLK {1} | 
|   | Required CLK Low/High Time can be as long as 1 usec and 2 Volts. 
  | 
|   | 
template<class PinSet>
class modm::ds1302< PinSet >
Realtime clock DS1302
- Author
 - Sascha Schade (strongly-typed) 
 
The documentation for this class was generated from the following file: