aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/twim.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix copy paste bug in i2c pullup ?Kezi2025-12-121-1/+1
|
* feat: improve nrf54 support using new nrf-pacUlf Lilleengen2025-10-281-13/+31
| | | | | | | | | | | | | * 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-1/+1
|
* nrf/uart,timer: erase instance generics.Dario Nieuwenhuis2025-09-281-2/+0
|
* nrf/twim: erase instance genericsDario Nieuwenhuis2025-09-271-34/+41
|
* doc fixesRobin Mueller2025-09-231-2/+2
|
* Add docsAlex Moon2025-04-291-0/+6
|
* Make the nrf Twim RAM buffer a instance variable instead of stack allocatedAlex Moon2025-04-181-142/+23
|
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-9/+7
|
* panic when events_error is set in twim without errorsrcdragonn2025-01-081-4/+1
|
* remove self from check_errorsrc to make it work in async_waitdragonn2025-01-081-3/+3
|
* use check_errorsrc instead of matching again on errorsrc bitsdragonn2025-01-081-7/+2
|
* nrf twim return errors in async_waitdragonn2025-01-081-4/+17
|
* nrf: port to chiptool-based `nrf-pac`.Dario Nieuwenhuis2024-11-041-126/+112
|
* Refactoring and cleanupAlex Moon2024-10-231-86/+95
|
* Remove support for consecutive Read operationsAlex Moon2024-10-231-132/+57
| | | | Due to Twim hardware limitations
* Add support for transactions to Twim in embassy-nrfAlex Moon2024-10-231-244/+377
|
* nrf: remove mod sealed.Dario Nieuwenhuis2024-04-051-19/+16
|
* nrf: Remove useless lifetimesPriit Laes2024-02-171-4/+4
|
* nrf: Remove useless borrowsPriit Laes2024-02-171-2/+2
|
* nrf: Use .is_empty() instead of .len() == 0Priit Laes2024-02-171-3/+3
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-291-62/+53
|
* nrf, rp: update set_configxoviat2023-10-011-2/+5
|
* nrf: twim: Use SetConfig trait to reduce code duplicationPriit Laes2023-09-101-4/+5
|
* Rename embassy-hal-common to embassy-hal-internal, document it's for ↵Dario Nieuwenhuis2023-07-281-1/+1
| | | | internal use only. (#1700)
* Make interrupt module more standard.Dario Nieuwenhuis2023-06-081-6/+6
| | | | | | | | | | | | - 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`.
* cortex-m: remove owned interrupts.Dario Nieuwenhuis2023-06-011-3/+3
|
* Fix some typosDirk Stolle2023-05-081-1/+1
|
* Update embedded-hal crates.Dario Nieuwenhuis2023-04-061-37/+10
|
* nrf/twim: switch to new interrupt binding.Dario Nieuwenhuis2023-03-061-20/+27
|
* nrf: docs.Dario Nieuwenhuis2023-02-011-18/+55
|
* Switch to async-fn-in-traitDario Nieuwenhuis2022-11-251-18/+10
|
* Update embedded-hal versions and explicitly pinUlf Lilleengen2022-09-291-3/+3
|
* Replace futures::future::poll_fn -> core::future::poll_fn.Dario Nieuwenhuis2022-09-221-2/+1
|
* Do not use cfg_if for embedded-hal-async feature gates.Dario Nieuwenhuis2022-08-311-30/+30
| | | | Old code used `cfg_if!` because rustc still parses code inside disabled cfg's, and Rust stable at that time couldn't parse the new GAT where-clause location. This is not the case anymore.
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-221-1/+1
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-181-2/+2
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-291-3/+3
|
* nrf: replace PhantomData usages with PeripheralRef.Dario Nieuwenhuis2022-07-231-6/+5
|
* Rename Unborrowed -> PeripheralRef, Unborrow -> PeripheralDario Nieuwenhuis2022-07-231-8/+8
|
* Associated typeHenrik Alsér2022-07-091-2/+3
|
* Shared buses with SetConfigHenrik Alsér2022-07-081-0/+10
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-67/+21
|
* Add embassy-cortex-m crate.Dario Nieuwenhuis2022-06-121-2/+2
| | | | | | - 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/twim: allow zero length transfers.Dario Nieuwenhuis2022-06-071-10/+14
|
* nrf/twim: add blocking methods variants with timeout.Dario Nieuwenhuis2022-05-031-0/+124
|
* nrf/twim: add option for high drive.Dario Nieuwenhuis2022-05-031-2/+14
|
* Update rust nightly, embedded-hal 1.0, embedded-hal-async.Dario Nieuwenhuis2022-03-111-40/+31
|
* Move EasyDMA documentation to module levelTil Blechschmidt2022-03-081-1/+7
|
* Refactor _from_ram methods to use more readable copy operationTil Blechschmidt2022-03-021-11/+6
|