aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/chips/nrf52820.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat: improve nrf54 support using new nrf-pacUlf Lilleengen2025-10-281-32/+39
| | | | | | | | | | | | | * 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]>
* code review changesRobin Mueller2025-09-221-0/+2
|
* add basic RTC driver for nRFRobin Mueller2025-09-221-0/+3
|
* nrf53: add WDT supportMatthew Tran2025-04-201-0/+2
|
* Update nrf-pac.Dario Nieuwenhuis2024-11-151-26/+26
|
* nrf: port to chiptool-based `nrf-pac`.Dario Nieuwenhuis2024-11-041-1/+1
|
* add HAL and example for using nRF EGU peripheralUlf Lilleengen2024-06-181-0/+15
|
* Support nearly all nRF5 RADIOsErik Bånvik2024-03-051-0/+5
|
* minimum build code for new APPROTECT is chip type-specificPeter Hansen2023-12-031-0/+1
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-291-1/+0
|
* Rename embassy-hal-common to embassy-hal-internal, document it's for ↵Dario Nieuwenhuis2023-07-281-2/+2
| | | | internal use only. (#1700)
* Remove embassy-cortex-m crate, move stuff to embassy-hal-common.Dario Nieuwenhuis2023-06-091-1/+1
|
* Make interrupt module more standard.Dario Nieuwenhuis2023-06-081-32/+28
| | | | | | | | | | | | - 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/rng: make available on all chips, use Instance trait, switch to new ↵Dario Nieuwenhuis2023-03-061-0/+2
| | | | interrupt binding.
* nrf/qdec: make available on all chips, use Instance trait, switch to new ↵Dario Nieuwenhuis2023-03-061-0/+2
| | | | interrupt binding.
* nrf: add support for UICR configuration.Dario Nieuwenhuis2023-02-201-0/+4
| | | | | | | | | - APPROTECT enable/disable. Notably this fixes issues with nrf52-rev3 and nrf53 from locking itself at reset. - Use NFC pins as GPIO. - Use RESET pin as GPIO. NFC and RESET pins singletons are made available only when usable as GPIO, for compile-time checking.
* Merge #1056bors[bot]2022-11-221-0/+3
|\ | | | | | | | | | | | | | | | | 1056: embassy-nrf: Add TWIS module r=Dirbaio a=kalkyl Verified to be working on nrf9160 Co-authored-by: kalkyl <[email protected]> Co-authored-by: Henrik Alsér <[email protected]>
| * embassy-nrf: Add TWIS modulekalkyl2022-11-131-0/+3
| |
* | embassy-nrf: Add SPIS moduleHenrik Alsér2022-11-051-0/+3
|/
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-171-1/+1
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-1/+2
|
* Add embassy-cortex-m crate.Dario Nieuwenhuis2022-06-121-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`.
* Add qdec moduleHenrik Alsér2022-05-071-0/+3
|
* usb: add -usb-serial crate, fix warnings and stable build.Dario Nieuwenhuis2022-04-061-0/+1
|
* fix nrf52820Jacob Rosenthal2021-12-151-0/+2
|
* enable USB peripheral for relevant chipsJacob Rosenthal2021-12-151-0/+3
|
* Fewer channel traits, more cfg to make the system workDion Dokter2021-10-261-32/+32
|
* Another redo using the feedback.Dion Dokter2021-10-261-32/+32
| | | | | PPI is now split up into PPI and DPPI under the name 'interconnect'. The tasks and events are tracked and reset in the drop function.
* - Added _ppi and _dppi to distinguish between the new and the old peripheral.Dion Dokter2021-10-261-32/+32
| | | | | | - Removed ConfigurableChannel and added capacity numbers to the channels - Replaced the PPI api with a new one using the DPPI terminology (publish & subscribe) - Updated all tasks and event registers for DPPI
* nrf: add NVMC driver.Dario Nieuwenhuis2021-10-221-0/+5
|
* Add support for temperature sensor peripheralUlf Lilleengen2021-10-191-0/+3
| | | | | | * Add TEMP peripheral to all nRF52 chips * Add async HAL for reading temperature values * Add example application reading temperature values
* nrf/ppi: nrf52805 only has 10 configurable channels.Dario Nieuwenhuis2021-10-111-0/+33
|
* nrf/saadc: nrf52820 doesn't have it.Dario Nieuwenhuis2021-10-111-3/+0
|
* Expose EASY_DMA_SIZE.Richard Dodd2021-08-221-0/+1
|
* nrf: add WDT driverDario Nieuwenhuis2021-08-071-0/+3
|
* Rename embassy-extras to embassy-hal-commonDario Nieuwenhuis2021-07-291-1/+1
|
* Add an nRF RNG driverLiam Murphy2021-06-291-0/+3
| | | | | | Resolves #187 Like the stm32 driver, this has both a non-blocking and blocking API, and implements `rand_core::RngCore` for the blocking API.
* stm32: fix build, add ciDario Nieuwenhuis2021-05-171-0/+2
|
* nrf/gpiote: initialize automaticallyDario Nieuwenhuis2021-05-171-1/+0
|
* nrf: add blocking TWIMDario Nieuwenhuis2021-05-171-0/+3
|
* nrf: add support for nrf52805, nrf52811, nrf52820Dario Nieuwenhuis2021-05-171-0/+185