Download User`s Manual
Transcript
5. Each Component Function How to Use the Watchdog Timer BIOS setting Power ON Set event output control Instruct WDT to stop Set timer value Start & clear WDT ... Read port 4002h, stop the WDT, and turn off alarm output. ... Output set data to port 4003h. ... Output of A5h to port 4002h starts the WDT and output of A5h to the same port clears the timer. ... To modify the timer value during operation, the WDT needs to be stopped temporarily. Application NO ... Output data to ports 4001h and 4004h to set the counter clock. Modify timer value? YES *WDT: Watch Dog Timer Figure 5.5. How to Use the Watchdog Timer Example usage : To assign IRQ5 to the event whose time-up value is 15sec: Out 4004h 01h : Set the event at the time of WDT expiration to IRQ5. In 4002h : Stop the WDT timer and cancel the alarm. Out 4003h 0Fh : Set the WDT expiration time to 15sec. Out 4002h A5h : Start and clear the WDT. In 4002h : Stop the WDT and cancel the alarm. BX900 User’s Manual 105