Dario Nieuwenhuis
036e6ae30c
Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. ( #1700 )
2023-07-28 13:23:22 +02:00
Cameron Harris
d7ecf6f593
Update embassy-nrf/src/ppi/mod.rs
...
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-07-05 19:10:43 +02:00
Cameron Harris
082147939d
Update embassy-nrf/src/ppi/ppi.rs
...
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-07-05 19:10:30 +02:00
Cameron Harris
67c4d165c7
Update embassy-nrf/src/ppi/ppi.rs
...
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-07-05 19:10:22 +02:00
Cameron Harris
fb3e6a2b40
Update embassy-nrf/src/ppi/mod.rs
...
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-07-05 19:10:16 +02:00
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
c69f2929c0
Build failures
2023-06-30 11:37:53 +02:00
Cameron
4d23ea554b
Build failures
2023-06-30 11:34:13 +02:00
Cameron
d6fde756a8
Build failures
2023-06-30 11:32:11 +02:00
Cameron
2432cece38
Lifetimes in dppi
2023-06-29 18:36:12 +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
e0521ea249
fix nrf dppi
2022-07-23 02:17:45 +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