| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat: add nRF54LM20A support | Haobo Gu | 2025-12-08 | 1 | -0/+1 |
| | | | | | Signed-off-by: Haobo Gu <[email protected]> | ||||
| * | fix: update saadc after API changes | Ulf Lilleengen | 2025-11-26 | 1 | -5/+5 |
| | | |||||
| * | feat: improve nrf54 support using new nrf-pac | Ulf Lilleengen | 2025-10-28 | 1 | -7/+240 |
| | | | | | | | | | | | | | | * Update nrf-pac to version that modifies nrf52 register layout to match nrf54 to reduce the amount of cfg needed for nrf54 support. * Make the following peripherals available on nrf54: twim, twis, spim, spis, uart, buffered uarte, dppi, gpiote, pwm, saadc * Add examples tested on the nrf54 dk Some code is based on or copied from other pull requests, modified to match the new nrf-pac layout. Co-authored-by: Dmitry Tarnyagin <[email protected]> | ||||
| * | Rustfmt for edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 1 | -2/+2 |
| | | |||||
| * | fixup: documentation more precise | Michael Kefeder | 2025-09-29 | 1 | -1/+1 |
| | | |||||
| * | Reset SAADC in Drop impl for nrf52, workaround for anomaly 241. | Michael Kefeder | 2025-09-29 | 1 | -0/+13 |
| | | |||||
| * | Remove Peripheral trait, rename PeripheralRef->Peri. | Dario Nieuwenhuis | 2025-03-27 | 1 | -34/+39 |
| | | |||||
| * | clean the SAADC's register while dropping | drindr | 2025-03-23 | 1 | -0/+4 |
| | | |||||
| * | nrf: port to chiptool-based `nrf-pac`. | Dario Nieuwenhuis | 2024-11-04 | 1 | -132/+115 |
| | | |||||
| * | nrf, doc: Don't refer to `Default` impl of `saadc::ChannelConfig` | Frank Plowman | 2024-08-09 | 1 | -1/+2 |
| | | | | | | | `saadc::ChannelConfig` does not implement the `Default` trait, so its documentation should not refer to it. Modify the documentation to instead describe how the struct should be created and configured. | ||||
| * | saddc regression fix | nerwalt | 2024-07-15 | 1 | -1/+1 |
| | | |||||
| * | Adding _nrf91 feature | nerwalt | 2024-07-15 | 1 | -2/+2 |
| | | | | | Combining _nrf9160 and _nrf9120 in many places to reduce cfgs | ||||
| * | Adding support for 9120 | nerwalt | 2024-06-28 | 1 | -2/+2 |
| | | |||||
| * | nrf: remove mod sealed. | Dario Nieuwenhuis | 2024-04-05 | 1 | -10/+6 |
| | | |||||
| * | Rename embassy-hal-common to embassy-hal-internal, document it's for ↵ | Dario Nieuwenhuis | 2023-07-28 | 1 | -2/+2 |
| | | | | | internal use only. (#1700) | ||||
| * | Adjusted build issue | Cameron | 2023-06-30 | 1 | -2/+2 |
| | | |||||
| * | Attempt to fix certain borrowing rule issues | Cameron | 2023-06-30 | 1 | -1/+3 |
| | | |||||
| * | Make interrupt module more standard. | Dario Nieuwenhuis | 2023-06-08 | 1 | -5/+5 |
| | | | | | | | | | | | | | - 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`. | ||||
| * | cortex-m: remove owned interrupts. | Dario Nieuwenhuis | 2023-06-01 | 1 | -3/+3 |
| | | |||||
| * | common/peripheral: do not require mut in PeripheralRef clone_unchecked. | Dario Nieuwenhuis | 2023-04-11 | 1 | -1/+1 |
| | | |||||
| * | nrf/saadc: switch to new interrupt binding. | Dario Nieuwenhuis | 2023-03-06 | 1 | -28/+34 |
| | | |||||
| * | nrf: docs. | Dario Nieuwenhuis | 2023-02-01 | 1 | -21/+35 |
| | | |||||
| * | Stop sampling when exiting the Saadc methods | huntc | 2023-01-18 | 1 | -3/+9 |
| | | | | | Prior to this commit, the onDrop function was being dropped immediately and not on exiting the Saadc sampling methods. | ||||
| * | Replace futures::future::poll_fn -> core::future::poll_fn. | Dario Nieuwenhuis | 2022-09-22 | 1 | -1/+1 |
| | | |||||
| * | Avoid context switch and wait for stop | huntc | 2022-08-31 | 1 | -47/+2 |
| | | | | | Should be more efficient given the sub 100 cycles to wait. | ||||
| * | Permits the future to be cancelled | huntc | 2022-08-30 | 1 | -2/+31 |
| | | | | | Includes documentation | ||||
| * | Additional doco | huntc | 2022-08-30 | 1 | -0/+2 |
| | | |||||
| * | Ensure that the sampling is stopped | huntc | 2022-08-26 | 1 | -0/+43 |
| | | | | | Ensures that nRF saadc sampling is stopped and is awaited prior to exiting the two sampling methods. Not doing so causes a potential power drain and the potential for dropped buffer writes when having finished continuous sampling. | ||||
| * | split `embassy-util` into `embassy-futures`, `embassy-sync`. | Dario Nieuwenhuis | 2022-08-22 | 1 | -1/+1 |
| | | |||||
| * | Split embassy crate into embassy-executor, embassy-util. | Dario Nieuwenhuis | 2022-07-29 | 1 | -1/+1 |
| | | |||||
| * | nrf: replace PhantomData usages with PeripheralRef. | Dario Nieuwenhuis | 2022-07-23 | 1 | -71/+63 |
| | | |||||
| * | Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral | Dario Nieuwenhuis | 2022-07-23 | 1 | -14/+14 |
| | | |||||
| * | Rename unsafe_impl_unborrow to impl_unborrow | Dario Nieuwenhuis | 2022-07-23 | 1 | -9/+4 |
| | | |||||
| * | WIP: Make unborrow safe to use | Grant Miller | 2022-07-23 | 1 | -13/+3 |
| | | |||||
| * | nrf/saadc: add type-erased AnyInput. | Dario Nieuwenhuis | 2022-07-21 | 1 | -1/+26 |
| | | |||||
| * | Run rustfmt. | Dario Nieuwenhuis | 2022-06-12 | 1 | -47/+19 |
| | | |||||
| * | Add embassy-cortex-m crate. | Dario Nieuwenhuis | 2022-06-12 | 1 | -2/+2 |
| | | | | | | | - 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`. | ||||
| * | Add saadc::VddhDiv5Input | alexmoon | 2022-04-08 | 1 | -0/+23 |
| | | |||||
| * | Simplifies the API by taking in the TIMER and PPI channels | huntc | 2022-03-07 | 1 | -39/+53 |
| | | |||||
| * | Improve nRF Saadc sampling | huntc | 2022-03-07 | 1 | -7/+76 |
| | | | | | | | | | | | Starting the sampling task prior to starting the SAADC peripheral can lead to unexpected buffer behaviour with multiple channels. We now provide an init callback at the point where the SAADC has started for the first time. This callback can be used to kick off sampling via PPI. We also need to trigger the SAADC to start sampling the next buffer when the previous one is ended so that we do not drop samples - the major benefit of double buffering. As a bonus we provide a calibrate method as it is recommended to use before starting up the sampling. The example has been updated to illustrate these new features. | ||||
| * | Some documentation corrections and expansion | huntc | 2021-11-22 | 1 | -1/+1 |
| | | |||||
| * | nrf: saadc do not reexport pac enums | Jacob Rosenthal | 2021-11-20 | 1 | -10/+188 |
| | | | | | Closes #415 | ||||
| * | nrf91: support running in both S and NS mode. | Dario Nieuwenhuis | 2021-10-26 | 1 | -2/+2 |
| | | |||||
| * | nrf: saadc dummy pin for vdd sampling | Jacob Rosenthal | 2021-10-24 | 1 | -0/+23 |
| | | |||||
| * | Formatting | huntc | 2021-10-18 | 1 | -3/+1 |
| | | |||||
| * | Optimises the buffer passing for nRF SAADC | huntc | 2021-10-18 | 1 | -1/+1 |
| | | | | | The buffer will always have been filled and we never explicitly stop the task outside of this code. Thus, we can assume the number of bytes in the slice. | ||||
| * | Comments corrected | huntc | 2021-10-18 | 1 | -5/+4 |
| | | |||||
| * | Renamed sample rate to what it actually is | huntc | 2021-10-18 | 1 | -4/+4 |
| | | |||||
| * | Remove unneeded stop | huntc | 2021-10-18 | 1 | -1/+0 |
| | | |||||
| * | Ensure the compiler doesn't reorder things before calling the sampler | huntc | 2021-10-18 | 1 | -0/+2 |
| | | |||||
