Skip to content

Conversation

@usbalbin
Copy link
Member

No description provided.

usbalbin and others added 6 commits December 6, 2024 18:01
* Implement SpiBus from embedded-hal 1

* i2c: implement embedded-hal traits

* gpio: implement embedded-hal 1 digital traits

* pwm: implement SetDutyCycle from embedded-hal 1

* delay: temporary DelayNs impl (μs-resolution)

* serial: implement embedded-io traits for UART

* bump hal-1, remove ToggleableOutputPin impls

* remove embedded-hal 0.2 from prelude, rename hals

embedded-hal 1.0 renamed from embedded-hal-one to embedded-hal
embedded-hal 0.2 renamed from embedded-hal to embedded-hal-old, still
re-exported as hal-02

* pwm: use set_duty_cycle_percent in example

* run cargo fmt

* remove unused dependencies

I had added them by accident for an example that didn't end up in the PR

* time: fix duration variable names, add doc

* docs: fix cargo doc warnings

* Try to make syst delay work as before

* Cleanup examples

---------

Co-authored-by: techmccat <[email protected]>
@usbalbin usbalbin marked this pull request as ready for review January 27, 2025 21:42
@usbalbin usbalbin merged commit 79867ef into stm32-rs:staged-pac Jan 27, 2025
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants