Describe the functionality of a Hall effect sensor in electric motor control.
In electric motor control, a Hall effect sensor detects the rotor's position relative to the stator. This information is crucial for precise timing of current flow through the motor windings, ensuring efficient motor operation and control, particularly in brushless DC motors.