rafael
7fc09f89e8
embassy_rp: implement pwm traits from embedded_hal
...
• Update crate versions • Implement embedded-hal PWM traits • Add TB6612FNG motor driver example
2024-10-20 23:28:47 +02:00
Caleb Jamison
b743dce8e4
Only B pins can be inputs.
2024-09-24 18:55:05 -04:00
Caleb Jamison
a498bf11af
Disable pad isolation on PWM A pins.
...
Also fixes minor bug for 2040 where A pins didn't have their pull
up/down enabled.
2024-09-24 18:45:20 -04:00
Caleb Jamison
778241fd71
Fix CI, rename private feature, address comments from dirbaio.
2024-08-12 04:32:31 -04:00
Caleb Jamison
9a863f07fe
Handle pad isolation everywhere and in the same way.
2024-08-10 17:36:28 -04:00
Caleb Jamison
b185e02a42
Initial rp235x support
...
Examples have been run, but there is not yet a test suite.
2024-08-08 21:35:21 -04:00
Mikkel
d08639f643
Add missing word "pin" in rp pwm documentation
...
It is confusing to read without. The corrected line reads like its 'b' pin counterpart (few lines below).
2024-06-12 14:56:21 +02:00
Dario Nieuwenhuis
e55f31bdc6
rp/pwm: rename channel->slice in args, misc fix.
2024-05-21 23:41:45 +02:00
Ismet Handzic
24032d0853
Remove generics from embassy-rp
2024-05-21 23:35:06 +02:00
pawel00100
143b288333
Add parameter for enabling pull-up and pull-down in RP PWM input mode
2024-04-05 01:20:34 +02:00
Dario Nieuwenhuis
a84b33995e
rp: remove mod sealed.
2024-04-05 00:48:46 +02:00
Alexandru RADOVICI
7c36e8dbc7
rename pins data type and the macro
2024-04-02 20:05:46 +03:00
Alexandru RADOVICI
d35572c11f
rename pwm channels to pwm slices, including in documentation
2024-04-02 19:50:30 +03:00
Alexandru RADOVICI
7b9546c9c8
rename the Channel trait to Slice and the PwmPin to PwmChannel
2024-04-02 19:42:37 +03:00
Alexandru RADOVICI
aa9eb2ab01
rename PWM_CH to PWM_SLICE
2024-04-02 17:20:35 +03:00
Rafael Bachmann
255ed29853
fix minor clippy lints in embassy_rp
2024-03-18 23:28:58 +01:00
Ulf Lilleengen
f4b77c967f
docs: document all embassy-rp public apis
...
Enable missing doc warnings.
2023-12-19 14:19:46 +01:00
Ulf Lilleengen
486b67e895
docs: document spi, rtc and rest of uart for embassy-rp
2023-12-19 11:26:08 +01:00
Riley Williams
6906cc9c25
remove trailing spaces
2023-10-17 19:30:53 -04:00
Riley Williams
cb211f88d3
Grammar and formatting
2023-10-17 19:17:29 -04:00
Riley Williams
3f262a2603
Add docs to RP2040 PWM
2023-10-17 19:05:35 -04:00
pennae
e6d4043279
rp: rename gpio::Pin::io to gpio::Pin::gpio
...
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.
2023-07-31 18:28:31 +02:00
Dario Nieuwenhuis
036e6ae30c
Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. ( #1700 )
2023-07-28 13:23:22 +02:00
Dario Nieuwenhuis
837ebe405f
rp: update rp-pac.
2023-06-16 01:41:07 +02:00
Dario Nieuwenhuis
2fcdfc4876
rp: don't use SetConfig trait in PWM and PIO.
...
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.
2023-05-13 02:13:26 +02:00
pennae
a4866ad278
rp: add PWM api
2023-04-23 22:49:15 +02:00