beautypg.com

Fes6841 – Acnodes FES 6841 User Manual

Page 36

background image

© Copyright 2009 Acnodes, Inc.

All rights reserved. Product description and product specifications

are subject to change without notice. For latest product information,

please visit Acnodes’ web site at www.acnodes.com.

661 Brea Canyon Rd., Suite 3

Walnut, CA 91789

tel: 909.598.7388, fax: 909.598.0218, www.acnodes.com

FES6841

Fanless Embedded Controller comes with

Intel Atom N270 Processor

A.2 W83627EHG Watchdog Timer Initial Program

Example: Setting 10 sec. as Watchdog timeout interval

;/////////////////////////////////////////////////////////////////////////////////////////////// Mov dx,2eh ;Enter W83627EHG config mode
Mov al,87h

(out 87h to 2eh twice)

Out dx,al

Out dx,al

;/////////////////////////////////////////////////////////////////////////////////////////////// Mov al,07h

Out dx,al

Inc dx

Mov al,08h

;Select Logical Device 8 (GPIO Port

2)

Out dx,al

;/////////////////////////////////////////////////////////////////////////////////////////////// Dec dx

Mov al,30h

;CR30 (GP20~GP27) Out dx,al

Inc dx

Mov al,01h

;Activate GPIO2

Out dx,al

;/////////////////////////////////////////////////////////////////////////////////////////////// Dec dx

Mov al,0f5h

;CRF5 (PLED mode register) Out dx,al

Inc dx

In al,dx

And al,not 08h

;Set second as counting unit

Out dx,al