aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src
Commit message (Collapse)AuthorAgeFilesLines
* nrf: spim/spis: Add size checks for EasyDMA bufferPriit Laes2024-02-082-4/+18
| | | | | On most nRF chips, maximum buffer size for EasyDMA is 255, thus we never got any data when attempting to use 256 bytes as RX/TX buffer.
* Merge pull request #2502 from jbeaurivage/nrf-uarte-errorsDario Nieuwenhuis2024-02-051-19/+109
|\ | | | | | | NRF: handle `uarte` RX errors
| * Address @Dirbaio's commentsJustin Beaurivage2024-02-051-9/+9
| |
| * RustfmtJustin Beaurivage2024-01-311-3/+9
| |
| * Add error handling to UarteRxWithIdleJustin Beaurivage2024-01-311-12/+23
| |
| * Handle Uarte RX errorsJustin Beaurivage2024-01-301-11/+84
| |
* | nrf/gpiote: add support for nrf51.Dario Nieuwenhuis2024-02-041-13/+45
| |
* | Merge pull request #2469 from embassy-rs/nrf51-basic-supportDario Nieuwenhuis2024-01-319-79/+294
|\ \ | |/ |/| | | feat: add basic support for nRF51 chips to embassy-nrf
| * nightly fmtUlf Lilleengen2024-01-252-3/+2
| |
| * fix warningsUlf Lilleengen2024-01-255-3/+8
| |
| * fix: make inner state send as it's protected critical sectionUlf Lilleengen2024-01-251-0/+2
| |
| * cleanupUlf Lilleengen2024-01-243-5/+8
| |
| * cargo fmtUlf Lilleengen2024-01-241-4/+2
| |
| * modify time driver to not require portable-atomicUlf Lilleengen2024-01-241-11/+9
| |
| * fix: remove portable-atomic from rngUlf Lilleengen2024-01-241-59/+66
| |
| * rustfmt againUlf Lilleengen2024-01-243-9/+6
| |
| * rustfmtUlf Lilleengen2024-01-241-1/+1
| |
| * feat: add basic support for nRF51 chips to embassy-nrfUlf Lilleengen2024-01-247-7/+213
| |
* | Do not wait when the pwm is disabledMartin Marmsoler2024-01-271-1/+3
| | | | | | Reason: because in this case no seqend event is raised and therefore an infinity loop occurs
* | implement retriving duty.Martin Marmsoler2024-01-271-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
* | nrf/spi: add bit order configMatthew Tran2024-01-262-8/+18
| |
* | add is_enabled() functionMartin Marmsoler2024-01-261-0/+7
| |
* | add documentationMartin Marmsoler2024-01-261-0/+1
| |
* | use constant for the pwm clockMartin Marmsoler2024-01-261-2/+3
|/ | | Description: So it can be used outside of the crate to calculate max duty
* nrf/gpio: remove generics.Dario Nieuwenhuis2024-01-222-53/+62
|
* stm32,nrf: add warning on docs.rs directing the user to docs.embassy.dev.Dario Nieuwenhuis2024-01-111-0/+4
|
* time: split driver into a separate embassy-time-driver crate.Dario Nieuwenhuis2024-01-111-2/+2
|
* Change GPIO inherent methods back to `&self`.Dario Nieuwenhuis2024-01-102-41/+31
| | | | | | | 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.
* Expose rx_delay in nrf qspi configftilde2024-01-051-0/+8
|
* fix: check if sck is some before setting high or lowswanandx2024-01-031-2/+6
|
* fix: info_ref! can't be called on Optionswanandx2024-01-031-1/+1
|
* feat: new_txonly_nosck in spimswanandx2024-01-031-5/+18
|
* feat: new_txonly_nosck in spisswanandx2024-01-031-6/+34
|
* fix: add missing impl block for async qspi multiwriteUlf Lilleengen2024-01-031-0/+3
|
* Reset rx_started state of nrf buffered_uarte on initftilde2023-12-291-0/+1
| | | | | | This was likely forgotten as part of c46418f12. Without this, when creating a uarte instance, dropping it and then creating another instance, this instance would never receive any bytes.
* nrf/gpio: add toggle.Dario Nieuwenhuis2023-12-261-0/+34
|
* [embassy-nrf] auto-documented featuresBarnaby Walters2023-12-221-0/+3
|
* stm32: more docs.Dario Nieuwenhuis2023-12-191-1/+5
|
* feat: support multiwrite flash traits if configuredUlf Lilleengen2023-12-181-0/+3
|
* stm32: add some docs.Dario Nieuwenhuis2023-12-181-13/+12
|
* Update embedded-hal to 1.0.0-rc.3Dario Nieuwenhuis2023-12-142-33/+44
|
* Document how to bind multiple interrupts and handlers in `bind_interrupts!`.Dario Nieuwenhuis2023-12-081-0/+22
|
* nrf52/qspi: avoid infinite busy-wait on QSPI read/write with zero-len ↵Peter Hansen2023-12-031-1/+21
| | | | buffer, fixes #2115
* minimum build code for new APPROTECT is chip type-specificPeter Hansen2023-12-038-2/+10
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-2911-227/+184
|
* nrf/buffered_uarte: fix hang when buffer full due to PPI missing the endrx ↵Dario Nieuwenhuis2023-11-141-21/+58
| | | | | | event. Fixes #2181
* nrf/buffered_uarte: fix missing hwfc enable.Dario Nieuwenhuis2023-11-131-1/+3
|
* Merge pull request #2128 from bugadani/pollDario Nieuwenhuis2023-10-311-1/+1
|\ | | | | | | Drop `futures` dependency in `embassy-nrf`
| * Drop futures dependency in embassy-nrfDániel Buga2023-10-311-1/+1
| |
* | Re-add impl_trait_projectionsDániel Buga2023-10-301-1/+2
|/