Generating PWM from PID to control DC motor

i knw timer but i am confused in PID output , that how pid output can be converted into our pwm