Chapter 3 Software
PA-8225 SERIES USER
’
S MANUAL
Page: 3-135
3-5-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
in
al,
dx
and
al,
30h
out
dx,
al
;------ Set timeout interval as 30seconds and start counting ---------------------------------
dec
dx
Summary of Contents for PA-8225
Page 1: ...USER S MANUAL PA 8225 10 4 POS Terminal Powered by Intel Celeron J1900 Quad Core PA 8225 M1...
Page 203: ...Chapter 3 Software PA 8225 SERIES USER S MANUAL Page 3 140...
Page 236: ...Chapter 4 System Assembly PA 8225 SERIES USER S MANUAL Page 4 17 1 3 500 0828031 8...
Page 237: ...Chapter 4 System Assembly PA 8225 SERIES USER S MANUAL Page 4 18 N A 21 002 1 9090005 P B 6822...
Page 240: ...Chapter 4 System Assembly PA 8225 SERIES USER S MANUAL Page 4 21...
Page 242: ...Chapter 4 System Assembly PA 8225 SERIES USER S MANUAL Page 4 23...
Page 243: ...Chapter 4 System Assembly PA 8225 SERIES USER S MANUAL Page 4 24...
Page 246: ...Chapter 4 System Assembly PA 8225 SERIES USER S MANUAL Page 4 27...