aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src/spi.rs
Commit message (Collapse)AuthorAgeFilesLines
* embassy-rp: add support for TX-only, no SCK SPIAlex Strandberg2025-11-241-0/+25
|
* embassy-rp: doc comment spelling passRob Wells2025-10-271-1/+1
| | | | | All changes but one are to documentation comments, and one to an ordinary comment.
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-72/+64
|
* Add `set_config` method to RP SPI driverdstric-aqueduct2024-12-031-18/+34
| | | | | | | | Add a `set_config` method to `Spi` to allow reconfiguring SPI mode after creation. The existing implementation of the `embassy-embedded-hal` trait `SetConfig` is changed to use the new method. Existing uses of `SetConfig` trait may need to explicitly call the trait method to maintain current return type.
* Add tx_dma to async spiConnor2024-10-271-2/+3
|
* Fix CI, rename private feature, address comments from dirbaio.Caleb Jamison2024-08-121-4/+4
|
* Initial rp235x supportCaleb Jamison2024-08-081-6/+92
| | | | Examples have been run, but there is not yet a test suite.
* Use raw slices .len() method instead of unsafe hacks.Dario Nieuwenhuis2024-06-131-9/+6
| | | | Stabilized in 1.79.
* rp: remove mod sealed.Dario Nieuwenhuis2024-04-051-15/+12
|
* docs: document spi, rtc and rest of uart for embassy-rpUlf Lilleengen2023-12-191-0/+31
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-291-61/+47
|
* nrf, rp: update set_configxoviat2023-10-011-1/+4
|
* rp: rename gpio::Pin::io to gpio::Pin::gpiopennae2023-07-311-4/+4
| | | | | | we'll need access to the pin io bank registers for an upcoming fix, and having both `io` and `io_bank` or similar can get confusing quickly. rename `io` to `gpio` to avoid this, and also match the type while there.
* Rename embassy-hal-common to embassy-hal-internal, document it's for ↵Dario Nieuwenhuis2023-07-281-1/+1
| | | | internal use only. (#1700)
* update embedded-hal crates.Dario Nieuwenhuis2023-07-041-16/+4
|
* rp: update rp-pac.Dario Nieuwenhuis2023-06-161-117/+102
|
* rp/spi: enable rxdmae/txdmae only once at init.Dario Nieuwenhuis2023-06-021-19/+8
| | | | see https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/hardware_spi/spi.c#L27-L28
* rp/spi: start rx dma first.Dario Nieuwenhuis2023-06-021-13/+19
|
* Update embedded-hal crates.Dario Nieuwenhuis2023-04-061-0/+1
|
* fix: spi transfer bug and additions to testLachezar Lechev2023-03-261-5/+5
| | | | Signed-off-by: Lachezar Lechev <[email protected]>
* fix: PR commentLachezar Lechev2023-03-241-6/+1
| | | | Signed-off-by: Lachezar Lechev <[email protected]>
* fix(rp): spi transferLachezar Lechev2023-03-201-6/+40
| | | | Signed-off-by: Lachezar Lechev <[email protected]>
* Add missing SPI pinsPedro Ferreira2022-12-251-0/+10
|
* Switch to async-fn-in-traitDario Nieuwenhuis2022-11-251-22/+10
|
* Update embedded-hal versions and explicitly pinUlf Lilleengen2022-09-291-4/+4
|
* Replace futures::future::join -> embassy_futures::join::join.Dario Nieuwenhuis2022-09-221-1/+1
|
* rp: let SPI RX overflow during async writeAlex Martens2022-09-181-18/+17
|
* rp: fix async SPI read and writeAlex Martens2022-09-181-18/+41
|
* Fix dmaHenrik Alsér2022-09-011-32/+6
|
* Reorder argsHenrik Alsér2022-09-011-16/+16
|
* rustfmtHenrik Alsér2022-09-011-1/+2
|
* Remove cfg_ifHenrik Alsér2022-09-011-34/+29
|
* Rearrange new:sHenrik Alsér2022-09-011-62/+114
|
* Change DMA write/read to use raw pointersHenrik Alsér2022-09-011-10/+29
|
* Reorder argsHenrik Alsér2022-09-011-2/+2
|
* transfer_in_placeHenrik Alsér2022-09-011-7/+8
|
* impl embedded-hal-asyncHenrik Alsér2022-09-011-0/+54
|
* exampleHenrik Alsér2022-09-011-5/+79
|
* dmaHenrik Alsér2022-09-011-16/+75
|
* Remove PeripheralRef::into_inner()Dario Nieuwenhuis2022-07-231-6/+13
|
* Rename Unborrowed -> PeripheralRef, Unborrow -> PeripheralDario Nieuwenhuis2022-07-231-22/+22
|
* Update embassy-rpGrant Miller2022-07-231-33/+20
|
* impl SetConfig for rp2040 SPIHenrik Alsér2022-07-091-0/+18
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-25/+5
|
* 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`.
* Update rust nightly, embedded-hal 1.0, embedded-hal-async.Dario Nieuwenhuis2022-03-111-43/+9
|
* rp: impl eh1.0 blocking traitsDario Nieuwenhuis2022-02-151-31/+154
|
* rp: remove OptionalPinDario Nieuwenhuis2022-02-121-25/+63
|
* Add missing `+ 'd` on unborrows.Dario Nieuwenhuis2022-02-101-5/+5
|
* Rename embassy-extras to embassy-hal-commonDario Nieuwenhuis2021-07-291-1/+1
|