Alessandro Gatti
e8c3f31ba2
mimxrt/machine_rtc: Deprecate RTC.cancel in MicroPython v2.
...
The current documentation for the `machine.RTC` class contains information
about the `RTC.cancel` method for cancelling pending alarms.
However only two ports (cc3200 and mimxrt) implement this functionality
but under a different name: `RTC.alarm_cancel`. The mimxrt port also
implements `RTC.cancel` but it is aliased to `RTC.alarm_cancel` anyway.
To maintain naming consistency, this commit updates the documentation to
officially define `RTC.alarm_cancel` as the method to call to cancel
pending alarms and deprecates mimxrt's `RTC.cancel` implementation.
`RTC.cancel` in the mimxrt port is thus scheduled for removal in
MicroPython v2.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it >
2024-12-10 12:16:03 +11:00
..
2017-11-10 00:09:43 +02:00
2023-04-27 18:03:06 +10:00
2024-05-15 14:13:30 +10:00
2024-12-03 22:22:55 +11:00
2024-11-30 13:08:33 +11:00
2022-06-21 00:44:49 +10:00
2024-11-19 10:58:00 +11:00
2017-07-02 15:37:31 +03:00
2024-03-19 10:09:11 +11:00
2021-08-13 22:53:29 +10:00
2023-09-01 12:23:37 +10:00
2021-08-13 22:53:29 +10:00
2024-02-07 13:25:09 +11:00
2023-11-22 16:48:35 +11:00
2024-11-28 15:39:06 +11:00
2022-11-17 23:18:22 +11:00
2023-09-15 12:19:13 +10:00
2023-07-21 19:32:42 +10:00
2021-08-13 22:53:29 +10:00
2021-12-15 11:49:22 +11:00
2024-03-15 18:11:28 +11:00
2023-10-16 23:07:13 +11:00
2021-08-13 22:53:29 +10:00
2021-12-15 11:49:22 +11:00
2023-04-27 18:03:06 +10:00
2024-03-07 16:25:17 +11:00
2021-12-15 11:49:22 +11:00
2023-04-27 18:03:06 +10:00
2023-06-19 18:36:54 +10:00
2024-09-19 12:04:39 +10:00
2024-03-07 16:25:17 +11:00
2024-11-19 10:57:26 +11:00
2024-12-10 12:16:03 +11:00
2024-02-07 13:25:10 +11:00
2024-02-07 13:25:10 +11:00
2020-10-20 17:21:30 +11:00
2023-04-27 18:03:06 +10:00
2023-04-27 18:03:06 +10:00
2024-11-30 13:08:33 +11:00
2024-10-22 10:17:05 +11:00
2024-11-19 10:57:26 +11:00
2023-06-23 15:34:49 +10:00
2024-09-17 11:22:26 +10:00
2024-09-19 18:00:44 +10:00
2024-08-01 12:04:58 +10:00
2024-07-05 16:06:04 +10:00
2024-11-13 13:10:58 +11:00
2024-08-29 23:47:55 +10:00
2024-07-05 16:06:04 +10:00
2024-11-28 15:39:06 +11:00
2024-07-05 16:06:04 +10:00
2024-03-15 18:11:28 +11:00
2024-02-07 13:25:09 +11:00
2023-09-04 22:40:56 +10:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2023-04-27 18:03:06 +10:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2024-02-07 13:25:09 +11:00
2023-04-27 18:03:06 +10:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2022-07-29 12:16:32 +10:00
2024-11-19 10:57:26 +11:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2024-11-30 13:08:33 +11:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2023-06-08 17:54:11 +10:00
2021-08-13 22:53:29 +10:00
2024-03-19 17:10:54 +11:00
2024-02-07 13:25:09 +11:00
2024-10-15 12:09:48 +11:00
2024-03-19 17:10:54 +11:00
2024-03-19 17:10:54 +11:00
2021-08-13 22:53:29 +10:00
2023-01-13 17:40:01 +11:00
2024-02-05 13:05:29 +11:00
2023-08-23 11:58:11 +10:00
2024-03-20 14:13:49 +11:00
2024-11-19 10:58:00 +11:00
2023-04-27 18:03:06 +10:00
2021-08-13 22:53:29 +10:00
2024-02-07 13:25:09 +11:00
2015-10-21 15:30:56 +02:00
2023-10-03 11:24:50 +11:00
2024-02-07 13:25:09 +11:00
2024-02-07 13:25:09 +11:00
2023-04-27 18:03:06 +10:00
2021-08-13 20:21:14 +10:00
2023-07-21 19:32:42 +10:00