Cameron
8ee2f50b8c
Removed unnecessary lifetime naming
2023-07-05 19:01:28 +02:00
Cameron
2c5146f19f
Fixed Lifetimes in Events & Tasks
2023-07-05 09:20:56 +02:00
Cameron
fef338f5c2
Lifetime groups
2023-06-29 18:13:46 +02:00
Cameron
24e186e684
feature(1354): Added lifetimes to Event +
2023-06-29 18:09:26 +02:00
Cameron
3f19879f41
PR Fixes
2023-06-29 17:44:46 +02:00
Cameron
e90f47aba3
Fixed Pointer Updates
2023-06-29 17:37:51 +02:00
Cameron
2aa2b843ce
feature(1355): Add trigger to task, triggered + clear to Event
2023-06-29 17:11:36 +02:00
Dario Nieuwenhuis
4314b823aa
nrf: add PPI channel group driver.
2023-03-04 05:37:33 +01:00
Dario Nieuwenhuis
b5cf332cc0
nrf: docs.
2023-02-01 01:17:41 +01:00
Dario Nieuwenhuis
91a9168a32
nrf/ppi: fix unsoundness due to task/event ptrs being public.
2022-08-24 01:54:27 +02:00
Dario Nieuwenhuis
02562ed87d
nrf/ppi: feature-gate dppi stuff.
2022-08-24 01:52:15 +02:00
Ulf Lilleengen
3e155d2ec3
nRF documentation warning fixes
2022-08-22 16:37:35 +02:00
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
Dario Nieuwenhuis
be6408e202
Rename unsafe_impl_unborrow to impl_unborrow
2022-07-23 01:33:22 +02:00
Grant Miller
65a82d02d1
WIP: Make unborrow safe to use
2022-07-23 01:33:22 +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
663141b4e4
nrf: add initial nrf5340 support
2021-10-28 03:36:25 +02:00
Dario Nieuwenhuis
36d3eda2f9
ppi: simplify driver creation.
...
Moving `new_*` to the version-specific mod allows doing the correct
register writes right there in `new`, without needing abstractions
like `enable_all`/`disable_all`.
2021-10-26 16:52:51 +02:00
Dion Dokter
c63d747209
Fewer channel traits, more cfg to make the system work
2021-10-26 14:47:34 +02:00
Dion Dokter
6205d6da47
typo
2021-10-26 14:47:33 +02:00
Dion Dokter
a6c84cb915
- Interconnect is now PPI again
...
- Scary pointer math is now contained in the tasks and events
- ppi now sets the tasks and events immediately and the struct is now zero-sized
- StaticToOne is renamed to ZeroToOne
- Used DPPI tasks and events now panic when enabled twice
2021-10-26 14:47:31 +02:00