摘要 |
An electronic device with an overclocking mode includes a processor, a memory storing a first range and a second range, and a digital controller which includes a first register, a second register, a monitor module, a determining module, a first writing module, an implementing module, and a second writing module. The monitor module monitors a value of current of the processor. The determining module determines whether the current is within the first range. The first writing module writes the current value in the first register. The implementing module reduces a value from the current value to acquire a new current value. The second writing module writes the new current value in the second register. The processor reads the new current value, detects whether the new current value is within the second range, and keeps itself in the overclocking mode when the new current value is within the second range.
|