Dario Nieuwenhuis
f02ba35482
Remove PeripheralRef::into_inner()
2022-07-23 14:27:45 +02:00
Dario Nieuwenhuis
4901c34d9c
Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral
2022-07-23 14:00:19 +02:00
Grant Miller
bff0ad9286
Update embassy-rp
2022-07-23 01:33:22 +02:00
Henrik Alsér
85e67d94ad
impl SetConfig for rp2040 SPI
2022-07-09 00:32:55 +02:00
Dario Nieuwenhuis
a8703b7598
Run rustfmt.
2022-06-12 22:22:31 +02:00
Dario Nieuwenhuis
5085100df2
Add embassy-cortex-m crate.
...
- Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`.
- Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore)
- Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`.
2022-06-12 21:45:38 +02:00
Dario Nieuwenhuis
9bad9365dc
Update rust nightly, embedded-hal 1.0, embedded-hal-async.
2022-03-11 00:38:07 +01:00
Dario Nieuwenhuis
d9aec181a4
rp: impl eh1.0 blocking traits
2022-02-15 17:29:05 +01:00
Dario Nieuwenhuis
0c9b1abb67
rp: remove OptionalPin
2022-02-12 01:34:41 +01:00
Dario Nieuwenhuis
a8bd3ab952
Add missing + 'd
on unborrows.
2022-02-10 16:06:42 +01:00
Dario Nieuwenhuis
7bfb763e09
Rename embassy-extras to embassy-hal-common
2021-07-29 13:44:51 +02:00
Dario Nieuwenhuis
da33b3a4d2
rp/spi: disable+enable when setting frequency
2021-07-20 09:43:06 +02:00
Dario Nieuwenhuis
dbff5cc232
rp/spi: properly drain the rx buffer while writing
2021-07-20 09:42:52 +02:00
Dario Nieuwenhuis
1a4c13cf26
rp/spi: add set_frequency
2021-07-12 03:45:57 +02:00
Dario Nieuwenhuis
17e31eb903
rp/spi: sane prescaler calculation
2021-07-11 23:47:33 +02:00
Dario Nieuwenhuis
53c236fde8
rp/spi: add configurable pha/pol
2021-06-30 23:46:00 +02:00
Dario Nieuwenhuis
f073bdfe43
rp/spi: add Transfer
2021-06-30 23:46:00 +02:00
Dario Nieuwenhuis
749f4838d5
rp/gpio: add optional pins
2021-06-30 22:43:15 +02:00
Dario Nieuwenhuis
88bc2972f6
rp/spi: add write-only spi driver
2021-06-25 06:24:14 +02:00