#include <rtc.h>
Protected Member Functions |
unsigned char | rtc_read (unsigned index) |
Protected Attributes |
unsigned | _iobase |
Member Enumeration Documentation
Constructor & Destructor Documentation
Member Function Documentation
unsigned char BasicRtc::rtc_read |
( |
unsigned |
index | ) |
|
|
inlineprotected |
void BasicRtc::rtc_sync |
( |
Clock * |
clock | ) |
|
|
inline |
We wait for an update to happen to get a more accurate timing.
Instead of triggering on the UIP flag, which is typically enabled for less than 2ms, we wait on the Update-Ended-Flag which is set on the falling edge of the UIP flag and sticky until read out.
Return seconds*FREQUENCY since epoch.
Member Data Documentation
unsigned BasicRtc::_iobase |
|
protected |
The documentation for this class was generated from the following file: