From f92b53775a84fad0264cdbdbdfe4fcce34e0a8a2 Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Tue, 10 Jan 2023 21:56:45 +0000 Subject: deploy: 6b71711079bd35cab61356e7b47c27445fd5eee5 --- watch__rtc_8h_source.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'watch__rtc_8h_source.html') diff --git a/watch__rtc_8h_source.html b/watch__rtc_8h_source.html index 5f71b2b6..e0b1606e 100644 --- a/watch__rtc_8h_source.html +++ b/watch__rtc_8h_source.html @@ -150,7 +150,11 @@ $(function() {
145
148void watch_rtc_disable_all_periodic_callbacks(void);
149
-
151#endif
+
153void watch_rtc_enable(bool en);
+
154
+
158void watch_rtc_freqcorr_write(int16_t value, int16_t sign);
+
159
+
161#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,...
@@ -159,9 +163,11 @@ $(function() {
void watch_rtc_disable_alarm_callback(void)
Disables the alarm callback.
void watch_rtc_register_tick_callback(ext_irq_cb_t callback)
Registers a "tick" callback that will be called once per second.
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_enable(bool en)
Enable/disable RTC while in-flight. This is quite dangerous operation, so we repeat writing register ...
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.
+
void watch_rtc_freqcorr_write(int16_t value, int16_t sign)
Adjusts frequency correction in single register write. Not waiting for syncronisation to save power -...
Definition: watch_rtc.h:44
-- cgit v1.2.3