Throttle/Motor Output Explanation

Could anyone explain (or point to) how arduplane takes a speed command and creates the necessary PWM output for motors?