Energy friendly microcontrollers