213 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
a2e73cb549 time: some const fns 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
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
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
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
9a57deef9b First commit 2020-09-22 18:03:43 +02:00