1) A microcontroller does not (can not) drive a motor directly. You need some sort of driver or controller.
2) (there are motor controllers that will vary motor speed based on a variable voltage. They're not common.)
3) The peripheral that would give you a variable output voltage from a microcontroller is called a "Digital to Analog Converter" or DAC. These are also relatively uncommon, but the KL25Z *does* have one.
4) It's more common to use PWM to control DC motor speed. The KL25Z also has PWM outputs. (they'll still need a driver to run a motor, but the driver is simpler than the one you'd need to use with the DAC.)