aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src/pwm.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-2/+2
|
* pwm: enable pull-down resistors for pins in Drop implementation1-rafael-12025-04-181-0/+8
|
* Enable input mode for PWM pins on RP235x and disable it on drop1-rafael-12025-04-141-0/+10
|
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-54/+26
|
* Fix documentation.Vincenzo Marturano2024-10-251-4/+6
|
* Fixed owned split and implemented split_by_ref.Vincenzo Marturano2024-10-251-20/+60
|
* Fixed mistakes.Vincenzo Marturano2024-10-241-2/+6
|
* Fix missing lifetimeVincenzo Marturano2024-10-241-2/+2
|
* Implemented owned split.Vincenzo Marturano2024-10-241-18/+29
|
* Revert "Add new() method to PwmBatch so it can be istantiated."Vincenzo Marturano2024-10-241-4/+0
| | | | This reverts commit 31662eaeef0762a7c7b9c95aee61a9066d7e447a.
* Add new() method to PwmBatch so it can be istantiated.Vincenzo Marturano2024-10-241-0/+4
|
* Fixed missing trait implementation for PwmOutput.Vincenzo Marturano2024-10-241-0/+4
|
* Allow separate control of duty cycle for each channel in a pwm slice by ↵Vincenzo Marturano2024-10-241-0/+52
| | | | splitting the Pwm driver.
* rustfmtrafael2024-10-211-2/+1
|
* re-export SetDutyCycle for user conveniencerafael2024-10-211-3/+3
|
* embassy_rp: implement pwm traits from embedded_halrafael2024-10-201-0/+42
| | | | • Update crate versions • Implement embedded-hal PWM traits • Add TB6612FNG motor driver example
* Only B pins can be inputs.Caleb Jamison2024-09-241-3/+1
|
* Disable pad isolation on PWM A pins.Caleb Jamison2024-09-241-0/+6
| | | | | Also fixes minor bug for 2040 where A pins didn't have their pull up/down enabled.
* Fix CI, rename private feature, address comments from dirbaio.Caleb Jamison2024-08-121-5/+5
|
* Handle pad isolation everywhere and in the same way.Caleb Jamison2024-08-101-0/+2
|
* Initial rp235x supportCaleb Jamison2024-08-081-0/+45
| | | | Examples have been run, but there is not yet a test suite.
* Add missing word "pin" in rp pwm documentationMikkel2024-06-121-1/+1
| | | It is confusing to read without. The corrected line reads like its 'b' pin counterpart (few lines below).
* rp/pwm: rename channel->slice in args, misc fix.Dario Nieuwenhuis2024-05-211-30/+31
|
* Remove generics from embassy-rpIsmet Handzic2024-05-211-42/+50
|
* Add parameter for enabling pull-up and pull-down in RP PWM input modepawel001002024-04-051-7/+28
|
* rp: remove mod sealed.Dario Nieuwenhuis2024-04-051-7/+5
|
* rename pins data type and the macroAlexandru RADOVICI2024-04-021-40/+40
|
* rename pwm channels to pwm slices, including in documentationAlexandru RADOVICI2024-04-021-8/+8
|
* rename the Channel trait to Slice and the PwmPin to PwmChannelAlexandru RADOVICI2024-04-021-60/+60
|
* rename PWM_CH to PWM_SLICEAlexandru RADOVICI2024-04-021-38/+38
|
* fix minor clippy lints in embassy_rpRafael Bachmann2024-03-181-3/+3
|
* docs: document all embassy-rp public apisUlf Lilleengen2023-12-191-0/+20
| | | | Enable missing doc warnings.
* docs: document spi, rtc and rest of uart for embassy-rpUlf Lilleengen2023-12-191-0/+5
|
* 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
|
* 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)
* rp: update rp-pac.Dario Nieuwenhuis2023-06-161-50/+40
|
* rp: don't use SetConfig trait in PWM and PIO.Dario Nieuwenhuis2023-05-131-8/+4
| | | | | | It was intended to allow changing baudrate on shared spi/i2c. There's no advantage in using it for PWM or PIO, and makes it less usable because you have to have `embassy-embedded-hal` as a dep to use it.
* rp: add PWM apipennae2023-04-231-0/+338