Data processor having precise timer output
First Claim
1. A data processor comprising first means for, when activated, producing a pulse signal in response to a clock signal, storage means for temporarily storing control information settable to one of first and second states, said control information being generated by a microprocessor responsive to a level change in a trigger signal, second means responsive to said first state of said control information for deactivating said first means, third means for detecting supply of said trigger signal to produce a detection signal, and fourth means responsive to said second state of said control information and said detection signal for activating said first means, wherein said fourth means establishes a constant time interval between a level change in said trigger signal and output of said pulse signal.
3 Assignments
0 Petitions
Accused Products
Abstract
A data processor is disclosed which shows an improved real time performance by carrying out the starting and clearing operations of a timer in response to an external trigger input. In the timer unit of the unit of the data processor, a flip-flop is set during the low level period of a count enable signal, and a prescaler and a timer are cleared and inactivated by bringing the outputs of OR gates to the-high level. As the count-enable signal goes to the high level, an edge-detection circuit output a detection pulse by detecting a level change of the external trigger signal. The flip-flop is reset by the detection pulse, and the operation of the prescaler is started and a count clock is supplied to the timer to start the counting operation of the timer.
-
Citations
7 Claims
- 1. A data processor comprising first means for, when activated, producing a pulse signal in response to a clock signal, storage means for temporarily storing control information settable to one of first and second states, said control information being generated by a microprocessor responsive to a level change in a trigger signal, second means responsive to said first state of said control information for deactivating said first means, third means for detecting supply of said trigger signal to produce a detection signal, and fourth means responsive to said second state of said control information and said detection signal for activating said first means, wherein said fourth means establishes a constant time interval between a level change in said trigger signal and output of said pulse signal.
- 4. A data processor comprising, a counter enable register whose data is set by a central processing unit, an edge detection circuit which detects a change of a level of a trigger signal input and outputs a detection signal, control means receiving input from said counter enable register and said edge detection circuit, said control means outputting a signal with an inactive level when said set data has a first value and for outputting a signal with an active level during the period until said set data reaches said first value when said set data has a second value and said trigger signal goes to the active level, a prescaler which is inactivated when the output of said control means is at the inactive level and outputs a modified clock signal obtained by scaling an input reference clock when the output of said control means is at the active level, and a timer which is inactivated when said set data is at the first value and is activated when said set data is at the second value and counts the scaled clock output by said prescaler, wherein said control means establishes a constant time interval between a level change in said trigger signal and activation of said timer.
Specification