Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

ERU output

$
0
0
Hello,

Each GPIO pin can support one of many possible alternate output functions.
In the mentioned example, it is selected as an general purpose output and not as an ERU output (Alternate output function 1).

To do this, the line:
Code:

config.mode = XMC_GPIO_MODE_OUTPUT_PUSH_PULL; // selecting GPO
has to be changed to:
Code:

config.mode = XMC_GPIO_MODE_OUTPUT_PUSH_PULL_ALT1 ;  // selecting alternate output function 1: ERU0.PDOUT0
Regards,
Min Wei

Viewing all articles
Browse latest Browse all 9892

Trending Articles



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