Scheduling events in a microprocessor using a plurality of delta time registers arranged as a sequence buffer and indicating a sequence position of the sequence buffer to process an event
First Claim
Patent Images
1. A microcontroller comprising:
- a central processing unit (CPU);
a plurality of peripherals; and
a programmable scheduler unit comprising;
a timer being clocked by an independent clock signal;
a comparator coupled with a timer register of said timer and having an output generating an output signal;
an event register coupled with said comparator;
a plurality of delta time registers arranged as a sequence buffer;
an arithmetic logic unit controlled by the output signal of the comparator and comprising first and second inputs and an output, wherein the first input is coupled with the timer register or the event register and the second input is coupled with the delta time register and the output is coupled with the event register; and
an event logic unit receiving the output signal of the comparator and an output signal of said sequence buffer indicating a sequence position and controlling said arithmetic logic unit and event register and said sequence position is taken into consideration to process an event wherein said event logic unit is configured to generate a plurality of output signals.
15 Assignments
0 Petitions
Accused Products
Abstract
A microcontroller has a central processing unit (CPU), a plurality of peripherals, and a programmable scheduler unit with: —a timer being clocked by an independent clock signal; —a comparator coupled with a timer register of said timer and having an output generating an output signal; —an event register coupled with said comparator; —a delta time register; and —an arithmetic logic unit controlled by the output signal of the comparator and with first and second inputs and an output, wherein the first input is coupled with the timer register or the event register and the second input is coupled with the delta time register and the output is coupled with the event register.
-
Citations
32 Claims
-
1. A microcontroller comprising:
-
a central processing unit (CPU); a plurality of peripherals; and a programmable scheduler unit comprising; a timer being clocked by an independent clock signal; a comparator coupled with a timer register of said timer and having an output generating an output signal; an event register coupled with said comparator; a plurality of delta time registers arranged as a sequence buffer; an arithmetic logic unit controlled by the output signal of the comparator and comprising first and second inputs and an output, wherein the first input is coupled with the timer register or the event register and the second input is coupled with the delta time register and the output is coupled with the event register; and an event logic unit receiving the output signal of the comparator and an output signal of said sequence buffer indicating a sequence position and controlling said arithmetic logic unit and event register and said sequence position is taken into consideration to process an event wherein said event logic unit is configured to generate a plurality of output signals. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method of operating a microcontroller comprising a central processing unit (CPU),
a plurality of peripherals; - and
a programmable scheduler unit; the method comprising; programming a time value into timer register of a timer; programming a plurality of predefined delta time values within a sequence buffer; wherein if said event register matches said timer register, the scheduler unit automatically generates an event and adding the time value or a new time value to said event register, further comprising processing said event to generate a plurality of output signals, wherein to process said event a sequence position of said sequence buffer is taken into consideration. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
- and
Specification