Skip to content

Conversation

astapleton
Copy link
Member

  • Add DynamicPin to allow for dynamic pin mode changes
  • Add type conversion functions for pin configuration

This is taken directly from the implementation in stm32h7xx-hal.

@astapleton astapleton requested a review from richardeoin August 13, 2024 19:09
astapleton added a commit that referenced this pull request Oct 8, 2024
This adds the basic outline functionality for the GPIO module and will
form the base for follow-up PRs (see #19, #20, #21) to round out the
GPIO functionality.

The gpio module is largely based on/copied from the implementation in
[stm32h7xx-hal](https://github.com/stm32-rs/stm32h7xx-hal).
Base automatically changed from as/gpio-base to master October 8, 2024 20:49
@astapleton astapleton force-pushed the as/gpio-dynamic branch 3 times, most recently from 3c0210b to 1c4cfd6 Compare October 15, 2024 17:09
@astapleton
Copy link
Member Author

The version check failing is addressed by #25

@astapleton astapleton merged commit f3b4914 into master Oct 29, 2024
15 checks passed
@astapleton astapleton deleted the as/gpio-dynamic branch October 29, 2024 22:45
astapleton added a commit that referenced this pull request Jan 10, 2025
This implements SPI Master mode for Full duplex, half duplex and simplex
transfers. All transmit operations are tested properly, and full duplex
transfers looped back to itself (MISO, MOSI connected together) are
tested.

It also implements the SpiBus and SpiDevice embedded-hal traits, as
demonstrated by the examples. Notably, the SpiDevice trait doesn't
currently support delays. This will be addressed in a follow on PR, as
will slave operation.
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