From 434bcfcb9c990a849c828704a9bf2d268158e5e8 Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Sun, 10 Apr 2022 22:14:23 +0000 Subject: deploy: 6e9e264c65f30e4046efbf27ebe801cd1f338122 --- group__rtc.html | 87 --------------------------------------------------------- 1 file changed, 87 deletions(-) (limited to 'group__rtc.html') diff --git a/group__rtc.html b/group__rtc.html index 84d39c58..df0bb0c4 100644 --- a/group__rtc.html +++ b/group__rtc.html @@ -141,98 +141,11 @@ void watch_rtc_disable_tic void watch_rtc_disable_all_periodic_callbacks (void)  Disables all periodic callbacks, including the once-per-second tick callback.
  - __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. More...
-  - __attribute__ ((deprecated("Use the watch_rtc_get_date_time function instead"))) void watch_get_date_time(struct calendar_date_time *date_time) - Returns the system date and time in the provided struct. More...
-  - __attribute__ ((deprecated("Use the watch_rtc_register_tick_callback function instead"))) void watch_register_tick_callback(ext_irq_cb_t callback) - Registers a "tick" callback that will be called once per second. More...

Detailed Description

This section covers functions related to the SAM L22's real-time clock peripheral, including date, time and alarm functions.

The real-time clock is the only peripheral that main.c enables for you. It is the cornerstone of low power operation on the watch, and it is required for several key functions that we assume will be available, namely the wake from BACKUP mode and the callback on the ALARM button. It is also required for the operation of the 1 Hz tick interrupt, which you will most likely use to wake from STANDBY mode.

Function Documentation

- -

◆ __attribute__() [1/3]

- -
-
- - - - - - - - -
__attribute__ ((deprecated("Use the watch_rtc_get_date_time function instead")) )
-
- -

Returns the system date and time in the provided struct.

-
Parameters
- - -
date_timeA pointer to a calendar_date_time struct. It will have with the correct date and time on return.
-
-
- -
-
- -

◆ __attribute__() [2/3]

- -
-
- - - - - - - - -
__attribute__ ((deprecated("Use the watch_rtc_register_tick_callback function instead")) )
-
- -

Registers a "tick" callback that will be called once per second.

-
Parameters
- - -
callbackThe function you wish to have called when the clock ticks. If you pass in NULL, the tick interrupt will still be enabled, but no callback function will be called.
-
-
- -
-
- -

◆ __attribute__() [3/3]

- -
-
- - - - - - - - -
__attribute__ ((deprecated("Use watch_rtc_set_date_time function instead")) )
-
- -

Sets the system date and time.

-
Parameters
- - -
date_timeA struct representing the date and time you wish to set.
-
-
- -
-

◆ watch_rtc_disable_matching_periodic_callbacks()

-- cgit v1.2.3