The invention discloses a micro-controller used for motor control. The micro-controller used for motor control is characterized by comprising a processor, a storage unit, a clock generation unit, a math co-processor, a programmable analog amplifier, an analog-to-digital converter, a motor control unit, a comparator and a bus unit. The processor, the storage unit, the clock generation unit, the math co-processor, the programmable analog amplifier, the analog-to-digital converter, the motor control unit and the comparator are connected via the bus unit.