A power tool comprising: a housing; a brushless direct current (BLDC) motor including a rotor and a stator having at least three stator windings corresponding to at least three phases of the motor, the rotor being moveable by the stator when the stator windings are appropriately energized within the corresponding phases, each phase being characterized by a corresponding voltage waveform energizing the corresponding stator winding, the motor being configured to operate within an operating voltage range; a power supply interface arranged to receive at least one of AC power from an AC power supply having a first nominal voltage or DC power from a DC power supply having a second nominal voltage, the DC power supply comprising at least one removable battery pack coupled to the power supply interface, the power supply interface configured to output the AC power via an AC power line and the DC power via a DC power line; and a motor control circuit configured to receive the AC power line and the DC power line and supply electric power to the motor at a voltage level corresponding to the operating voltage range of the motor from at least one of the AC power supply and/or the DC power supply, the motor control circuit including: a rectifier circuit configured to convert an alternating signal on the AC power line to a rectified voltage signal on a DC bus line, and a power switch circuit configured to regulate a supply of electric power from at least one of the DC bus line and/or the DC power line to the motor, wherein the motor control circuit further comprises a controller configured to control a switching operation of the power switch circuit, wherein the power switch circuit comprises a plurality of power switches including three pairs of high-side and low-side power switches configured as a three-phase bridge circuit coupled to the phases of the motor. a housing; a brushless direct current (BLDC) motor including a rotor and a stator having at least three stator windings corresponding to at least three phases of the motor, the rotor being moveable by the stator when the stator windings are appropriately energized within the corresponding phases, each phase being characterized by a corresponding voltage waveform energizing the corresponding stator winding, the motor being configured to operate within an operating voltage range; a power supply interface arranged to receive at least one of AC power from an AC power supply having a first nominal voltage or DC power from a DC power supply having a second nominal voltage, the DC power supply comprising at least one removable battery pack coupled to the power supply interface, the power supply interface configured to output the AC power via an AC power line and the DC power via a DC power line; and a motor control circuit configured to receive the AC power line and the DC power line and supply electric power to the motor at a voltage level corresponding to the operating voltage range of the motor from at least one of the AC power supply and/or the DC power supply, the motor control circuit including: a rectifier circuit configured to convert an alternating signal on the AC power line to a rectified voltage signal on a DC bus line, and a power switch circuit configured to regulate a supply of electric power from at least one of the DC bus line and/or the DC power line to the motor, wherein the motor control circuit further comprises a controller configured to control a switching operation of the power switch circuit, wherein the power switch circuit comprises a plurality of power switches including three pairs of high-side and low-side power switches configured as a three-phase bridge circuit coupled to the phases of the motor.