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
I'm using the CH32V203G6U6 and I'm having trouble understanding how alternate pin functions work. From what I can tell, the only code that exists for setting alternate modes for GPIO is in the SealedPin trait. My goal is to use the alternate GPIO functions for SWDIO and SWCLK in a build that I'm doing, but my testing so far suggests that simply setting the pin as an output doesn't override the standard startup behavior of those pins. Any help would be appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using the CH32V203G6U6 and I'm having trouble understanding how alternate pin functions work. From what I can tell, the only code that exists for setting alternate modes for GPIO is in the SealedPin trait. My goal is to use the alternate GPIO functions for SWDIO and SWCLK in a build that I'm doing, but my testing so far suggests that simply setting the pin as an output doesn't override the standard startup behavior of those pins. Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions