An electronic speed control module (ESC) is used to control a DC brushless motor using a hardware PWM output on mbed. This type of motor is used in quadcopters. See https://developer.mbed.org/users/4180_1/notebook/using-a-dc-brushless-motor-with-an-rc-esc/ for more info.