Commit Graph

1538 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
9dea5035b9 Remove unused 2020-10-31 22:36:02 +01:00
Dario Nieuwenhuis
e2c10fbbb0 update defmt. 2020-10-31 22:05:07 +01:00
Dario Nieuwenhuis
5c575c29e6 cargo fmt 2020-10-31 20:02:16 +01:00
Dario Nieuwenhuis
4cc8bbd06c Remove unsafe from executor api 2020-10-31 16:37:50 +01:00
Dario Nieuwenhuis
e9843c3f0a cargo fmt 2020-10-31 16:37:34 +01:00
Dario Nieuwenhuis
b4a8b03c84 Improve std error compat 2020-10-31 16:37:09 +01:00
Dario Nieuwenhuis
57abd7064d task codegen: use local items instead of non-locals with prefixed names. 2020-10-31 16:36:09 +01:00
Dario Nieuwenhuis
53eb594878 Add Forever 2020-10-31 16:35:42 +01:00
Dario Nieuwenhuis
03bd11ce0d Add Rand trait 2020-10-31 16:35:18 +01:00
Dario Nieuwenhuis
878bfd2b75 Fixes 2020-10-26 12:43:28 +01:00
Dario Nieuwenhuis
a0cc229a3a time: 64bit duration, add some methods 2020-10-26 12:39:53 +01:00
Dario Nieuwenhuis
041a22a958 impl defmt::Format for Instant 2020-10-20 17:04:15 +02:00
Dario Nieuwenhuis
80ce73a2c1 Fix executor hanging in some cases where tasks wake themselves. 2020-10-19 22:08:37 +02:00
Dario Nieuwenhuis
53a064445f defmt feature doesn't really exist here 2020-10-19 21:46:25 +02:00
Dario Nieuwenhuis
a2e73cb549 time: some const fns 2020-10-19 21:25:54 +02:00
Dario Nieuwenhuis
ec4b95579d gpiote: take owned pin but add function to borrow it. 2020-10-19 21:25:54 +02:00
Dario Nieuwenhuis
cd9ecaef57 integrate static-executor, cleanup time module. 2020-10-19 21:25:54 +02:00
Dario Nieuwenhuis
0e1adc58f4 Add AsyncBufReadExt::drain 2020-10-19 21:13:26 +02:00
Dario Nieuwenhuis
58bd708ccb Fix build for std 2020-10-12 14:05:48 +02:00
Dario Nieuwenhuis
33dce24e8a Add gpiote output channel. 2020-09-29 19:18:52 +02:00
Dario Nieuwenhuis
c81d626254 gpiote: take borrow instead of owned pin.
This makes it possible to read the pin while the channel is created.
2020-09-29 04:17:32 +02:00
Dario Nieuwenhuis
32a9b3f4ae impl Format for Duration 2020-09-28 21:50:28 +02:00
Dario Nieuwenhuis
3d64a8abef Add from_secs, from_millis.
Uses a hardcoded tick rate for now.
2020-09-28 21:46:03 +02:00
Dario Nieuwenhuis
68eac3a57c Add multi-priority executor example. 2020-09-26 00:36:02 +02:00
Dario Nieuwenhuis
37d2b440ff Fix rtc using multiple alarms at the same time. 2020-09-26 00:35:25 +02:00
Dario Nieuwenhuis
f88f233e39 Remove executor model (it's not a nice enough abstraction). 2020-09-25 23:42:49 +02:00
Dario Nieuwenhuis
19a89b5c14 Add Clock trait 2020-09-25 23:38:42 +02:00
Dario Nieuwenhuis
cf1d604749 Add support for multi alarm to RTC. 2020-09-25 23:25:49 +02:00
Dario Nieuwenhuis
a734a9ff46 Update README. 2020-09-25 03:50:14 +02:00
Dario Nieuwenhuis
4333105341 Add Executor with timer queue, Timer, Instant, Duration, Alarm. 2020-09-25 03:25:06 +02:00
Dario Nieuwenhuis
05ca563e7d Add clock::Monotonic trait. 2020-09-24 23:26:24 +02:00
Dario Nieuwenhuis
afcf725519 Add rtc_async example 2020-09-24 22:46:00 +02:00
Dario Nieuwenhuis
82e5e3c45f rtc: Add alarm callback. 2020-09-24 22:41:52 +02:00
Dario Nieuwenhuis
f8d63b1f30 Update to static-executor "multi" 2020-09-24 22:04:45 +02:00
Dario Nieuwenhuis
3b39ab07e5 Add 64-bit rtc driver with alarm support. 2020-09-24 19:59:20 +02:00
Dario Nieuwenhuis
4e4241bf90 remove nrf prefix in features, for consistency with nrf-hal 2020-09-24 19:56:47 +02:00
Dario Nieuwenhuis
f9e2cef7f2 Add GPIOTE async hal. 2020-09-23 00:32:49 +02:00
Dario Nieuwenhuis
9a57deef9b First commit 2020-09-22 18:03:43 +02:00