Claims
- 1. A microprocessor comprising:
- a first memory;
- a first bus coupled to the first memory;
- a first processing unit coupled to the first bus, the first processing unit is capable of executing instructions stored in the first memory;
- a second bus coupled to the first memory; and
- a timer unit, the timer unit further comprising:
- a) a second memory;
- b) a third bus coupled to the second memory;
- c) a second processing unit coupled to the second bus and to the third bus, the second processing unit is capable of executing instructions stored in the first memory and is also capable of executing instructions stored in the second memory;
- d) a third memory coupled to the first bus;
- e) a fourth bus coupled to the third memory and to the second processing unit; and
- f) timer logic, the timer logic further comprising:
- i) pin logic coupled to a pin of the microprocessor;
- ii) an event register coupled to the pin logic; and
- iii) a fifth bus coupled to the event register and to the second processing unit.
- 2. A microprocessor according to claim 1 wherein the second processing unit further comprises:
- i) a counter; and
- ii) a sixth bus coupled to the counter and to the event register.
- 3. A microprocessor according to claim 2 wherein the timer means further comprises:
- iv) capture means for storing in the event register a value of the counter in response to an event occurring at the pin; and
- v) match means for continuously comparing a value contained in the event register to a value of the counter.
- 4. A microprocessor comprising:
- a first memory;
- a first bus coupled to the first memory;
- a first processing unit coupled to the first bus, the first processing unit is capable of executing instructions stored in the first memory;
- a second bus coupled to the first memory; and
- a timer unit, the timer unit further comprising:
- a) a second memory;
- b) a third bus coupled to the second memory;
- c) a second processing unit coupled to the second bus and to the third bus, the second processing unit is capable of executing instructions stored in the first memory and is also capable of executing instructions stored in the second memory;
- d) a third memory coupled to the first bus;
- e) a fourth bus coupled to the third memory and to the second processing unit; and
- f) a plurality of timer channels, each of said plurality of timer channels further comprising:
- i) pin logic coupled to a pin of the microprocessor;
- ii) an event register coupled to the pin logic; and
- iii) a fifth bus coupled to the event register and to the second processing unit.
- 5. A microprocessor according to claim 4 wherein the second processing unit further comprises:
- i) a counter; and
- ii) a sixth bus coupled to the counter and to the event register of each of the plurality of timer channels.
- 6. A microprocessor according to claim 5 wherein each of the plurality of timer channels further comprises:
- iv) capture means for storing in the event register a value of the counter in response to an event occurring at the pin; and
- v) match means for continuously comparing a value contained in the event register to a value of the counter.
- 7. A microprocessor according to claim 6 wherein each of the timer channels further comprises:
- vi) service request means for generating a service request signal and for communicating the service request signal to the second processing unit.
- 8. A microprocessor according to claim 7 wherein the timer unit further comprises:
- g) scheduler means for receiving the service request signals from each of the plurality of timer channels' service request means, the scheduler means is coupled to the second processing unit.
- 9. A microprocessor according to claim 8 wherein the third memory further comprises:
- i) a first memory portion coupled to the scheduler means and writable by the first processing unit by means of the first bus, the first memory portion further comprises a plurality of channel priority fields equal in number to the number of the plurality of timer channels; and
- wherein the scheduler means further comprises:
- i) means responsive to the service request signals from each of the plurality of timer channels' service request means and to values stored in each of the channel priority fields to select one of the plurality of timer channels.
Parent Case Info
This is a continuation of application Ser. No. 07/485,204, filed Feb. 26, 1990, now abandoned, which was a continuation of application Ser. No. 07/234,104, filed Aug. 19, 1988, now U.S. Pat. No. 4,926,349.
US Referenced Citations (5)
Continuations (2)
|
Number |
Date |
Country |
Parent |
485204 |
Feb 1990 |
|
Parent |
234104 |
Aug 1988 |
|