You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, PinConfigure is basically just for wiggling the MFP bits to enable peripheral pin muxing. It would be nice if the tool added GPIO pin mode configuration, which would generate lightweight C code to program all the GPIO registers en masse.
When you click on a pin, you could either select its special function (say UART0 TX or PWM1), but you could also choose the GPIO mode. An additional view on the left would show all the configured GPIO pins and further allow you to select their pin mode, slew rate, interrupt, etc.
I know the Nuvoton BSP has methods for doing this, but it seems more logical to have this done as generated init code, which is similar to other platforms that use code-gen tools. It is very common for an EE who designed the board to configure all the pins for the software engineer before handing off the project, so doing that in the GUI tool would be fantastic.
The text was updated successfully, but these errors were encountered:
Right now, PinConfigure is basically just for wiggling the MFP bits to enable peripheral pin muxing. It would be nice if the tool added GPIO pin mode configuration, which would generate lightweight C code to program all the GPIO registers en masse.
When you click on a pin, you could either select its special function (say UART0 TX or PWM1), but you could also choose the GPIO mode. An additional view on the left would show all the configured GPIO pins and further allow you to select their pin mode, slew rate, interrupt, etc.
I know the Nuvoton BSP has methods for doing this, but it seems more logical to have this done as generated init code, which is similar to other platforms that use code-gen tools. It is very common for an EE who designed the board to configure all the pins for the software engineer before handing off the project, so doing that in the GUI tool would be fantastic.
The text was updated successfully, but these errors were encountered: