xoviat
2e6f4237f2
stm32: cleanup psc design
2023-09-03 11:40:34 -05:00
xoviat
21681d8b4e
rustfmt
2023-08-29 19:44:43 -05:00
xoviat
989c98f316
stm32/rtc: autocompute prescalers
2023-08-29 19:41:03 -05:00
xoviat
b315c28d4e
stm32/rtc: remove rtc-debug and asbtract exti wakeup
2023-08-28 15:30:29 -05:00
xoviat
2c80784fe6
stm32/rtc: feature-gate instant
2023-08-27 21:26:29 -05:00
xoviat
538001a4bc
stm32/rtc: fix psc div
2023-08-27 21:24:16 -05:00
xoviat
e981cd4968
stm32: fix rtc wakeup timing and add dbg
2023-08-27 21:15:57 -05:00
xoviat
9f928010a8
stm32/rtc: use psc to compute instants
2023-08-27 16:06:33 -05:00
xoviat
f77a7fe4bf
Merge branch 'main' of https://github.com/aidant/embassy into rtc
2023-08-27 15:23:25 -05:00
xoviat
fb942e6675
stm32: re-export rtcclocksource
2023-08-27 09:25:14 -05:00
xoviat
4caa8497fc
stm32: extract backupdomain into mod
2023-08-27 09:07:34 -05:00
aidant
59a5e84df5
fix day of the week conversion
2023-08-27 18:36:35 +10:00
xoviat
94de1a5353
stm32: feature-gate wakeup alarm
2023-08-26 20:40:21 -05:00
xoviat
1e430f7413
stm32: complete stop impl.
2023-08-26 20:31:12 -05:00
xoviat
2897670f24
stm32: get the basic lp working
2023-08-26 19:23:25 -05:00
xoviat
cda4047310
stm32: flesh out lp executor
2023-08-24 19:29:11 -05:00
xoviat
e987259716
rtc: cleanup
2023-08-23 20:01:35 -05:00
xoviat
fc04d2a33c
rtc: get wakup irq working
2023-08-23 19:52:32 -05:00
xoviat
1ea4c58c39
stm32: impl. draft cfgr pwr
2023-08-22 20:00:00 -05:00
xoviat
faab2d0d53
stm32: add executor to low-power mod
2023-08-22 17:31:40 -05:00
xoviat
7d6edd7b15
Merge branch 'main' of https://github.com/embassy-rs/embassy into rtc-lp
2023-08-22 16:58:43 -05:00
xoviat
9e3266b745
rtc: make fns private
2023-08-22 16:58:19 -05:00
xoviat
048bdf6968
stm32/rtc: allow dead code
2023-08-22 16:48:08 -05:00
xoviat
8878ce046c
rtc: fix rtcinstant delay computation
2023-08-21 18:33:10 -05:00
xoviat
7148397771
stm32/rtc: misc fixes
2023-08-21 18:00:49 -05:00
xoviat
f723982bec
rtc: impl. draft rtcinstant api
2023-08-21 17:44:38 -05:00
xoviat
3a3f3b492f
rustfmt
2023-08-10 19:14:55 -05:00
xoviat
b69861013a
stm32/rtc: implement stop_wakeup_alarm
2023-08-10 19:13:48 -05:00
xoviat
a0c69ffe02
stm32/rtc: autocompute wakeup psc.
2023-08-10 18:59:18 -05:00
xoviat
0705152105
stm32/rtc: add start/stop wakeup
2023-08-09 20:15:14 -05:00
xoviat
6fc5c608f8
stm32/rtc: remove generics and segregate clock sel
2023-08-08 19:47:01 -05:00
xoviat
ae608cf2fa
stm32: fix rtc and examples
2023-08-06 12:06:29 -05:00
xoviat
28618d12a1
stm32/rtc: restructure
2023-08-06 11:58:28 -05:00
xoviat
66c1712118
stm32/rtc: enable in rcc mod
2023-08-06 11:11:53 -05:00
Scott Mabin
e8d3e86591
stm32f2: Avoid resetting rtc backup domain
...
Also ensure the pwr is enabled before trying to initialize. For the F2
series this is in a seperate clock control register.
2023-07-30 21:22:48 +01:00
Dario Nieuwenhuis
036e6ae30c
Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. ( #1700 )
2023-07-28 13:23:22 +02:00
Phil Markgraf
3bae533066
Enable RTC on STM32WL chips ( #1645 )
...
* Add clippy allow to not report if same then branch
* Support enabling RTC clock on STM32WL
* Add clippy allow to not report if same then branch
* Support enabling RTC clock on STM32WL
* Add rtc example for stm32wl
* Address code review feedback
2023-07-15 13:40:23 +02:00
Dario Nieuwenhuis
e892014b65
Update stm32-metapac, includes chiptool changes to use real Rust enums now.
2023-06-29 02:01:33 +02:00
Dario Nieuwenhuis
558918651e
stm32: update stm32-metapac.
2023-06-19 03:22:12 +02:00
Dario Nieuwenhuis
7fcded5705
stm32/rtc: fix build failure in some L4s
2023-05-31 20:03:52 +02:00
Rasmus Melchior Jacobsen
963f3e3059
Align with updated stm32 metapac
2023-05-25 16:06:02 +02:00
xoviat
0d82ebea29
stm32/rtc: fix datetime and add f4 test
2023-04-25 17:35:01 -05:00
xoviat
e24421a393
stm32/rtc: impl. functions on trait
2023-04-18 20:38:51 -05:00
xoviat
4de4039417
stm32/rtc: build more chips
2023-04-18 20:38:28 -05:00
xoviat
f589247c1f
stm32/rtc: cleanup and consolidate
2023-04-18 20:38:18 -05:00
xoviat
27ec29e2c5
stm32/rtc: remove unused import
2023-04-16 19:32:15 -05:00
xoviat
90c1422381
stm32/rtc: remove chrono datetime and add converters
2023-04-16 19:30:42 -05:00
Mathias
5e74926907
feature-gate variants without vals defined
2023-02-13 15:46:49 +01:00
Mathias
86113e199f
Remove unused feature gate
2022-10-11 10:35:43 +02:00
Mathias
9223b67306
Fix RTC for v2l0 & v2l1
2022-10-11 10:28:28 +02:00