Dario Nieuwenhuis
|
a287fef687
|
nrf/spim: expose all functionality as inherent methods.
|
2022-01-13 23:56:39 +01:00 |
|
Dario Nieuwenhuis
|
7086642ce4
|
nrf/spim: share code between blocking+async.
|
2022-01-13 19:53:12 +01:00 |
|
Dario Nieuwenhuis
|
d1740b10f0
|
Lower some verbose logs to trace.
|
2021-12-23 13:43:14 +01:00 |
|
Ulf Lilleengen
|
2bbd1ddb8a
|
Remove unneeded rustfmt::skip
|
2021-12-16 11:37:53 +01:00 |
|
Dario Nieuwenhuis
|
ead987245d
|
embassy: Refactor module structure to remove kitchen-sink util .
|
2021-09-11 02:35:35 +02:00 |
|
Dario Nieuwenhuis
|
7bfb763e09
|
Rename embassy-extras to embassy-hal-common
|
2021-07-29 13:44:51 +02:00 |
|
Bob McWhirter
|
58edefff6e
|
Formatting.
|
2021-07-23 13:22:39 -04:00 |
|
Bob McWhirter
|
d5ed5c3ef3
|
Split up the nRF impls for SPI traits.
|
2021-07-23 13:22:39 -04:00 |
|
Dario Nieuwenhuis
|
e7dc5c0939
|
fmt: make all macros macro_rules so scoping is consistent.
|
2021-06-07 00:16:39 +02:00 |
|
Folkert
|
3f74c557ed
|
skip 'in ram' check for mutable slice in fullduplex
|
2021-06-05 11:34:50 +02:00 |
|
Folkert
|
990d83d424
|
match on mode
|
2021-06-03 11:38:25 +02:00 |
|
Dario Nieuwenhuis
|
42abeca493
|
nrf/spim: disable and deconfigure pins on drop.
|
2021-05-26 20:11:23 +02:00 |
|
Rukai
|
3e83acc1cb
|
Fix unused field warnings
|
2021-05-17 20:23:04 +10:00 |
|
Rukai
|
149ddf2f29
|
Fix warnings
|
2021-05-17 19:48:58 +10:00 |
|
Dario Nieuwenhuis
|
a5ad79927e
|
nrf: add Unborrow<Target = Self> bound to all instance traits
|
2021-05-17 01:01:31 +02:00 |
|
Dario Nieuwenhuis
|
bd9589d0ce
|
nrf: add support for nrf52805, nrf52811, nrf52820
|
2021-05-17 00:57:20 +02:00 |
|
Richard Dodd
|
212e83aa22
|
Make changes to Write as well as Transfer
|
2021-05-05 19:18:57 +01:00 |
|
Richard Dodd
|
9de12a0a7a
|
Address issues in PR.
|
2021-05-05 18:25:14 +01:00 |
|
Richard Dodd
|
1ad18aa09a
|
Implement the blocking hal api for SPIM.
|
2021-05-05 14:50:28 +01:00 |
|
Dario Nieuwenhuis
|
97ca54fa66
|
Rename PeripheralBorrow to Unborrow
|
2021-04-14 19:59:52 +02:00 |
|
Dario Nieuwenhuis
|
c15411d1bd
|
Remove Pin from SPI
|
2021-04-14 17:04:40 +02:00 |
|
Dario Nieuwenhuis
|
b9e709403d
|
nrf: better macro naming.
|
2021-03-29 00:58:58 +02:00 |
|
Richard Dodd
|
2c248dab56
|
nrf/spim: make mosi,miso optional
|
2021-03-29 00:58:58 +02:00 |
|
Dario Nieuwenhuis
|
7b6086d19e
|
nrf: add unborrow! macro
|
2021-03-29 00:58:58 +02:00 |
|
Dario Nieuwenhuis
|
d5ff1a0ae3
|
nrf: rename inner peripheral to peri for consistence
|
2021-03-29 00:58:57 +02:00 |
|
Dario Nieuwenhuis
|
16bb6fd6ac
|
nrf: Specify connected bit in psel_bits
|
2021-03-29 00:58:57 +02:00 |
|
Dario Nieuwenhuis
|
f36cbe5e0c
|
nrf/spim: do not use PeripheralMutex
|
2021-03-29 00:58:57 +02:00 |
|
Dario Nieuwenhuis
|
fcf6a63b5c
|
nrf: add owned Peripherals struct, migrate gpio and spim
|
2021-03-29 00:58:57 +02:00 |
|
Dario Nieuwenhuis
|
456e04c79f
|
Simplify spim macros
|
2021-03-18 21:59:35 +01:00 |
|
Dario Nieuwenhuis
|
b57489eb5d
|
peripheralmutex: separate interrupt registration to own method.
|
2021-03-18 18:49:10 +01:00 |
|
Dario Nieuwenhuis
|
0cd19a58c3
|
Remove free() from PeripheralMutex and all nrf drivers.
|
2021-03-18 18:49:10 +01:00 |
|
Dario Nieuwenhuis
|
3de2d5c5bd
|
Implement FullDuplex for nrf spim
|
2021-03-18 01:27:30 +01:00 |
|
Thales Fragoso
|
15c3e78408
|
Move nRF's util into a separate crate
|
2021-03-07 20:15:40 -03:00 |
|
Timo Kröger
|
28b2365ef3
|
Update nrf-hal to v0.12.1
Use the `psel_bits()` method to reduce #[cfg] clutter
|
2021-03-05 09:25:46 +01:00 |
|
Dario Nieuwenhuis
|
a30c705fd7
|
nrf/spim: support all chips
|
2021-03-01 00:36:30 +01:00 |
|
Dario Nieuwenhuis
|
255bf1aa6a
|
nrf: add SPIM
|
2021-03-01 00:24:06 +01:00 |
|