发明名称 |
METHOD FOR CONTROLLING LOOP IN MICROPROCESSOR |
摘要 |
PURPOSE: A method for controlling loop in microprocessor is provided to stabilize a control flow in a real control operation by uniformly performing a main loop when programming a microprocessor. CONSTITUTION: A microprocessor is reset by a reset of a hardware or a reset of a software(31). The microprocessor initializes an inner register(32). The microprocessor initializes inner timers and input and output ports. States of various signals are checked through input and output ports when performing a main loop, and a suitable setting value is provided(33). The main loop has a plurality of sub loops. A plurality of sub loops perform a specific function. A total performing time of the main loop are computed when the performance of the main loop is completed(34). The total performing time is compared with a reference time(35). A difference between the reference time and the total performing time is delayed when the performing time is less than the reference time, and the main loop is repeatedly performed(36).
|
申请公布号 |
KR20000028439(A) |
申请公布日期 |
2000.05.25 |
申请号 |
KR19980046652 |
申请日期 |
1998.10.31 |
申请人 |
DAEWOO ELECTRONICS CO., LTD. |
发明人 |
LEE, SAM |
分类号 |
G05B24/00;(IPC1-7):G05B24/00 |
主分类号 |
G05B24/00 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|