add attachAlarmInterrupt and detachAlarmInterrupt
This commit is contained in:
parent
7752fc68f2
commit
a87ad87fa7
|
@ -78,6 +78,10 @@ class RTClock {
|
||||||
void attachSecondsInterrupt(voidFuncPtr function);
|
void attachSecondsInterrupt(voidFuncPtr function);
|
||||||
void detachSecondsInterrupt();
|
void detachSecondsInterrupt();
|
||||||
|
|
||||||
|
void attachAlarmInterrupt(voidFuncPtr function);
|
||||||
|
void attachAlarmInterrupt(voidFuncPtr function, time_t alarm_time);
|
||||||
|
void detachAlarmInterrupt();
|
||||||
|
|
||||||
void setAlarmTime (tm_t & tm_ptr);
|
void setAlarmTime (tm_t & tm_ptr);
|
||||||
void setAlarmTime (time_t alarm_time);
|
void setAlarmTime (time_t alarm_time);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue