Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a way to define hardware pins for STM32 in the gpio helpers #819

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

balazsracz
Copy link
Collaborator

  • Adds a constexpr class hierarchy for options related to Stm32 pins. (This comes from the library we use for the CDI definitions.) Represents not just the common options (input, output, pullup) but also hardware pins including Af numbers and open drain.
  • Adds a new Gpio Pin class that can switch between input, output and hardware option.
  • Adds a test, which is not currently running (a different PR is needed for it).

@balazsracz balazsracz requested a review from bakerstu February 3, 2025 21:23
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.

1 participant