Eurotech Appliances CPU-1461 user manual Use following code to refresh the Watch Dog

Models: CPU-1461

1 69
Download 69 pages 24.22 Kb
Page 46
Image 46
Use following code to refresh the Watch Dog :

46

 

PC/104-PlusCPU-1461 Module

 

 

 

 

 

 

MOV

DX,IO_SPIO_WDT_BASE

; Timeout Period Register

 

MOV

AL,DesideredTimeout

; 2..255 seconds/minutes

 

OUT

DX,AL

 

 

Use following code to refresh the Watch Dog :

; Reload original Timeout...

MOV

DX,IO_SPIO_WDT_BASE

 

MOV

AL,DesideredTimeout

; 2..255 seconds/minutes

OUT

DX,AL

 

Use the following code to disable the Watch Dog (no additional refresh required):

; Set Timeout to 0 Seconds ...

MOV

DX,IO_SPIO_WDT_BASE

; Timeout Period Register

MOV

AL,0

 

OUT

DX,AL

 

Note: for further information about the Watch Dog programming, refer to “PC87364 128-Pin LPC SuperI/O” manual by National Semiconductor.

Page 46
Image 46
Eurotech Appliances CPU-1461 user manual Use following code to refresh the Watch Dog