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 filter; a memory containing a plurality of sets of parameters, each set of parameters comprising parameters for controlling the camera motor and parameters for controlling a transfer function of the filter, wherein each set of parameters is associated with a respective mode of camera operation and, when programmed into the motor driver circuit and filter, causes the motor driver circuit to drive the camera motor and the filter to operate according to the respective mode of camera operation; a control logic module configured to choose which of the plurality of sets of parameters to apply to driving the motor and to apply to the filter, and to generate a signal indicating which set of parameters to apply; and a motor control module configured to receive the signal from the control logic module, apply the chosen set of parameters to the motor driver circuit for driving the camera motor and to the filter for controlling the transfer function of the filter, and command the motor driver circuit to drive the motor in accordance with the applied set of parameters.