In one aspect, a control circuit to control a speed of a motor includes a control logic circuit connected to a multifunction port. The control logic circuit is configured to receive a control signal provided at the multifunction port and to provide response signals based on the control signal to place the motor in at least two of a sleep mode, a brake mode and a pulse-width modulation (PWM) mode. The motor control circuit also includes an H-bridge circuit configured to control the motor based on the response signals.