beautypg.com

AAEON GENE-U15B User Manual

Page 42

background image

S u b C o m p a c t B o a r d

G E N E - U 1 5 B

Appendix A Programming the Watchdog Timer A-2

A.1 Programming

GENE-U15B utilizes SCH3114-NU chipset as its watchdog timer

controller.

The SCH311X WDT ( Watch Dog Timer ) has a programmable

time-out ranging from 1 to 255 minutes with one minute resolution,

or 1 to 255 second resolution. The unit of the WDT timeout value

are selected via bit[7] of the WDT_TIMEOUT register. The WDT

time-out value is set through the WDT_VAL Runtime register.

Setting The WDT_VAL register to 0x00 disables the WDT function

(this is its power on default).

Setting the WDT_VAL to any other non-zero value will cause the

WDT to reload and begin counting down from the value loaded.

When the WDT count value reaches zero the counter stops and

sets the Watchdog time-out status bit in the WDT_CTRL Runtime

register. Note: Regardless of the current state of the WDT, the WDT

time-out status bit can be directly set or cleared by the Host CPU.

The related register for configuring WDT is list as follows: