JPH0434475Y2 - - Google Patents

Info

Publication number
JPH0434475Y2
JPH0434475Y2 JP1986125228U JP12522886U JPH0434475Y2 JP H0434475 Y2 JPH0434475 Y2 JP H0434475Y2 JP 1986125228 U JP1986125228 U JP 1986125228U JP 12522886 U JP12522886 U JP 12522886U JP H0434475 Y2 JPH0434475 Y2 JP H0434475Y2
Authority
JP
Japan
Prior art keywords
alarm
display
sweep
flag
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP1986125228U
Other languages
Japanese (ja)
Other versions
JPS6331394U (en
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed filed Critical
Priority to JP1986125228U priority Critical patent/JPH0434475Y2/ja
Publication of JPS6331394U publication Critical patent/JPS6331394U/ja
Application granted granted Critical
Publication of JPH0434475Y2 publication Critical patent/JPH0434475Y2/ja
Expired legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Description

【考案の詳細な説明】 〔考案の技術分野〕 本考案は、アラーム機能を備えた電子時計に関
する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to an electronic watch with an alarm function.

〔従来技術〕[Prior art]

近年、大容量のメモリを備えた電子時計が開発
され、このメモリに電話番号やスケジユール等を
記憶させることによつて、電話帳や手帳としても
使用されている。このようなデータメモリ機能を
有する電子時計では、例えばスケジユールを表示
する場合に、そのスケジユールを一度に表示する
と、表示部の大きさに制限があるため、各文字は
小さく表示されることになる。従つて、このよう
な表示法では、スケジユールの文字数が多くなる
ほど各文字は小さくなり、見にくいものとなる。
そこで、文字を一方向に流れるように表示するス
イープ表示法により表示することが提案され、こ
のスイープ表示法によると、各文字を大きくでき
るため、大変見やすいものとなる。
In recent years, electronic watches equipped with large-capacity memories have been developed, and by storing telephone numbers, schedules, etc. in this memory, they are also used as telephone directories and notebooks. In an electronic watch having such a data memory function, when displaying a schedule, for example, if the schedule is displayed all at once, each character will be displayed small because the size of the display section is limited. Therefore, in such a display method, the larger the number of characters in the schedule, the smaller each character becomes, making it harder to see.
Therefore, it has been proposed to display the characters by a sweep display method in which the characters flow in one direction. According to this sweep display method, each character can be made larger, making it very easy to read.

〔従来技術の問題点〕[Problems with conventional technology]

ところで、スケジユール等をメモリに記憶させ
る場合、メモリのデータは表示データに直されて
表示RAMに記憶され、このRAMの1ビツトデ
ータが表示部の1ドツトに対応して記憶される。
表示部としては、例えば液晶表示素子が使用され
る。そして、前述のようなスイープ表示を行う場
合は、RAMに記憶されたデータをRAM上にお
いて一方向に順次シフトさせたり、或いはRAM
の内容がシフトされるように書き換えることによ
つて、文字が流れるように表示される。しかし、
このようなスイープ表示法では、ドツト数が多く
なつたり、あるいはスイープ速度が速くなつたり
した場合、これに応じてそのスイープ処理に時間
を要することになる。従つて、スイープ処理中に
アラームが鳴つた場合、時計の制御部はスイープ
処理に時間を要するので、アラームが正常に鳴ら
ず、アラーム音が乱れる問題があつた。
By the way, when a schedule or the like is stored in a memory, the data in the memory is converted into display data and stored in a display RAM, and one bit of data in this RAM is stored in correspondence to one dot on the display section.
For example, a liquid crystal display element is used as the display section. When performing a sweep display as described above, the data stored in the RAM is shifted sequentially in one direction on the RAM, or the data stored in the RAM is
By rewriting the contents so that they are shifted, the characters are displayed in a flowing manner. but,
In such a sweep display method, when the number of dots increases or the sweep speed increases, the sweep process requires a corresponding amount of time. Therefore, when an alarm sounds during the sweep process, the control section of the watch requires time to perform the sweep process, so there is a problem that the alarm does not sound properly and the alarm sound is disturbed.

〔考案の目的〕[Purpose of invention]

本考案は、上記問題点に鑑み、アラーム音をい
かなる場合であつても正常に鳴らせるようにした
電子時計を提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above-mentioned problems, it is an object of the present invention to provide an electronic timepiece that can make an alarm sound normally under any circumstances.

〔考案の要点〕[Key points of the idea]

本考案は、上記目的を達成するために、スイー
プ表示中にアラーム時刻に達したときに、そのス
イープ表示を強制的に停止させることにより、ア
ラーム音を正常に鳴らすようにしたものである。
In order to achieve the above object, the present invention is such that when the alarm time is reached during a sweep display, the sweep display is forcibly stopped so that an alarm sound is normally sounded.

〔考案の実施例〕[Example of idea]

以下、本考案の実施例を図面を参照して詳細に
説明する。第1図は本考案の一実施例の構成を示
す回路ブロツク図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a circuit block diagram showing the configuration of an embodiment of the present invention.

第1図において、1は水晶振動子を用いて所定
周波数のクロツク信号を発生する発振器であつ
て、発振器1によつて作成されたクロツク信号は
分周回路2及びタイミングジエネレータ3に送出
される。分周回路2は、発振器1から送られてき
た前記クロツク信号を分周して一定周期の計時信
号及びブザーを鳴らすためのブザー駆動信号等を
生成する。前記計時信号は後述する計時処理等に
使用され、ブザー駆動信号はブザー駆動部17に
送られブザー音の発生に用いられる。タイミング
ジエネレータ3は、発振器1から送られてくる前
記クロツク信号を一定周波数に分周して、各ブロ
ツクを時系列的に制御するタイミング信号を出力
するとともに、RAM4及びRAM5のアクセス
を制御するチツプ・イネーブル信号(CE4,CE
5)の制御を行う。RAM4は、小容量のランダ
ム・アクセス・メモリ(RAM)であつて、現在
時刻等の計時データ並びに制御用データ等のアク
セス頻度の高いデータを記憶する。一方、RAM
5は、電話番号やスケジユール等のデータバンク
用データを記憶する大容量のランダム・アクセ
ス・メモリ(RAM)である。
In FIG. 1, reference numeral 1 denotes an oscillator that generates a clock signal of a predetermined frequency using a crystal resonator, and the clock signal generated by the oscillator 1 is sent to a frequency dividing circuit 2 and a timing generator 3. . The frequency dividing circuit 2 divides the frequency of the clock signal sent from the oscillator 1 to generate a constant cycle time measurement signal, a buzzer drive signal for sounding a buzzer, and the like. The time measurement signal is used for time measurement processing, which will be described later, and the buzzer drive signal is sent to the buzzer drive section 17 and used to generate a buzzer sound. The timing generator 3 divides the clock signal sent from the oscillator 1 into a constant frequency, outputs a timing signal for controlling each block in time series, and is also a chip for controlling access to RAM4 and RAM5.・Enable signal (CE4, CE
5). The RAM 4 is a small-capacity random access memory (RAM) that stores frequently accessed data such as clock data such as the current time and control data. On the other hand, RAM
5 is a large capacity random access memory (RAM) that stores data bank data such as telephone numbers and schedules.

前記RAM4及びRAM5のアクセスは、前記
チツプ・イネーブル信号(CE)が“H”(ハイレ
ベル)になつた時に可能となり、この制御は前述
の如く、タイミングジエネレータ3によつて行わ
れる。キー入力部6は、スイツチS1,S2やデータ
バンク用データを入力するためのデータ入力部を
備えており、操作されたスイツチS1,S2に関する
キー入力信号を、ROMアドレス制御部7に出力
するとともに、データ入力部から入力されたデー
タをRAM4内部の作業レジスタ等に記憶させ
る。
Access to the RAM 4 and RAM 5 becomes possible when the chip enable signal (CE) becomes "H" (high level), and this control is performed by the timing generator 3 as described above. The key input unit 6 includes a data input unit for inputting data for the switches S 1 and S 2 and the data bank, and inputs key input signals related to the operated switches S 1 and S 2 to the ROM address control unit 7. At the same time, the data input from the data input section is stored in a working register or the like inside the RAM 4.

ROMアドレス制御部7は、前記キー入力信号
を基にROM8のアドレスを作成し、そのアドレ
スをROM8に供給する。ROM8は、電子時計
全体の制御を行うマイクロプログラムやデータを
記憶しているリード・オンリー・メモリー
(Read Only Memory)であり、ROMアドレス
制御部7から送られるアドレスを基に、マイクロ
命令RA,D,OP,NAを並列的に出力する。マ
イクロ命令RAは、RAM4のアドレス信号であ
り、データバスAを介しRAM4に入力する。
The ROM address control section 7 creates an address for the ROM 8 based on the key input signal, and supplies the address to the ROM 8. The ROM 8 is a read only memory that stores microprograms and data that control the entire electronic watch, and based on the address sent from the ROM address control unit 7, it executes micro instructions RA and D. , OP, and NA are output in parallel. Microinstruction RA is an address signal for RAM 4, and is input to RAM 4 via data bus A.

マイクロ命令RAを入力するとRAM4は、マ
イクロ命令RAの指定するアドレスのデータを後
述する表示バツフア10、マルチプレクサ12及
びRAM5等に出力する。マイクロ命令Dは、英
数字データ等のデータ情報並びにRAM5のアド
レス情報であり、データバスBを介しRAM5、
RAMアドレス制御部18及びマルチプレクサ1
2に出力される。また、マイクロ命令OPはオペ
レーシヨンコードであり、データバスCを介しコ
ントロール部13に送られる。コントロール部1
3は、マイクロ命令OPを入力すると、そのオペ
レーシヨン・コードに基づいて制御信号aを
ROMアドレス制御部7に出力し、ROMアドレ
ス制御部7の制御を行うと共に、制御信号b,c
をタイミングジエネレータ3に出力する。また、
その他の各ブロツクに対しても各種制御信号を出
力する。
When the microinstruction RA is input, the RAM 4 outputs data at the address specified by the microinstruction RA to the display buffer 10, multiplexer 12, RAM 5, etc., which will be described later. Microinstruction D is data information such as alphanumeric data and address information of RAM 5, and is transmitted via data bus B to RAM 5,
RAM address control unit 18 and multiplexer 1
2 is output. Further, the microinstruction OP is an operation code, and is sent to the control section 13 via the data bus C. Control part 1
3, when the microinstruction OP is input, the control signal a is generated based on the operation code.
The control signals b and c are output to the ROM address control unit 7 to control the ROM address control unit 7.
is output to the timing generator 3. Also,
Various control signals are also output to each of the other blocks.

タイミングジエネレータ3は、制御信号b,c
に基づいて前述したチツプイネーブル信号CE4,
CE5並びに各ブロツクへ供給するタイミング制
御信号を生成する。
The timing generator 3 receives control signals b, c
The chip enable signal CE4, described above based on
Generates timing control signals to be supplied to CE5 and each block.

マイクロ命令NAは、ROM8に格納されてい
る前記マイクロプログラムの次のアドレスデータ
であり、ROMアドレス制御部7に出力され、
ROMアドレス制御部7を介して再びROM8に
供給される。
The microinstruction NA is the next address data of the microprogram stored in the ROM 8, and is output to the ROM address control unit 7.
It is again supplied to the ROM 8 via the ROM address control section 7.

マルチプレクサ12は、タイミングジエネレー
タ3またはコントロール部13から送られてくる
図示しない制御信号に基づいてデータバスAを介
して送られてくるデータを選択し、データバスD
を介し演算回路14または、データバスEを介し
レジスタ15に出力する。レジスタ15は、マル
チプレクサ12からデータバスBを介して出力さ
れるデータと同期をとつて、一時的に記憶してい
たデータをデータバスFを介して演算回路14へ
出力する。演算回路14は、それぞれデータバス
D,Fを介しマルチプレクサ12及びレジスタ1
5から入力するデータに対し算術論理演算を行
い、その結果から得られた加工データをデータバ
スGを介しRAM4の所定レジスタに出力する。
The multiplexer 12 selects the data sent via the data bus A based on a control signal (not shown) sent from the timing generator 3 or the control section 13, and selects the data sent via the data bus D.
It is output to the arithmetic circuit 14 via the data bus E or to the register 15 via the data bus E. The register 15 outputs the temporarily stored data to the arithmetic circuit 14 via the data bus F in synchronization with the data output from the multiplexer 12 via the data bus B. The arithmetic circuit 14 connects the multiplexer 12 and register 1 via data buses D and F, respectively.
Arithmetic and logical operations are performed on the data input from 5, and processed data obtained from the results is output to a predetermined register of RAM 4 via data bus G.

アドレスカウンタ16は、現在時刻とアラーム
時刻を比較するアラーム検知処理のようにRAM
4の連結したアドレスの複数データをアクセスす
る処理において使用されるRAM4のアドレス加
算回路であり、ROM8からデータバスAを介し
入力したマイクロ命令RAのアドレス値を加算し
て、再びアドレスバスAを介しROM8へ出力す
る。RAMアドレス制御部18は、RAM5のア
ドレスを制御する回路であり、ROM8から送ら
れてくるマイクロ命令Dに基づいてRAM5へア
ドレスを供給する。そして、ブザー駆動部17
は、データバスGを介して分周回路2から所定周
波数のブザー駆動信号を入力し、同じく分周回路
2から送られてくる制御信号dに基づいて、ブザ
ー音を発生させるための回路である。
The address counter 16 is stored in RAM for alarm detection processing that compares the current time and alarm time.
This is an address addition circuit of RAM 4 used in the process of accessing multiple data of concatenated addresses of ROM 4. It adds the address value of microinstruction RA input from ROM 8 via data bus A, and adds the address value of microinstruction RA input from ROM 8 via data bus A. Output to ROM8. The RAM address control unit 18 is a circuit that controls the address of the RAM 5, and supplies an address to the RAM 5 based on the microinstruction D sent from the ROM 8. And the buzzer drive section 17
is a circuit for inputting a buzzer drive signal of a predetermined frequency from the frequency dividing circuit 2 via the data bus G and generating a buzzer sound based on the control signal d also sent from the frequency dividing circuit 2. .

更に、RAM5に例えば電話番号を記憶させる
場合、人名とこれに対応した電話番号を記憶させ
るが、この電話番号のデータを表示部11で表示
する場合は、スイープ表示法により表示される。
このスイープ表示を行う場合は、キー入力部6の
スイツチS1により表示モードが切換えられ、この
キー指示に基づいてコントロール部13からタイ
ミングジエネレータ3に指令信号が送出される。
これにより、タイミングジエネレータ3から
RAM5にチツプ・イネーブル信号(ハイレベ
ル)が送出され、RAM5からキー入力部6のス
イツチS2によつて選択されたデータが一旦RAM
4に転送される。RAM4に転送されたデータ
は、表示バツフア10に送出され、ここで順次デ
ータをシフトして表示部11に送出する。これに
より、表示部11で一方向にデータが流れるよう
に表示れ、スイープ表示が実行される。なお、こ
のスイープ表示中に、現在時刻が設定されたアラ
ーム時刻に一致したときは、後述するように、強
制的にスイープ表示を停止するようになつてい
る。
Furthermore, when a telephone number is stored in the RAM 5, a person's name and the corresponding telephone number are stored, but when the data of this telephone number is displayed on the display section 11, it is displayed using a sweep display method.
When performing this sweep display, the display mode is changed by the switch S1 of the key input section 6, and a command signal is sent from the control section 13 to the timing generator 3 based on this key instruction.
This allows timing generator 3 to
A chip enable signal (high level) is sent to the RAM 5, and the data selected by the switch S2 of the key input section 6 is temporarily transferred from the RAM 5 to the RAM 5.
Transferred to 4. The data transferred to the RAM 4 is sent to the display buffer 10, where the data is sequentially shifted and sent to the display section 11. As a result, data is displayed flowing in one direction on the display unit 11, and a sweep display is executed. Note that if the current time coincides with the set alarm time during this sweep display, the sweep display is forcibly stopped, as will be described later.

第2図は前記実施例の動作を示すフローチヤー
トである。以下、同図を参照しながら本考案の作
用を説明する。
FIG. 2 is a flowchart showing the operation of the embodiment. Hereinafter, the operation of the present invention will be explained with reference to the same figure.

まず、ステツプa1でキー操作がなされたか否か
を判定し、キー指示があればステツプa2でそのキ
ー指示がスイツチS1か否かを判定する。スイツチ
S1は、表示モードを切換えるスイツチであつて、
このスイツチS1を押す毎にサイクリツクに表示モ
ードが切換わるようになつている。従つて、スイ
ツチS1が押されていれば、ステツプa3で前記
RAM4に設けられたモードレジスタMに1を加
算して表示モードを切換える。また、スイツチS1
を押す毎にステツプa3でモードレジスタMに1が
加算されるので、前述の如く、表示モードが切換
わる。一方、ステツプa2でスイツチS1が押されて
いなければ、ステツプa4に進み、スイツチS2が押
されたか否かを判定する。ステツプa4でスイツチ
S2が押されていれば、ステツプa5でモードレジス
タMの内容が1か否かを判定し、1であればステ
ツプa6でRAM4に設けられたページレジスタP
に1を加える処理を行う。即ち、M=1のとき
は、表示モードとして、データバンク表示モード
が選択されたときであつて、スイツチS2を押す毎
に、ページレジスタPに1を加えることによつ
て、表示のページを切換える。
First, in step a1 it is determined whether or not a key operation has been performed, and if there is a key instruction, in step a2 it is determined whether the key instruction is switch S1 . switch
S 1 is a switch for changing the display mode,
Each time this switch S1 is pressed, the display mode changes cyclically. Therefore, if switch S1 is pressed, the above -mentioned
The display mode is switched by adding 1 to the mode register M provided in the RAM 4. Also, Switch S 1
Each time the key is pressed, 1 is added to the mode register M at step a3 , so the display mode is switched as described above. On the other hand, if the switch S1 has not been pressed at step a2 , the process advances to step a4 , and it is determined whether the switch S2 has been pressed. Switch on step a 4
If S2 is pressed, it is determined in step a5 whether the content of mode register M is 1 or not, and if it is 1, page register P provided in RAM4 is determined in step a6 .
Performs processing to add 1 to . That is, when M=1, the data bank display mode is selected as the display mode, and each time switch S2 is pressed, 1 is added to the page register P to change the displayed page. Switch.

本実施例では、表示モードとして時刻表示モー
ド、データバンク表示モード、アラーム時刻表示
モードの3種類の表示モードがあつて、第3図に
示すように、スイツチS1を押す毎に表示モードが
サイクリツクに切換わるようになつている。ま
た、データバンク表示モードが選択された場合
に、スイツチS2を押す毎に表示ページが切換わる
構成である。データバンク表示モードは、前記
RAM5に記憶されたデータをスイープ表示で表
示するもので、例えば、人名とこれに対応した電
話番号を表示するものである。また、ステツプa5
でM=1でなかつた場合は、ステツプa7で他のス
イツチS2の処理を行い、更にステツプa4でスイツ
チS2が押されていないときは、ステツプa5で他の
キー処理を行う。
In this embodiment, there are three display modes: time display mode, data bank display mode, and alarm time display mode.As shown in Fig. 3, the display mode changes cyclically each time switch S1 is pressed. It is starting to switch to . Furthermore, when the data bank display mode is selected, the display page changes each time the switch S2 is pressed. The data bank display mode is
It displays the data stored in the RAM 5 in a sweep display, for example, a person's name and the corresponding telephone number. Also, step a 5
If M is not 1, process another switch S2 in step a7 , and if switch S2 is not pressed in step a4 , process another key in step a5 . .

一方、ステツプa1でキー指示がなければ、ステ
ツプa9で前記分周回路2から16Hzの計時信号が出
力されたか否かを判定する。即ち、分周回路2か
ら16Hzの計時信号が出力されるが、この計時信号
が出力される1/16秒毎にステツプa10に進む。ス
テツプa10は、RAM4に設けられたアラームフラ
グFが1であるか否かを判定するもので、F=1
のときは既にブザーにより報音中のときである。
従つて、設定されたアラーム時刻に達していない
場合は、F=0であるため、ステツプa11に進み、
現在時刻がアラーム時刻に一致するまで待つこと
になる。そして、ステツプa11で現在時刻とアラ
ーム時刻が一致すると、ステツプa12でアラーム
フラグFに1をセツトすると共に、RAM4に設
けられたカウンタCをクリアし、且つ同様に
RAM4の報音時間フラグEに1をセツトしてタ
イマTがスタートする。カウンタC及び報音時間
フラグEは、ブザーによる報音時間及び報音停止
時間をそれぞれ1/4秒に設定し、且つ交互に切換
える処理を行うときに用いられる。次いで、ステ
ツプa13で報音ラツチをセツトし、ブザーによる
報音が開始され、ステツプa14に進む。ステツプ
a14は、前記分周回路2からの16Hzの計時信号に
よつて計時処理を行うもので、この処理によつて
得られた計時データは前記RAM4の時刻レジス
タに格納される。また、ステツプa15は、前述の
如く、スイツチS1,S2によつて選択された表示モ
ードで表示を行うもので、この表示処理について
は第4図のフローチヤートを参照して後述する。
On the other hand, if there is no key instruction at step a1 , it is determined at step a9 whether or not a 16 Hz clock signal is output from the frequency dividing circuit 2. That is, a 16 Hz clock signal is output from the frequency dividing circuit 2, and the process proceeds to step a10 every 1/16 seconds when this clock signal is output. Step a10 is to determine whether or not the alarm flag F provided in the RAM 4 is 1, and F=1.
When this happens, the buzzer is already sounding.
Therefore, if the set alarm time has not been reached, F=0, so proceed to step a11 .
The system will wait until the current time matches the alarm time. Then, when the current time and alarm time match in step a11 , the alarm flag F is set to 1 in step a12 , and the counter C provided in RAM4 is cleared, and in the same way.
The sound alarm time flag E in RAM4 is set to 1 and the timer T is started. The counter C and the sound time flag E are used to set the sound time and stop time of the buzzer to 1/4 second, respectively, and to perform a process of switching the time alternately. Next, in step a13 , the sound latch is set, the buzzer starts sounding, and the process advances to step a14 . step
A 14 performs time measurement processing using the 16 Hz time measurement signal from the frequency dividing circuit 2, and the time measurement data obtained by this processing is stored in the time register of the RAM 4. Further, in step a15 , as described above, the display is performed in the display mode selected by the switches S1 and S2 , and this display process will be described later with reference to the flowchart of FIG.

報音開始後、再びステツプa1に戻り、ステツプ
a9で16Hz計時信号が出力されてからステツプa10
に進む。ステツプa10では、前記ステツプa12でア
ラームフラグFに1がセツトされているため、F
=1となつており、これによりステツプa16に進
む。ステツプa16では、前記カウンタCに1を加
える処理を行い、ステツプa17に進む。ステツプ
a17は、カウンタCの内容が4か否かを判定する
もので、ここではステツプa16で1が書込まれた
だけであるので、C=1である。従つて、1/16秒
毎にステツプa16でカウンタCに1を加えことに
よつて、C=4になつてからステツプa18に進む。
1/16秒を4回計数すると、1/4秒となり、これに
より報音が開始されてから1/4秒経過後にステツ
プa18に進む。ステツプa18では、報音時間フラグ
Eが1か否かを判定するもので、ここでは、ステ
ツプa12で報音時間フラグEに1がセツトされて
いるため、E=1となつている。次いで、E=1
となつているので、ステツプa19に進み、報音ラ
ツチをリセツトし且つカウンタCをクリアし、E
に0をセツトしてブザーによる報音を停止する。
これにより、ブザーの報音は1/4秒で一旦停止し、
ステツプa20で前記タイマTが10秒経過したか否
かを判定する。この段階では、タイマTがスター
トしてから1/4秒しか経過していないので、ステ
ツプa20はNOとなり、再びステツプa1に戻る。そ
して、前記と同様にステツプa16で1/16秒毎にカ
ウンタCに1を加え、C=4(1/4秒経過後)にな
つてからステツプa18に進み、E=1か否かを判
定する。この場合、報音時間フラグEは、前述の
如く、0がセツトされているので(a19),E=0
となり、ステツプa21に進む。ステツプa21では、
報音ラツチをセツトし、報音時間フラグEに1を
セツトしてフラグEに1をセツトして再びブザー
による報音を開始する。従つて、報音が停止され
てから1/4秒経過後に、再び報音が開始される。
なお、ステツプa21ではカウンタCもクリアして
おく。
After the alarm starts, return to step a 1 again, and step
Step a 10 after the 16Hz clock signal is output at step a 9
Proceed to. At step a10 , since the alarm flag F was set to 1 at step a12 , F
= 1, so we proceed to step a16 . At step a16 , 1 is added to the counter C, and the process proceeds to step a17 . step
Step a17 is for determining whether the content of counter C is 4 or not. Here, since 1 was only written in step a16 , C=1. Therefore, by adding 1 to the counter C at step a16 every 1/16 seconds, the process proceeds to step a18 after C=4.
If 1/16 seconds is counted four times, it becomes 1/4 second, so proceed to step a18 after 1/4 second has elapsed since the start of the warning sound. At step a18 , it is determined whether or not the alarm time flag E is 1. Here, since the alarm time flag E was set to 1 at step a12 , E=1. Then E=1
Therefore, proceed to step a19 , reset the alarm latch, clear counter C, and press E.
Set to 0 to stop the buzzer.
As a result, the buzzer sound will temporarily stop after 1/4 second,
At step a20 , it is determined whether or not the timer T has elapsed for 10 seconds. At this stage, only 1/4 second has elapsed since the timer T started, so step a20 becomes NO and the process returns to step a1 again. Then, in the same way as above, 1 is added to the counter C every 1/16 seconds at step a16 , and when C=4 (after 1/4 second has elapsed), the process proceeds to step a18 , and it is determined whether E=1 or not. Determine. In this case, the sound alarm time flag E is set to 0 as described above, so (a 19 ), E=0
Therefore, proceed to step a21 . In step a 21 ,
The alarm latch is set, the alarm time flag E is set to 1, the flag E is set to 1, and the alarm by the buzzer is started again. Therefore, after 1/4 second has elapsed since the warning sound was stopped, the warning sound is started again.
Note that in step a21 , counter C is also cleared.

このように、報音と報音停止を1/4秒毎に交互
に繰り返し行い、ステツプa20で前記タイマTが
10秒を計時したら、ステツプa22でアラームフラ
グF及び報音時間フラグEにそれぞれ0をセツト
してアラーム処理を終了する。
In this way, the alarm sound and the alarm stop are repeated alternately every 1/4 second, and at step a20 , the timer T is
After 10 seconds have been counted, the alarm flag F and the alarm time flag E are each set to 0 in step a22 , and the alarm processing is ended.

第4図は、前記表示処理の詳細なフローチヤー
トを示したものである。
FIG. 4 shows a detailed flowchart of the display processing.

第4図において、まずステツプb1でモードレジ
スタMの内容が1か否かを判定するが、第3図で
説明したようにM=0のときは前記スイツチS1
より時刻表示モードが選択されたときである。こ
のときは、ステツプb2で現在時刻を表示する時刻
表示処理を行う。また、ステツプb1でM=0でな
いときは、ステツプb3に進み、M=2か否かを判
定する。M=2のときは、表示モードとしてデー
タバンク表示モードが選択されたときであつて、
ステツプb4に進み、前記アラームフラグFが1か
否かを判定する。F=1のときは、前述の如く、
10秒間のアラーム処理中のときであり、この場合
はステツプb5でデータバンク表示のスイープ表示
を強制的に停止させる処理を行う。これにより、
スイープ表示中に現在時刻が設定されたアラーム
時刻に一致した場合、強制的にそのスイープ表示
を停止させるため、何らアラーム音が乱れること
なく、報音を行うことができる。なお、この停止
動作は報音が終了するまで行われ、前記タイマT
が10秒を計時し、F=0となれば、再び元のスイ
ープ表示処理が開始される。また、ステツプb4
F=0のときは、ステツプb6でスイツチS2によつ
て選択されたPページのデータをスイープ表示に
より表示する。更に、前記ステツプb3でM=2で
ないときは、残りの表示モード1(M=1)が選
択されたときであつて、この場合は設定されたア
ラーム時刻の表示を行う。
In FIG. 4, first, in step b1 , it is determined whether the contents of the mode register M are 1 or not. As explained in FIG. 3, when M=0, the time display mode is selected by the switch S1 . That's when it happened. In this case, time display processing for displaying the current time is performed in step b2 . If M=0 is not found in step b1 , the process proceeds to step b3 , where it is determined whether M=2 or not. When M=2, the data bank display mode is selected as the display mode, and
Proceeding to step b4 , it is determined whether the alarm flag F is 1 or not. When F=1, as mentioned above,
This is when a 10-second alarm process is in progress, and in this case, in step b5 , processing is performed to forcibly stop the sweep display of the data bank display. This results in
If the current time coincides with the set alarm time during the sweep display, the sweep display is forcibly stopped, so the alarm sound can be sounded without any disturbance. Note that this stopping operation is performed until the warning sound ends, and the timer T
counts 10 seconds and when F=0, the original sweep display process is started again. Further, when F=0 in step b4 , the data of the P page selected by switch S2 is displayed in a sweep display in step b6 . Furthermore, if M=2 is not determined in step b3 , the remaining display mode 1 (M=1) is selected, and in this case, the set alarm time is displayed.

〔考案の効果〕[Effect of idea]

以上説明したように本考案によれば、スイープ
表示中に現在時刻が設定されたアラーム時刻に一
致したときに、強制的にスイープ表示を停止する
ようにしたので、従来のようなアラーム音が乱れ
るという問題を解消でき、アラーム音を正常に発
生させることができる効果がある。
As explained above, according to the present invention, the sweep display is forcibly stopped when the current time matches the set alarm time during the sweep display, so the alarm sound is disturbed as in the conventional method. This problem can be solved and the alarm sound can be generated normally.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本考案の一実施例の構成を示す回路ブ
ロツク図、第2図は、前記実施例の動作を示すフ
ローチヤート、第3図は表示モードの切換え状態
を示す説明図、第4図は本考案の要部動作を示す
フローチヤートである。 2……分周回路、3……タイミングジエネレー
タ、4……RAM(小容量)、5……RAM(大容
量)、6……キー入力部、8……ROM、11…
…表示部、13……コントロール部、17……ブ
ザー駆動部。
FIG. 1 is a circuit block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a flowchart showing the operation of the embodiment, FIG. 3 is an explanatory diagram showing the display mode switching state, and FIG. 4 is a flowchart showing the main operations of the present invention. 2... Frequency divider circuit, 3... Timing generator, 4... RAM (small capacity), 5... RAM (large capacity), 6... Key input section, 8... ROM, 11...
...Display section, 13...Control section, 17...Buzzer drive section.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 基準信号を計時して現在時刻情報を得る計時手
段と、この計時手段によつて得られた現在時刻情
報を表示する表示手段と、前記計時手段で得られ
る現在時刻情報とは異なる情報を記憶する情報記
憶手段と、この情報記憶手段に記憶された前記現
在時刻情報とは異なる情報を前記表示手段にスイ
ープ表示させるスイープ表示制御手段と、アラー
ム時刻情報を記憶するアラーム時刻記憶手段と、
前記計時手段で得られる前記現在時刻情報が前記
アラーム時刻記憶手段に記憶されたアラーム時刻
情報と一致した際にフラグがセツトされ予め定め
られた一定時間経過後フラグがリセツトされるア
ラームフラグレジスタと、このアラームフラグレ
ジスタに前記フラグがセツトされている間アラー
ム音を発生するアラーム音発生手段と、前記スイ
ープ表示制御手段によつて前記現在時刻情報とは
異なる情報が前記表示手段にスイープ表示されて
いる間前記アラームフラグレジスタにフラグがセ
ツトされているか否かを判別する判別手段と、こ
の判別手段によつてフラグがセツトされているこ
とが判別された際に前記スイープ表示制御手段に
よるスイープ表示を停止させ、この停止後に、前
記判別手段によつてフラグがセツトされていない
ことが判別された際に前記スイープ表示制御手段
によるスイープ表示を再度開始させるスイープ表
示の停止開始制御手段とを設けたことを特徴とす
る電子時計。
A timekeeping means for obtaining current time information by timing a reference signal, a display means for displaying the current time information obtained by the timekeeping means, and storing information different from the current time information obtained by the timekeeping means. an information storage means, a sweep display control means for causing the display means to sweep display information different from the current time information stored in the information storage means, and an alarm time storage means for storing alarm time information;
an alarm flag register in which a flag is set when the current time information obtained by the timer matches the alarm time information stored in the alarm time storage means, and the flag is reset after a predetermined period of time has elapsed; Alarm sound generation means generates an alarm sound while the flag is set in the alarm flag register, and information different from the current time information is displayed in a sweep manner on the display means by the sweep display control means. determining means for determining whether or not a flag is set in the alarm flag register; and stopping the sweep display by the sweep display control means when the determining means determines that the flag is set. and a sweep display stop/start control means for restarting the sweep display by the sweep display control means when the discrimination means determines that the flag is not set after the stop. A distinctive electronic clock.
JP1986125228U 1986-08-15 1986-08-15 Expired JPH0434475Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1986125228U JPH0434475Y2 (en) 1986-08-15 1986-08-15

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1986125228U JPH0434475Y2 (en) 1986-08-15 1986-08-15

Publications (2)

Publication Number Publication Date
JPS6331394U JPS6331394U (en) 1988-02-29
JPH0434475Y2 true JPH0434475Y2 (en) 1992-08-17

Family

ID=31017949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1986125228U Expired JPH0434475Y2 (en) 1986-08-15 1986-08-15

Country Status (1)

Country Link
JP (1) JPH0434475Y2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6950468B2 (en) * 2017-11-06 2021-10-13 カシオ計算機株式会社 Electronic clocks, electronic clock sounding methods, and programs

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5759950A (en) * 1980-09-30 1982-04-10 Asahi Glass Co Ltd Siliceous filler and preparation of polyurethane containing the same
JPS60205578A (en) * 1984-03-30 1985-10-17 カシオ計算機株式会社 Small electronic equipment with data memory function

Also Published As

Publication number Publication date
JPS6331394U (en) 1988-02-29

Similar Documents

Publication Publication Date Title
US4774697A (en) Electronic timepiece including a schedule memory device
US4388000A (en) Electronic apparatus having a musical alarm function and a display
JPH0434475Y2 (en)
JPS6157589B2 (en)
EP0409568A2 (en) Electronic timepiece
JPS6026236B2 (en) Display control method
JPH04221528A (en) blood pressure memory device
JP2510089Y2 (en) Schedule display device
JPH0628718Y2 (en) Stopwatch
JP2984770B2 (en) Electronic clock
JPH0515118Y2 (en)
JP3149862B2 (en) Electronic musical instrument
JPH0755636Y2 (en) Schedule display device
JP3164098B2 (en) Time measurement device and measurement time storage method
JPH0615313Y2 (en) Data storage device
JPH0434476Y2 (en)
JPS6239396B2 (en)
JP2508571Y2 (en) Stopwatch
JPH0720634Y2 (en) Date data storage device
JPS63749B2 (en)
JPH0726760Y2 (en) Alarm time data storage device
JP2539338Y2 (en) Altimeter
JPH052877Y2 (en)
JP2513600Y2 (en) Data bank device
JPH0726761Y2 (en) Data storage