Method for preventing process collision of micro controller
First Claim
Patent Images
1. A method for preventing process collision of a micro controller, comprising:
- providing at least a first process and a second process, wherein the first process is executed by the micro controller in every first period, the second process is executed by the micro controller in every second period, and the first period is shorter than the second period;
when collision of the first process and the second process will happen in the second period, the executing time of the second process is shifted a predetermined time; and
wherein when process collision will happen at the least common multiple time of N execution periods, the execution of the lth process is delayed l times of the predetermined time, N and l are natural numbers and 0<
l<
=N.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for preventing process collision of a micro controller is disclosed. The method includes the following steps. At least a first process and a second process are provided, wherein the first process is executed by the micro controller in every first period, the second process is executed by the micro controller in every second period, and the first period is shorter than the second period. When collision of the first process and the second process may happen in the second period, the executing time of the second process is shifted a predetermined time.
5 Citations
5 Claims
-
1. A method for preventing process collision of a micro controller, comprising:
-
providing at least a first process and a second process, wherein the first process is executed by the micro controller in every first period, the second process is executed by the micro controller in every second period, and the first period is shorter than the second period; when collision of the first process and the second process will happen in the second period, the executing time of the second process is shifted a predetermined time; and wherein when process collision will happen at the least common multiple time of N execution periods, the execution of the lth process is delayed l times of the predetermined time, N and l are natural numbers and 0<
l<
=N. - View Dependent Claims (2, 3, 4, 5)
-
Specification