aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/gpio.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat: improve nrf54 support using new nrf-pacUlf Lilleengen2025-10-281-2/+0
| | | | | | | | | | | | | * 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 Nieuwenhuis2025-10-061-2/+2
|
* doc fixesRobin Mueller2025-09-231-2/+2
|
* nrf: add persist() method for gpio and ppiMatthew Tran2025-09-201-0/+27
|
* Fixing the nrf54l drive configuration bugMatthieu2025-07-101-1/+1
|
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-23/+16
|
* Add Clone to Pullwackazong2025-01-141-1/+1
|
* nrf/gpio: fix missing setting input as disconnected.Dario Nieuwenhuis2025-01-081-3/+7
|
* nrf: Remove leftover info message and fix link to errataPriit Laes2024-11-191-1/+0
|
* nrf: add nrf54l base: gpio and time driver.Dario Nieuwenhuis2024-11-171-13/+118
|
* nrf: port to chiptool-based `nrf-pac`.Dario Nieuwenhuis2024-11-041-68/+65
|
* nrf: gpio: Fix return values for functions returning unit type - `()`Priit Laes2024-08-081-8/+16
|
* nrf: remove mod sealed.Dario Nieuwenhuis2024-04-051-43/+39
|
* Fix warnings in recent nightly.Dario Nieuwenhuis2024-03-201-0/+2
|
* fix(nrf/spim): use `OutputDrive` to set pin drivesNBonaparte2024-02-191-1/+1
|
* fix warningsUlf Lilleengen2024-01-251-0/+1
|
* rustfmt againUlf Lilleengen2024-01-241-7/+4
|
* feat: add basic support for nRF51 chips to embassy-nrfUlf Lilleengen2024-01-241-0/+12
|
* nrf/gpio: remove generics.Dario Nieuwenhuis2024-01-221-31/+31
|
* Change GPIO inherent methods back to `&self`.Dario Nieuwenhuis2024-01-101-38/+28
| | | | | | | With the embedded-hal rc3 update I changed them to require `&mut self`, but in retrospect I think `&self` is better, for extra flexibility. This PR reverts the changes from the rc3 update to inherent methods.
* nrf/gpio: add toggle.Dario Nieuwenhuis2023-12-261-0/+34
|
* stm32: add some docs.Dario Nieuwenhuis2023-12-181-13/+12
|
* Update embedded-hal to 1.0.0-rc.3Dario Nieuwenhuis2023-12-141-28/+39
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-291-56/+51
|
* Rename embassy-hal-common to embassy-hal-internal, document it's for ↵Dario Nieuwenhuis2023-07-281-1/+1
| | | | internal use only. (#1700)
* nrf: docs.Dario Nieuwenhuis2023-02-011-1/+1
|
* Replace `Level: Into<bool>` with `From<Level>`Joakim Hulthe2023-01-231-3/+3
| | | | This automatically implements Into<bool> for Level
* Add Clone & Copy on embassy_nrf::gpio::LevelMatthias Devlamynck2022-12-291-1/+1
|
* Update embedded-hal versions and explicitly pinUlf Lilleengen2022-09-291-6/+6
|
* nRF documentation warning fixesUlf Lilleengen2022-08-221-1/+20
|
* Remove PeripheralRef::into_inner()Dario Nieuwenhuis2022-07-231-15/+7
|
* Rename Unborrowed -> PeripheralRef, Unborrow -> PeripheralDario Nieuwenhuis2022-07-231-15/+15
|
* Rename unsafe_impl_unborrow to impl_unborrowDario Nieuwenhuis2022-07-231-2/+2
|
* Update embassy-rpGrant Miller2022-07-231-1/+1
|
* WIP: Make unborrow safe to useGrant Miller2022-07-231-10/+22
|
* Move all gpio logic to Flexchemicstry2022-07-131-6/+3
|
* Change get_set_level to get_output_levelchemicstry2022-07-131-2/+2
|
* Add convenience GPIO functions to NRFchemicstry2022-07-131-0/+79
|
* Add more API docs for embassy-cortex-m and embassy-nrfUlf Lilleengen2022-06-231-1/+1
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-9/+3
|
* 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`.
* nrf/gpio: add input+output to Flex, for OpenDrain.Dario Nieuwenhuis2022-05-031-25/+45
|
* nrf/gpio: Make Input is_high/is_low public.Dario Nieuwenhuis2022-03-171-2/+2
|
* nrf: remove OptionalPinDario Nieuwenhuis2022-02-121-49/+5
|
* nrf: impl embedded-hal 1.0 and embedded-hal-async traits.Dario Nieuwenhuis2022-01-131-72/+157
|
* nrf/gpiote: expose all functionality as inherent methods.Dario Nieuwenhuis2022-01-131-6/+2
|
* nrf/gpio: Rename FlexPin to Flex.Dario Nieuwenhuis2022-01-131-12/+12
| | | | FlexPin sounds like it's an owned pin singleton, like AnyPin or NoPin.
* nrf/gpio: add infallible inherent methods, remove some duplication.Dario Nieuwenhuis2021-12-201-232/+108
| | | | This implements Input and Output using FlexPin, to avoid some code duplication.
* Remove unneeded rustfmt::skipUlf Lilleengen2021-12-161-12/+24
|
* nrf/gpiote: remove PortInput, move impls to Input.Dario Nieuwenhuis2021-12-141-0/+97
|