From cb467690fc3a5624a457d48da85a0ebd117e9872 Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Thu, 27 Jan 2022 19:34:08 +0000 Subject: deploy: 932e10529d84872a0df6d182c721614dbf7ff8d2 --- watch__rtc_8h_source.html | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'watch__rtc_8h_source.html') diff --git a/watch__rtc_8h_source.html b/watch__rtc_8h_source.html index 9f7fba7e..1bc77f9b 100644 --- a/watch__rtc_8h_source.html +++ b/watch__rtc_8h_source.html @@ -140,18 +140,20 @@ $(function() {
134 
138 void watch_rtc_disable_periodic_callback(uint8_t frequency);
139 
-
142 void watch_rtc_disable_all_periodic_callbacks(void);
-
143 
-
147 __attribute__((deprecated("Use watch_rtc_set_date_time function instead")))
-
148 void watch_set_date_time(struct calendar_date_time date_time);
+
144 void watch_rtc_disable_matching_periodic_callbacks(uint8_t mask);
+
145 
+
148 void watch_rtc_disable_all_periodic_callbacks(void);
149 
-
153 __attribute__((deprecated("Use the watch_rtc_get_date_time function instead")))
-
154 void watch_get_date_time(struct calendar_date_time *date_time);
+
153 __attribute__((deprecated("Use watch_rtc_set_date_time function instead")))
+
154 void watch_set_date_time(struct calendar_date_time date_time);
155 
-
160 __attribute__((deprecated("Use the watch_rtc_register_tick_callback function instead")))
-
161 void watch_register_tick_callback(ext_irq_cb_t callback);
-
162 
-
164 #endif
+
159 __attribute__((deprecated("Use the watch_rtc_get_date_time function instead")))
+
160 void watch_get_date_time(struct calendar_date_time *date_time);
+
161 
+
166 __attribute__((deprecated("Use the watch_rtc_register_tick_callback function instead")))
+
167 void watch_register_tick_callback(ext_irq_cb_t callback);
+
168 
+
170 #endif
void watch_rtc_disable_all_periodic_callbacks(void)
Disables all periodic callbacks, including the once-per-second tick callback.
watch_date_time watch_rtc_get_date_time(void)
Returns the date and time.
bool _watch_rtc_is_enabled(void)
Called by main.c to check if the RTC is enabled. You may call this function, but outside of app_init,...
@@ -161,6 +163,7 @@ $(function() {
void watch_rtc_register_tick_callback(ext_irq_cb_t callback)
Registers a "tick" callback that will be called once per second.
__attribute__((deprecated("Use watch_rtc_set_date_time function instead"))) void watch_set_date_time(struct calendar_date_time date_time)
Sets the system date and time.
void watch_rtc_register_alarm_callback(ext_irq_cb_t callback, watch_date_time alarm_time, watch_rtc_alarm_match mask)
Registers an alarm callback that will be called when the RTC time matches the target time,...
+
void watch_rtc_disable_matching_periodic_callbacks(uint8_t mask)
Disables tick callbacks for the given periods (as a bitmask).
void watch_rtc_set_date_time(watch_date_time date_time)
Sets the date and time.
void watch_rtc_register_periodic_callback(ext_irq_cb_t callback, uint8_t frequency)
Registers a callback that will be called at a configurable period.
Definition: watch_rtc.h:44
-- cgit v1.2.3