Trouble with the H bridge

well i just got this doubt as someone else posted does Dc or AC matter

haha, well I was unsure if the micro controller could use or convert whichever power source it receives.