-
Notifications
You must be signed in to change notification settings - Fork 220
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
peripherals type alias #555
Comments
This is a good point. I think the |
(Created #558 to track this) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i think peripherals type names are hard to write and remember currently,
it makes some problem because rust requires you to put type on generic parameters, function arguments or static/const values
for example how can tell what's type of pin d9 on UNO is?
atmega_hal::port::PB1
however names should be different depending on the board
first, maybe we can introduce some macro that parses given value and return the type
iirc this is used in syn with
token!
macroor we can just create type alias
The text was updated successfully, but these errors were encountered: