1. A system for controlling a camera motor comprising: a motor driver circuit for driving the camera motor, wherein the motor driver circuit is capable of changing operation of the motor based on parameters applied to the motor driver circuit; a memory containing one or more sets of parameters for controlling the camera motor, wherein each set of parameters is associated with a respective mode of camera motor operation and, when programmed into the motor driver circuit, causes the motor driver circuit to drive the camera motor according to the respective mode of camera motor operation; a control logic module configured to choose which of the one or more sets of parameters to apply to driving the motor, and to generate a signal indicating which set to apply; and a motor control module configured to receive the signal from the control logic module, apply the set of parameters to the motor driver circuit for driving the camera motor, and command the motor driver circuit to drive the motor in accordance with the applied set of parameters.