for making my own variable constant current and constant voltage supplySimply put a reference voltage into the FB (Feed-Back) Pin from your controller,
super easy, very efficient.
And I have to ask .......
Why do you want to control a Power Supply Voltage with a Micro-Controller ????
.
.
.