Acrosser AR-B9612 User Manual
Page 16
AR-B9612 User’s Guide
2-11
2.8 WATCH-DOG TIMER
The watchdog timer is a circuit that may be used from your
program software to detect crashes or hang-ups.
Once you have enabled the watchdog timer, your program must
trigger the watchdog timer every time before it times-out.
After you trigger the watchdog timer, it will be set to zero and
start to count again. If your program fails to trigger the
watchdog timer before time-out, it will generate a reset pulse to
reset the system.
The I/O port address of watchdog timer is located at 214Hex or
215Hex. The factor of the watchdog timer time-out constant
is approximately 1.6 seconds.
2.8.1 Enabled the Watchdog Timer
To enable the watchdog timer, you have to output a byte of timer
factor to the watchdog address. The following is a BASICA
program:
1000 REM Points to I/O port address
1010 WD_REG% = I/O_PORT
1020 REM Timer factor =80H
1030 TIMER_FACTOR% = &H80
1040 REM Output factor to watchdog
1050 OUT WD_REG%, TIMER_FACTOR%
,etc.
- AR-N6000 (28 pages)
- AND-D525N2 (38 pages)
- AND-D525N2 (30 pages)
- ANR-IB75N1/A/B (76 pages)
- ANR-IB75N1/A/B (60 pages)
- ANR-IH61N1/A/B (57 pages)
- ANR-IH61N1/A/B (73 pages)
- AR-R6000 (32 pages)
- AR-R6000 (22 pages)
- AR-ES0631ET (11 pages)
- AR-ES0631ET (15 pages)
- AR-R5800A (40 pages)
- AR-R5800 (40 pages)
- AR-R5800 (58 pages)
- AR-R5800 (40 pages)
- AR-R5800 (58 pages)
- AR-R5800 (58 pages)
- AR-N8601 (31 pages)
- AR-N8601 (10 pages)
- AR-R5700 (13 pages)
- AR-R6006 (24 pages)
- AR-R6006 (35 pages)
- AR-R6006 (24 pages)
- AR-R6006 (35 pages)
- AR-R8601E16 (8 pages)
- AR-N8601FL (37 pages)
- AR-N5205A (13 pages)
- AR-R5205FL (12 pages)
- AR-R5500 (10 pages)
- AR-B1551 (34 pages)
- AR-B1550 (32 pages)
- AR-B1550 (32 pages)
- AR-B1550 (32 pages)
- AR-B1550 (37 pages)
- AR-B1551 (37 pages)
- AR-B1551 (37 pages)
- AR-B1551 (37 pages)
- AR-B1551 (37 pages)
- AR-B1551 (37 pages)
- AR-B1551 (37 pages)
- AR-B1893 (35 pages)
- AR-B1893 (35 pages)
- AR-B1841 (36 pages)
- AR-B104D (27 pages)
- AR-B104D (7 pages)