Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: Setting output pin to a default value

$
0
0
Is there a way to have a GPIO output pin be automatically set to 1 instead of the default 0? Or preferbly, is there a way to tell Synergy to ignore a certain pin? My dilemma is that I am configuring a pin as an output and then setting it to 1 in R_BSP_WarmStart(BSP_WARM_START_PRE_C). But between the BSP_WARM_START_PRE_C and the BSP_WARM_START_POST_C events, the R_IOPORT_Init() is called and this will make the output pin go low (I have the pin configured in Synergy as GPIO Output). In my system configuration, I need this pin to go high immediately after reset (prior to setting the clocks) and stay high. -Jeff

Viewing all articles
Browse latest Browse all 23645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>