All in one motor control MCU HT45F3630 from Holtek. Link here (PDF)
Aimed at the motor speed control product application area, HOLTEK has developed the HT45F3630, which is commonly used in electric drills, electric screwdrivers, lawn mowers and other similar product applications. This MCU provides a group of PWM high voltage and large current output pins which can directly drive Power MOS transistors to reduce their switching losses. Additionally, the device includes integrated over current protection and detection functions and an amplifier which allows the input signal to be amplified by 51 times, requiring a lower value current sense resistance value which will increase the overall efficiency and extend the operating time. When an over current event occurs, the PWM switching will be shut off by hardware to achieve immediate protection.
from Dangerous Prototypes http://ift.tt/2tIWT3v