aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src
Commit message (Collapse)AuthorAgeFilesLines
* Use saturating_sub to make sure we don't overflowJomer.Dev2024-01-291-2/+2
|
* rp/gpio: remove generics.Dario Nieuwenhuis2024-01-221-63/+62
|
* A rebase ate my doc comment!James Munns2024-01-191-0/+4
|
* Fun Learning about the RP2040 UART impl!James Munns2024-01-191-40/+41
|
* Debugging RSRJames Munns2024-01-191-48/+80
|
* A little more cleanupJames Munns2024-01-191-1/+4
|
* Update with more docs and less panicsJames Munns2024-01-191-23/+95
|
* Add a basic "read to break" functionJames Munns2024-01-191-0/+88
|
* time: split driver into a separate embassy-time-driver crate.Dario Nieuwenhuis2024-01-112-4/+4
|
* Change GPIO inherent methods back to `&self`.Dario Nieuwenhuis2024-01-101-58/+43
| | | | | | | 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.
* Update embedded-hal to v1.0Dario Nieuwenhuis2024-01-091-18/+0
|
* [embassy-rp] auto-documented feature flagsBarnaby Walters2023-12-221-0/+3
|
* ci: use beta, add secondary nightly ci.Dario Nieuwenhuis2023-12-212-2/+0
|
* docs: document all embassy-rp public apisUlf Lilleengen2023-12-1915-11/+294
| | | | Enable missing doc warnings.
* docs: document spi, rtc and rest of uart for embassy-rpUlf Lilleengen2023-12-194-2/+83
|
* docs: embassy-rp rustdoc and refactoringUlf Lilleengen2023-12-197-16/+218
|
* Fix nb on rp uartJames Munns2023-12-181-3/+5
|
* Merge pull request #2281 from dstric-aqueduct/mainDario Nieuwenhuis2023-12-161-1/+1
|\ | | | | | | allow for optional override of `Suspend` event for a UsbDevice
| * Update usb.rsdjstrickland2023-12-131-1/+1
| | | | | | | | - add check of `dev_resume_from_host` interrupt register to catch wake event
* | Update embedded-hal to 1.0.0-rc.3Dario Nieuwenhuis2023-12-141-43/+58
|/
* Document how to bind multiple interrupts and handlers in `bind_interrupts!`.Dario Nieuwenhuis2023-12-081-0/+11
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-297-559/+497
|
* Re-add impl_trait_projectionsDániel Buga2023-10-301-1/+2
|
* Merge pull request #2017 from ilya-epifanov/rp-adc-divDario Nieuwenhuis2023-10-201-2/+6
|\ | | | | | | added sampling frequency setting to adc capture methods on rp2040
| * added sampling frequency setting to adc capture methods on rp2040Ilya Epifanov2023-10-091-2/+6
| |
* | remove trailing spacesRiley Williams2023-10-171-6/+6
| |
* | Grammar and formattingRiley Williams2023-10-171-8/+7
| |
* | Add docs to RP2040 PWMRiley Williams2023-10-171-0/+30
| |
* | time: Update examples, tests, and other code to use new Timer::after_x ↵Adam Greig2023-10-152-4/+4
| | | | | | | | convenience methods
* | Merge pull request #2039 from jcdickinson/rp-i2c-stop-restartDario Nieuwenhuis2023-10-111-2/+13
|\ \ | | | | | | | | | fix (rp i2c): fix restart/stop flags for i2c master methods
| * | fix (rp i2c): fix restart/stop flags for i2c master methodsJonathan Dickinson2023-10-101-2/+13
| |/ | | | | | | | | | | | | | | | | | | Update the start and stop flags for all read/write/read_write methods to match those in the default blocking implementation of these methods (as well as other RP2040 I2C implementations, and expected I2C behavior). Also adds a write_read_async method that doesnt require using embedded-hal, as this is required to use I2C in an idiomatic fashion (see TI Application Report SLVA704).
* / fix (rp i2c): set i2c slew rate to spec valueJonathan Dickinson2023-10-102-36/+23
|/ | | | | | | | | The RP2040 datasheet indicates that I2C pins should have a limited slew rate (Page 440 - 4.3.1.3.). This configures that for both `I2c` and `I2cSlave`. In addition, the pin configuration has been centralized to a single fn.
* Merge pull request #2018 from jamesmunns/add-derivesDario Nieuwenhuis2023-10-072-3/+3
|\ | | | | | | Add some uncontroversial derives to Error types
| * Add missing deriveJames Munns2023-10-071-1/+1
| |
| * Add some uncontroversial derives to Error typesJames Munns2023-10-062-2/+2
| |
* | rp/bootsel: change it to a method on the peripheral.Dario Nieuwenhuis2023-10-072-9/+12
| |
* | rp2040: implement BOOTSEL button supportScott Mansell2023-10-072-0/+82
| |
* | rp2040: move in_ram helper outside of Flash's implScott Mansell2023-10-071-39/+39
|/ | | | Allow it to be called from other modules.
* Remove a few ultra-verbose logs.Dario Nieuwenhuis2023-10-032-11/+1
| | | | | | They're heavily spamming logs for HIL tests, and I don't believe they're valuable now that the thing they helped debug in their young age is now solid and mature.
* Remove impl_trait_projections.Dario Nieuwenhuis2023-10-021-1/+1
|
* feat: allow schmitt, slew, and drive strength be set from Flex, Input, OutputJonathan Dickinson2023-10-011-0/+38
| | | | Allows the schmitt, slew and drive strength to be set from Flex. Input and Output[OpenDrain] also expose the appropriate setters.
* nrf, rp: update set_configxoviat2023-10-011-1/+4
|
* Make irq token Copy+CloneDario Nieuwenhuis2023-09-251-1/+2
|
* rp: remove paste macro.Dario Nieuwenhuis2023-09-181-8/+33
|
* Fixing my git-based mistakesCaleb Jamison2023-09-103-492/+15
|
* Add example, fix small bug in respond_and_fillCaleb Jamison2023-09-101-0/+12
|
* I2c slave take 2Caleb Jamison2023-09-103-1/+481
| | | | | | refactored to split modules renamed to match upstream docs slight improvement to slave error handling
* Rename to match upstream docsCaleb Jamison2023-09-102-8/+8
|
* Remove debug printsCaleb Jamison2023-09-101-2/+0
|
* rp2040 I2cDeviceCaleb Jamison2023-09-103-165/+494
| | | | | | | | Move i2c to mod, split device and controller Remove mode generic: I don't think it's reasonable to use the i2c in device mode while blocking, so I'm cutting the generic.