Error driven interrupt for polled MPU systems
AssigneeMotorola, Inc.
InventorsEdward C. Hepworth, Rodney J. Means
Life of this patent
Estimating the term…
Abstract
A data processing system in which a central processor polls one or more peripheral devices to initiate a data transfer or to enable a data transfer. The system includes logic associated with a peripheral device or with an interface device for sensing the occurrence of data handling errors such as parity errors, carrier loss, clear to send loss, data overrun or underflow, and for interrupting the central processor upon such occurrence to avoid polling that peripheral device unnecessarily. A status signal is also generated to inform the processor of the nature of the interrupt, so as to distinguish from, for example, the interrupt of another device which is operative to communicate by means of such interrupt rather than by polling.
Claims8
A data processing system comprising:
- (a) a processing unit;
- (b) a plurality of peripheral devices;
- (c) means coupled by a bus means to said processing unit and said peripheral devices for transferring digital data therebetween;
- (d) polling means within said processing unit for periodically sequentially addressing said peripheral devices to enable a data transfer between said peripheral devices and said processing unit;
- (e) means for signalling the occurrence of data handling errors in one of said peripheral devices;
- (f) means, responsive to a signal from said means for signalling upon the occurrence of an error, for interrupting the polling operation of said processing unit;
- (g) second means responsive to said means for signalling the occurrence of data handling errors for indicating to the processing unit upon the occurrence of an error the nature of the interrupt of said processing unit;
- and
- (h) means responsive to the absence of said signal for completing a data transfer, whereby a polling operation automatically assumes a valid data transfer in the absence of said signal.
In a data processing system comprising a central processing unit and a plurality of peripheral devices connected thereto by means of a data bus, at least one of said peripheral devices having an interface device between it and said bus, the improvement comprising:
- (a) polling means for periodically addressing said peripheral devices to allow transmission of data from said CPU to an addressed peripheral device or from said addressed peripheral device to said CPU,
- (b) said at least one peripheral device having means for detecting data handling errors associated with said one peripheral device,
- (c) said interface device having means responsive to said means for detecting errors for generating an interrupt signal upon occurrence of an error, and
- (d) means associated with said CPU responsive to said interrupt signal for halting further polling until said interrupt signal is removed, and whereby a polling operation automatically assumes a valid data transfer in the absence of said interrupt signal.
Dependencies are inferred from the claim text.