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
Dario Nieuwenhuis
921780e6bf
Make interrupt module more standard.
...
- Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`.
- Reexport the PAC interrupt enum in `embassy_xx::interrupt`.
This has a few advantages:
- The `embassy_xx::interrupt` module is now more "standard".
- It works with `cortex-m` functions for manipulating interrupts, for example.
- It works with RTIC.
- the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs.
- When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`.
2023-06-08 18:00:48 +02:00
Dario Nieuwenhuis
404aa29289
cortex-m: remove owned interrupts.
2023-06-01 03:25:19 +02:00
Dario Nieuwenhuis
34563b74aa
nrf/i2s: switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
b5cf332cc0
nrf: docs.
2023-02-01 01:17:41 +01:00
Christian Perez Llamas
5fdd521a76
Move the responsibility to manage buffers to the I2S stream
2022-12-08 20:22:50 +01:00
Christian Perez Llamas
199504be56
Optimization to be able to work with only 2 buffers
2022-11-29 01:09:47 +01:00
Christian Perez Llamas
6b8ab32536
Use &mut self for start methods
2022-11-26 15:22:31 +01:00
Christian Perez Llamas
15a93246d6
Buffer management in line with other peripherals. Constructor and config redesign
2022-11-19 19:18:20 +01:00
Christian Perez Llamas
f5391efe22
Fix fmt
2022-11-19 02:17:58 +01:00
Christian Perez Llamas
64e8cfef8e
Fix build
2022-11-19 01:38:03 +01:00
Christian Perez Llamas
6b88057aef
Add missing parts and Cleanup
2022-11-19 00:29:05 +01:00
Christian Perez Llamas
1ed260b105
Fix buffer overruns
2022-11-17 00:19:22 +01:00
Christian Perez Llamas
17857bc18f
Minor changes
2022-11-13 02:12:58 +01:00
Christian Perez Llamas
d2e8794f29
Investigating discontinuities in the signal
2022-11-13 01:41:32 +01:00
Christian Perez Llamas
122a31d208
Interrupts, async, sine oscillator
2022-11-12 18:48:57 +01:00
Christian Perez Llamas
f22f36f51b
Add input rx
2022-11-10 00:24:49 +01:00
Christian Perez Llamas
5a64bf651c
Buffer trait. Simpler config.
2022-11-10 00:10:42 +01:00
Christian Perez Llamas
356beabc3b
Apply config
2022-11-09 23:08:09 +01:00
Roman Valls Guimera
3760b60db3
Make bors grin ;)
2022-11-09 22:31:19 +01:00
Christian Perez Llamas
cecd77938c
Draft: Initial support for I2S with a working example.
...
Co-authored-by: @brainstorm <brainstorm@nopcode.org>
2022-11-09 19:19:01 +01:00