diff --git a/group__buttons.html b/group__buttons.html
index 6e38d949..34bd69fb 100644
--- a/group__buttons.html
+++ b/group__buttons.html
@@ -66,8 +66,7 @@ $(function() {
@@ -105,18 +104,6 @@ void
watch_disable_externa
void | watch_register_interrupt_callback (const uint8_t pin, ext_irq_cb_t callback, watch_interrupt_trigger trigger) |
| Configures an external interrupt callback on one of the external interrupt pins. More...
|
|
-
- | __attribute__ ((deprecated("Use watch_register_interrupt_callback or watch_register_extwake_callback instead"))) void watch_register_button_callback(const uint8_t pin |
- |
-
- | __attribute__ ((deprecated("Use watch_enable_external_interrupts instead"))) void watch_enable_buttons(void) |
- |
-
- |
-
-ext_irq_cb_t | callback |
- |
This section covers functions related to the three buttons: Light, Mode and Alarm, as well as external interrupts from devices on the nine-pin connector.
diff --git a/group__deepsleep.html b/group__deepsleep.html
index fe727c11..d62d9b94 100644
--- a/group__deepsleep.html
+++ b/group__deepsleep.html
@@ -95,12 +95,6 @@ Functions |
void | watch_enter_backup_mode (void) |
| Enters the SAM L22's lowest-power mode, BACKUP. More...
|
|
-
- | __attribute__ ((deprecated("Use watch_enter_sleep_mode or watch_enter_deep_sleep_mode instead"))) void watch_enter_shallow_sleep(bool display_on) |
-
|
-
- | __attribute__ ((deprecated("Use watch_enter_backup_mode instead"))) void watch_enter_deep_sleep(void) |
-
|
This section covers functions related to the various sleep modes available to the watch, including Sleep, Deep Sleep, and BACKUP mode.
diff --git a/group__led.html b/group__led.html
index 99419fbb..9d2ea024 100644
--- a/group__led.html
+++ b/group__led.html
@@ -96,12 +96,6 @@ Functions
void
watch_set_led_off (void) |
| Turns both the red and the green LEDs off.
|
|
-
- | __attribute__ ((deprecated("Use watch_enable_leds instead"))) void watch_enable_led(bool unused) |
-
|
-
- | __attribute__ ((deprecated("Use watch_disable_leds instead"))) void watch_disable_led(bool unused) |
-
|
This section covers functions related to the bi-color red/green LED mounted behind the LCD.
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...
|
-
|
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.
-
-
◆ __attribute__() [1/3]
-
-
-
-
-
Returns the system date and time in the provided struct.
-
- Parameters
-
-
- date_time | A pointer to a calendar_date_time struct. It will have with the correct date and time on return. |
-
-
-
-
-
-
-
-
◆ __attribute__() [2/3]
-
-
-
-
-
Registers a "tick" callback that will be called once per second.
-
- Parameters
-
-
- callback | The 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]
-
-
-
-
-
Sets the system date and time.
-
- Parameters
-
-
- date_time | A struct representing the date and time you wish to set. |
-
-
-
-
-
-
◆ watch_rtc_disable_matching_periodic_callbacks()
diff --git a/group__uart.html b/group__uart.html
index 9ce99592..b1bd5e8b 100644
--- a/group__uart.html
+++ b/group__uart.html
@@ -83,70 +83,10 @@ Functions
char | watch_uart_getc (void) |
| Receives a single byte from the UART's RX pin. More...
|
|
-
| __attribute__ ((deprecated("Use watch_enable_uart to enable the UART."))) void watch_enable_debug_uart(uint32_t baud) |
-
| Initializes the debug UART. More...
|
-
|
-
| __attribute__ ((deprecated("Use watch_uart_puts to print to the UART, or printf to log debug messages over USB."))) void watch_debug_putc(char c) |
-
| Outputs a single character on the debug UART. More...
|
-
|
This section covers functions related to the UART peripheral.
-
-
◆ __attribute__() [1/2]
-
-
-
-
-
- __attribute__ |
- ( |
- (deprecated("Use watch_enable_uart to enable the UART.")) |
- | ) |
- |
-
-
-
-
-
Initializes the debug UART.
-
- Parameters
-
-
-
-
-
-
-
-
-
◆ __attribute__() [2/2]
-
-
-
-
-
- __attribute__ |
- ( |
- (deprecated("Use watch_uart_puts to print to the UART, or printf to log debug messages over USB.")) |
- | ) |
- |
-
-
-
-
-
Outputs a single character on the debug UART.
-
Outputs a string on the debug UART.
-
- Parameters
-
-
- c | The character you wish to output. |
- s | A null-terminated string. |
-
-
-
-
-
-
◆ watch_enable_uart()
diff --git a/search/all_0.js b/search/all_0.js
index 70fa73f9..747cc8e9 100644
--- a/search/all_0.js
+++ b/search/all_0.js
@@ -1,5 +1,4 @@
var searchData=
[
- ['_5f_5fattribute_5f_5f_0',['__attribute__',['../group__rtc.html#ga98366c1b71e09089b441d704193bb0d4',1,'__attribute__((deprecated("Use watch_rtc_set_date_time function instead"))) void watch_set_date_time(struct calendar_date_time date_time): watch_rtc.h'],['../group__rtc.html#ga7ce8c01a25eb364efb7ae6ed6dbca373',1,'__attribute__((deprecated("Use the watch_rtc_get_date_time function instead"))) void watch_get_date_time(struct calendar_date_time *date_time): watch_rtc.h'],['../group__rtc.html#ga811201003a3985a040f1f6bd3c5a69eb',1,'__attribute__((deprecated("Use the watch_rtc_register_tick_callback function instead"))) void watch_register_tick_callback(ext_irq_cb_t callback): watch_rtc.h'],['../group__uart.html#gab9e48ca472abf422d1e6389f371d8fbf',1,'__attribute__((deprecated("Use watch_enable_uart to enable the UART."))) void watch_enable_debug_uart(uint32_t baud): watch_uart.h'],['../group__uart.html#ga42455c49e1756fc2eabbabec6f0bd530',1,'__attribute__((deprecated("Use watch_uart_puts to print to the UART, or printf to log debug messages over USB."))) void watch_debug_putc(char c): watch_uart.h']]],
- ['_5fwatch_5frtc_5fis_5fenabled_1',['_watch_rtc_is_enabled',['../group__rtc.html#ga3ac65a314540ae8b7be5b9015785d565',1,'watch_rtc.h']]]
+ ['_5fwatch_5frtc_5fis_5fenabled_0',['_watch_rtc_is_enabled',['../group__rtc.html#ga3ac65a314540ae8b7be5b9015785d565',1,'watch_rtc.h']]]
];
diff --git a/search/functions_0.js b/search/functions_0.js
index 70fa73f9..747cc8e9 100644
--- a/search/functions_0.js
+++ b/search/functions_0.js
@@ -1,5 +1,4 @@
var searchData=
[
- ['_5f_5fattribute_5f_5f_0',['__attribute__',['../group__rtc.html#ga98366c1b71e09089b441d704193bb0d4',1,'__attribute__((deprecated("Use watch_rtc_set_date_time function instead"))) void watch_set_date_time(struct calendar_date_time date_time): watch_rtc.h'],['../group__rtc.html#ga7ce8c01a25eb364efb7ae6ed6dbca373',1,'__attribute__((deprecated("Use the watch_rtc_get_date_time function instead"))) void watch_get_date_time(struct calendar_date_time *date_time): watch_rtc.h'],['../group__rtc.html#ga811201003a3985a040f1f6bd3c5a69eb',1,'__attribute__((deprecated("Use the watch_rtc_register_tick_callback function instead"))) void watch_register_tick_callback(ext_irq_cb_t callback): watch_rtc.h'],['../group__uart.html#gab9e48ca472abf422d1e6389f371d8fbf',1,'__attribute__((deprecated("Use watch_enable_uart to enable the UART."))) void watch_enable_debug_uart(uint32_t baud): watch_uart.h'],['../group__uart.html#ga42455c49e1756fc2eabbabec6f0bd530',1,'__attribute__((deprecated("Use watch_uart_puts to print to the UART, or printf to log debug messages over USB."))) void watch_debug_putc(char c): watch_uart.h']]],
- ['_5fwatch_5frtc_5fis_5fenabled_1',['_watch_rtc_is_enabled',['../group__rtc.html#ga3ac65a314540ae8b7be5b9015785d565',1,'watch_rtc.h']]]
+ ['_5fwatch_5frtc_5fis_5fenabled_0',['_watch_rtc_is_enabled',['../group__rtc.html#ga3ac65a314540ae8b7be5b9015785d565',1,'watch_rtc.h']]]
];
diff --git a/watch__deepsleep_8h_source.html b/watch__deepsleep_8h_source.html
index 8636c9b4..3efd8a67 100644
--- a/watch__deepsleep_8h_source.html
+++ b/watch__deepsleep_8h_source.html
@@ -118,12 +118,7 @@ $(function() {
-
154__attribute__((deprecated(
"Use watch_enter_sleep_mode or watch_enter_deep_sleep_mode instead")))
-
155void watch_enter_shallow_sleep(
bool display_on);
-
-
-
158void watch_enter_deep_sleep(
void);
-
+
uint32_t watch_get_backup_data(uint8_t reg)
Gets 32 bits of data from the RTC's BACKUP register.
void watch_store_backup_data(uint32_t data, uint8_t reg)
Stores data in one of the RTC's backup registers, which retain their data in BACKUP mode.
void watch_enter_backup_mode(void)
Enters the SAM L22's lowest-power mode, BACKUP.
diff --git a/watch__extint_8h_source.html b/watch__extint_8h_source.html
index 68353b31..6a6a585c 100644
--- a/watch__extint_8h_source.html
+++ b/watch__extint_8h_source.html
@@ -113,12 +113,7 @@ $(function() {
-
79__attribute__((deprecated(
"Use watch_register_interrupt_callback or watch_register_extwake_callback instead")))
-
80void watch_register_button_callback(const uint8_t pin, ext_irq_cb_t callback);
-
-
-
83void watch_enable_buttons(
void);
-
+
diff --git a/watch__led_8h_source.html b/watch__led_8h_source.html
index 386461eb..8a9f19a9 100644
--- a/watch__led_8h_source.html
+++ b/watch__led_8h_source.html
@@ -113,12 +113,7 @@ $(function() {
-
87__attribute__((deprecated(
"Use watch_enable_leds instead")))
-
88void watch_enable_led(
bool unused);
-
-
-
91void watch_disable_led(
bool unused);
-
+
void watch_set_led_color(uint8_t red, uint8_t green)
Sets the LED to a custom color by modulating each output's duty cycle.
void watch_set_led_red(void)
Sets the red LED to full brightness, and turns the green LED off.
void watch_set_led_yellow(void)
Sets both red and green LEDs to full brightness.
diff --git a/watch__rtc_8h_source.html b/watch__rtc_8h_source.html
index 8016cfe0..95f05738 100644
--- a/watch__rtc_8h_source.html
+++ b/watch__rtc_8h_source.html
@@ -143,16 +143,7 @@ $(function() {
-
-
154void watch_set_date_time(struct calendar_date_time date_time);
-
-
-
160void watch_get_date_time(struct calendar_date_time *date_time);
-
-
-
167void watch_register_tick_callback(ext_irq_cb_t callback);
-
-
+
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,...
@@ -160,7 +151,6 @@ $(function() {
void watch_rtc_disable_tick_callback(void)
Disables the tick callback for the given period.
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.
-
__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.
diff --git a/watch__uart_8h_source.html b/watch__uart_8h_source.html
index 83c579ac..372a7674 100644
--- a/watch__uart_8h_source.html
+++ b/watch__uart_8h_source.html
@@ -105,21 +105,10 @@ $(function() {
-
-
-
-
61void watch_enable_debug_uart(uint32_t baud);
-
-
-
67void watch_debug_putc(
char c);
-
-
-
73void watch_debug_puts(
char *s);
-
+
char watch_uart_getc(void)
Receives a single byte from the UART's RX pin.
void watch_enable_uart(const uint8_t tx_pin, const uint8_t rx_pin, uint32_t baud)
Initializes the debug UART.
void watch_uart_puts(char *s)
Transmits a string of bytes on the UART's TX pin.
-
__attribute__((deprecated("Use watch_enable_uart to enable the UART."))) void watch_enable_debug_uart(uint32_t baud)
Initializes the debug UART.