摘要 |
PROBLEM TO BE SOLVED: To provide a semiconductor device which performs power control so as to be in a standby status as deepest as possible according to a task in execution.SOLUTION: The semiconductor device capable of be in an operation status or a standby status at any of a plurality of standby status levels has a CPU, an interruption control circuit and a hardware control circuit. The CPU compares a first recovery time corresponding to a standby status level which is the shallowest level selected from acceptable standby status levels set for one or more tasks executed immediately before transiting to the standby status with a second recovery time selected from acceptable recovery times set for the one or more tasks executed. The semiconductor device controls the hardware control circuit, by changing the standby status level of the standby status to a second standby status level which has a shorter recovery time than a first recovery time, when determining the first recovery time is longer than the second recovery time as the result of the comparison.SELECTED DRAWING: Figure 2 |