发明名称 MICROCOMPUTER
摘要 <p><P>PROBLEM TO BE SOLVED: To correctly measure the cycle of an external signal even when a timer clock and a CPU clock are asynchronously operating. <P>SOLUTION: A timer circuit 200 is provided with: a timer 201 for counting the generation interval of an external signal synchronously with a timer clock; a timer register 202 for capturing the counted value of the timer counter 201 synchronously with the timer clock; and a timer register 203 for capturing the value of the timer register 202 synchronously with the CPU clock. The counted value of the timer counter 201 is reloaded into the timer register 202 synchronously with the timer clock based on the external signal, and the second reloading of the value of the timer register 202 into the timer register 203 is performed synchronously with the CPU clock. When the next external signal is generated in the period since the first external signal is generated until the contents of the timer register 203 are read by the CPU, the second reloading is held, and after the contents of the timer register 203 are read by the CPU, the second reloading is performed. <P>COPYRIGHT: (C)2006,JPO&NCIPI</p>
申请公布号 JP2005332097(A) 申请公布日期 2005.12.02
申请号 JP20040148491 申请日期 2004.05.19
申请人 OKI ELECTRIC IND CO LTD 发明人 SAITO HIROSHI
分类号 G06F15/78;G06F1/04;G06F1/14;G06F1/30;(IPC1-7):G06F15/78 主分类号 G06F15/78
代理机构 代理人
主权项
地址