AnsweredAssumed Answered

set voltage for GPIO PINS

Question asked by farhan.musthafa on Jan 13, 2016
Latest reply on Jan 13, 2016 by Clive One

May I ask few doubts?

Hi  all, I have already gone through lot of studies regarding to GPIO configuration, TIM initialization and, to generate Pulse signal from one of I/O pins of stm32f4. Now I know the way to set the frequency and other necessary configuration except voltage level.

when I wanted to learn that I need to set the specific voltage for the specific pins.

for instance,
If I have selected Pin (PD12 it is located at TIM4, Channel 1) – I need set 5V output
and,
If I have selected another Pin (PD13 it is located at TIM4, Channel 2) – here I need to set 3.3V output.

what is the way to set the specific voltage for certain pins ?

Thanks for your time. your comments would be greatly appreciated.

Outcomes