-
Notifications
You must be signed in to change notification settings - Fork 45
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
Symbol style guidelines #114
Comments
I like this idea.
|
Also maybe @cillian64 or @JMW95 will have some thoughts on this |
Regarding alternate functions:
|
I think for something like a microcontroller, each pin has too many alternate functions to make it sensible to list any. Even SPI1_NSS will appear in loads of different places and often on pins that are also I²C and UART at the same time. On devices with just one alternate function it might be more reasonable (e.g. the rpi symbol). On the many special purpose chips where pins have maybe two functions (e.g. strapping as you mention, or trim/softstart on vregs) and they have both functions in the name on the datasheet then I think it makes more sense to name them like that. Changing the order depending on side sounds like it will just lead to too much trouble thanks to rotation, so I don't think it's worth doing. What different format can you think of? Like using A_B vs A/B? |
Well, the ESP32 symbol I added recently uses A-B, but I think the forwardslash is probably the best option for everything. (Incidentally I believe even the RPi has the capability to remap pins but it seems like there's a very strong convention there.) |
|
|
@russss |
Assuming we are willing to make some deviations from datasheets (which are usually awful), it would be good to have a consistent style for pin naming. For example:
~RST~
The text was updated successfully, but these errors were encountered: