Chapter 3 Software
3-
-2. Code Example for Watchdog Timer
Enable watchdog timer and set the timeout interval as 30 seconds.
;------ Enter to extended function mode --------------------------------------------------------
mov
dx,
2eh
mov
al,
87h
out
dx,
al
out
dx,
al
;------ Select Logical Device 7 of watchdog timer --------------------------------------------
mov
al,
07h
out
dx,
al
inc
dx
mov
al,
07h
out
dx,
al
;------ Enable Watch dog feature --------------------------------------------
mov
al,
030h
out
dx,
al
inc
dx
mov
al,
01h
out
dx,
al
;------ Enable Watch PME--------------------------------------------
dec
dx
mov
al,
0FAh
out
dx,
al
inc
dx
in
al,
dx
and
al,
51h
out
dx,
al
;------ Set second as counting unit --------------------------------------------------------------
dec
dx
mov
al,
0f5h
out
dx,
al
inc
dx
PA-6822 Series User Manual
Page 193
Summary of Contents for PA-6822
Page 1: ...USER S MANUAL PA 6822 15 POS Terminal Powered by Intel Celeron J1900 Quad Core PA 6822 M4...
Page 199: ...Chapter 3 Software PA 6822 Series User Manual Page 198...
Page 218: ...Chapter 4 System Assembly 01 05 02 03 06 07 08 09 04 PA 6822 Series User Manual Page 217...
Page 219: ...Chapter 4 System Assembly 01 05 02 03 06 07 08 04 PA 6822 Series User Manual Page 218...
Page 222: ...Chapter 4 System Assembly 01 05 02 03 06 07 04 PA 6822 Series User Manual Page 221...
Page 224: ...Chapter 4 System Assembly PA 6822 Series User Manual Page 223...
Page 225: ...Chapter 4 System Assembly 05 02 01 03 06 04 PA 6822 Series User Manual Page 224...
Page 226: ...Chapter 4 System Assembly 01 02 03 06 07 08 04 05 09 10 PA 6822 Series User Manual Page 225...
Page 228: ...Chapter 4 System Assembly COM Port 01 05 02 03 04 PA 6822 Series User Manual Page 227...
Page 229: ...Chapter 4 System Assembly Parallel Port 01 02 03 04 PA 6822 Series User Manual Page 228...
Page 239: ...Chapter 4 System Assembly 01 02 03 04 05 06 07 08 09 PA 6822 Series User Manual Page 238...
Page 240: ...Chapter 4 System Assembly 01 02 03 04 06 05 07 08 10 09 PA 6822 Series User Manual Page 239...
Page 250: ...Appendix A System Display Step 8 Finished view PA 6822 Series User Manual Page 249...