| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat: improve nrf54 support using new nrf-pac | Ulf Lilleengen | 2025-10-28 | 1 | -19/+40 |
| | | | | | | | | | | | | | | * 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]> | ||||
| * | embassy_nrf::pwm: add config argument to SimplePwm constructors | Maarten de Vries | 2025-10-15 | 1 | -28/+90 |
| | | |||||
| * | embassy_nrf::pwm: add channel idle level to config | Maarten de Vries | 2025-10-15 | 1 | -50/+35 |
| | | |||||
| * | embassy_nrf::pwm: allow setting all duty cycles of SimplePwm at once | Maarten de Vries | 2025-10-15 | 1 | -0/+16 |
| | | |||||
| * | embassy_nrf::pwm: expose duty cycle polarity for SimplePwm | Maarten de Vries | 2025-10-15 | 1 | -7/+85 |
| | | |||||
| * | embassy_nrf::pwm: derive more traits for public structs | Maarten de Vries | 2025-10-15 | 1 | -1/+12 |
| | | |||||
| * | Rustfmt for edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 1 | -2/+2 |
| | | |||||
| * | nrf/pwm: erase instance generics | Dario Nieuwenhuis | 2025-09-28 | 1 | -87/+60 |
| | | |||||
| * | Use from_bits in LoopCnt | nerwalt | 2025-08-14 | 1 | -1/+1 |
| | | |||||
| * | embassy-nrf: fix PWM loop count | Juergen Fitschen | 2025-07-02 | 1 | -3/+2 |
| | | |||||
| * | Remove Peripheral trait, rename PeripheralRef->Peri. | Dario Nieuwenhuis | 2025-03-27 | 1 | -98/+61 |
| | | |||||
| * | nrf: add nrf54l base: gpio and time driver. | Dario Nieuwenhuis | 2024-11-17 | 1 | -8/+8 |
| | | |||||
| * | nrf/pwm: disconnect input. | Dario Nieuwenhuis | 2024-11-04 | 1 | -1/+10 |
| | | |||||
| * | nrf/pwm: fix bad pin assignment. | Dario Nieuwenhuis | 2024-11-04 | 1 | -1/+1 |
| | | |||||
| * | nrf: port to chiptool-based `nrf-pac`. | Dario Nieuwenhuis | 2024-11-04 | 1 | -139/+126 |
| | | |||||
| * | fixup! feat(pwm): allow specifying OutputDrive for PWM channels | Giona Imperatori | 2024-07-01 | 1 | -4/+4 |
| | | |||||
| * | feat(pwm): allow specifying OutputDrive for PWM channels | Giona Imperatori | 2024-07-01 | 1 | -5/+53 |
| | | |||||
| * | fix: typo | Cyril Marpaud | 2024-04-27 | 1 | -1/+1 |
| | | |||||
| * | nrf: remove mod sealed. | Dario Nieuwenhuis | 2024-04-05 | 1 | -10/+6 |
| | | |||||
| * | nrf: Drop needless let | Priit Laes | 2024-02-17 | 1 | -2/+2 |
| | | |||||
| * | nrf: Remove useless borrows | Priit Laes | 2024-02-17 | 1 | -2/+2 |
| | | |||||
| * | Do not wait when the pwm is disabled | Martin Marmsoler | 2024-01-27 | 1 | -1/+3 |
| | | | | Reason: because in this case no seqend event is raised and therefore an infinity loop occurs | ||||
| * | implement retriving duty. | Martin Marmsoler | 2024-01-27 | 1 | -0/+5 |
| | | | | Description: When disabling the pwm and enabling again, it is required to restart the sequence. If the previous duty is not known, it is not possible to turn on the pwm again | ||||
| * | add is_enabled() function | Martin Marmsoler | 2024-01-26 | 1 | -0/+7 |
| | | |||||
| * | add documentation | Martin Marmsoler | 2024-01-26 | 1 | -0/+1 |
| | | |||||
| * | use constant for the pwm clock | Martin Marmsoler | 2024-01-26 | 1 | -2/+3 |
| | | | | Description: So it can be used outside of the crate to calculate max duty | ||||
| * | Rename embassy-hal-common to embassy-hal-internal, document it's for ↵ | Dario Nieuwenhuis | 2023-07-28 | 1 | -1/+1 |
| | | | | | internal use only. (#1700) | ||||
| * | Removed unnecessary lifetime naming | Cameron | 2023-07-05 | 1 | -11/+11 |
| | | |||||
| * | Make interrupt module more standard. | Dario Nieuwenhuis | 2023-06-08 | 1 | -4/+3 |
| | | | | | | | | | | | | | - 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`. | ||||
| * | nrf: docs. | Dario Nieuwenhuis | 2023-02-01 | 1 | -4/+18 |
| | | |||||
| * | nrf: replace PhantomData usages with PeripheralRef. | Dario Nieuwenhuis | 2022-07-23 | 1 | -5/+8 |
| | | |||||
| * | Remove PeripheralRef::into_inner() | Dario Nieuwenhuis | 2022-07-23 | 1 | -17/+43 |
| | | |||||
| * | Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral | Dario Nieuwenhuis | 2022-07-23 | 1 | -56/+56 |
| | | |||||
| * | WIP: Make unborrow safe to use | Grant Miller | 2022-07-23 | 1 | -53/+39 |
| | | |||||
| * | Run rustfmt. | Dario Nieuwenhuis | 2022-06-12 | 1 | -62/+18 |
| | | |||||
| * | Add embassy-cortex-m crate. | Dario Nieuwenhuis | 2022-06-12 | 1 | -1/+1 |
| | | | | | | | - 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`. | ||||
| * | nrf: remove OptionalPin | Dario Nieuwenhuis | 2022-02-12 | 1 | -50/+152 |
| | | |||||
| * | Further API simplification for the single seq scenario | huntc | 2022-02-05 | 1 | -2/+2 |
| | | |||||
| * | Forgot to expose the stop method | huntc | 2022-02-04 | 1 | -0/+8 |
| | | |||||
| * | Introduced the SingleSequencer and a more complex Sequencer | huntc | 2022-02-04 | 1 | -41/+72 |
| | | |||||
| * | Expose PWM | huntc | 2022-02-04 | 1 | -2/+2 |
| | | |||||
| * | Doco correction | huntc | 2022-02-04 | 1 | -3/+3 |
| | | |||||
| * | Introduces a Sequences struct | huntc | 2022-02-04 | 1 | -131/+143 |
| | | |||||
| * | Clarify why we need the mut buffer | huntc | 2022-02-04 | 1 | -0/+2 |
| | | |||||
| * | Some more doco | huntc | 2022-01-30 | 1 | -0/+3 |
| | | |||||
| * | Revert "Own the sequence buffer" | huntc | 2022-01-30 | 1 | -76/+32 |
| | | | | | This reverts commit 482389a6911d8d3505872e6ad03d5b0af565eaf9. | ||||
| * | Own the sequence buffer | huntc | 2022-01-29 | 1 | -32/+76 |
| | | | | | This approach owns the sequence buffers which, while introducing an extra move, it eliminates the need to guard the lifetime of the sequence buffer. Given ownership, the buffer will be retained until the PWM sequence task is stopped. | ||||
| * | Now permits sequences to be mutated subsequently | huntc | 2022-01-28 | 1 | -7/+17 |
| | | |||||
| * | Doc tidying | huntc | 2022-01-28 | 1 | -3/+1 |
| | | |||||
| * | Make the sequence a little nicer to pass around | huntc | 2022-01-28 | 1 | -17/+29 |
| | | |||||
