# US 5,345,489 A · Timer circuit having comparator comparing contents of counter and register

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 5,345,489 A
- Document ID: US5345489A
- Status: Granted
- Kind: A
- Application number: 08/075,103
- Filed: 1993-06-11
- Granted: 1994-09-06
- Earliest claimed: 1992-06-16
- Assignees: NEC Corporation
- Inventors: Minoru Saitoh
- Web page: https://patentgrep.com/patent/US5345489A

## CPC

- G04F 1/005: {using electronic timing, e.g. counting means (pulse time delay arrangements H03K5/13; modifications of electronic switches for introducing a time delay before switching H03K17/28)}
- G04F 5/00: Apparatus for producing preselected time intervals for use as timing standards (generating clock signals for electric digital computers G06F1/04)
- G04G 3/00: Producing timing pulses (driving circuits for stepping motors G04C3/14; producing preselected time intervals for use as timing standards G04F5/00; pulse technique in general H03K; control, synchronisation, or stabilisation of generators in general H03L)
- G04F: TIME-INTERVAL MEASURING (measuring pulse characteristics G01R, e.g. G01R29/02; in radar or like systems G01S)
- G04G: ELECTRONIC TIME-PIECES

## Abstract

A timer circuit is disclosed which includes a counter counting a clock signal, a register temporarily storing data, and a comparator comparing a count value of the counter with the data stored in the register and producing a signal when the count value of the counter reaches the value represented by the data stored in the register. Further provided in the timer circuit are detection circuit detecting the value of the data stored in the register and producing a detection signal when the register is written with data indicative of a value that is equal to an initial value of the counter and a circuit responding to the detection circuit to cause the register to change the value of the data stored therein to another value that is different from the initial value of the counter.

## Claims

### Claim 1

A timer circuit comprising a counter counting a clock signal, a register temporarily storing data, a comparator comparing a count value of said counter with data stored in said register and producing a coincident signal when the count value of said counter is coincident with the data stored in the register, detection means for detecting data stored in sid register and producing a detection signal when said register is written with data indicative of value that is equal to a initial value of said counter, and changing means responsive to said detection signal for changing a value of the data stored in said register to another value that is different from said initial value of said counter.

### Claim 2 (depends on 1)

The timer circuit sa claimed in claim 1, wherein said register stores data supplied thereto in response to a write-enable signal and said counter is reset to said initial value in response to said write-enable signal.

### Claim 3 (depends on 2)

The timer circuit as claimed in claim 2, wherein said detection means includes a gate circuit decoding the data stored in said register to detect that the value of the data stored in said register is equal to said initial value of said counter.

### Claim 4 (depends on 2)

The timer circuit sa claimed in claim 2, wherein said detection means includes a gate circuit detecting that said register is written with data indicative of the value equal to said initial value of said counter when both of said write-enable signal and said coincident signal are produced.

### Claim 5 (depends on 2)

The timer circuit as claimed in claim 2, wherein said register includes a set terminal and setting means responsive to an active level at said set terminal for setting a content of data stored in said register to said value different from said initial value of said counter, said changing means including means responsive to said detection signal for applying said active level to said set terminal of said register.

### Claim 6 (depends on 2)

The timer circuit as claimed in claim 2, further comprising a logic gate supplied with an output of said comparator, said logic gate inhibiting said coincident signal from passing therethrough when said detection signal is produced and allowing said coincident signal to pass therethrough when said detection signal is not produced.

### Claim 7

A timer circuit comprising a counter counting a clock signal, a register temporarily storing data, interrupt request means for supplying an interrupt request signal to a data processing unit when a count value of said counter reaches a value represented by the data stored in said register, detection means for producing a detection signal when said register is written with data indicative of a value that is equal to an initial value of said counter, and means responsive to said detection signal for issuing a system reset request to said data processing unit, said data processing unit responding to said system reset request to generate a command signal to said register to cause said register to change data stored therein to another data having a value different form said initial value of said counter.

### Claim 8 (depends on 7)

The timer circuit as claimed in claim 7, wherein said interrupt request means includes a comparator producing a coincident signal when the count value becomes equal to a value represented by the data stored said register and a gate circuit responding to said coincident signal to supply said interrupt request signal when said register stores data indicative of a value different from said initial value of said counter.
