beautypg.com

Rainbow Electronics W90N740 User Manual

Page 175

background image

W90N740

Publication Release Date: November 26, 2004

- 171 -

Revision A4

WTIS [5:4]

Interrupt Time-out

Reset Time-out

00 2

20

clocks

2

20

+ 512 clocks

01 2

21

clocks

2

21

+ 512 clocks

10 2

22

clocks

2

22

+ 512 clocks

11 2

23

clocks

2

23

+ 512 clocks

WTIF [3]: Watchdog Timer Interrupt Flag

If the watchdog interrupt is enabled, then the hardware will set this bit to indicate that the watchdog
interrupt has occurred. If the watchdog interrupt is not enabled, then this bit indicates that a time-out
period has elapsed.

0 = Watchdog timer interrupt does not occur

1 = Watchdog timer interrupt occurs

WTRF [2]: Watchdog Timer Reset Flag

When the watchdog timer initiates a reset, the hardware will set this bit. This flag can be read by software
to determine the source of reset. Software is responsible to clear it up manually. If WTRE is disabled,
then the watchdog timer has no effect on this bit.

0 = Watchdog timer reset does not occur

1 = Watchdog timer reset occurs

WTRE [1]: Watchdog Timer Reset Enable

Setting this bit will enable the watchdog timer reset function.

0 = Disable watchdog timer reset function

1 = Enable watchdog timer reset function

WTR [0]: Watchdog Timer Reset

This bit brings the watchdog timer into a known state. It helps reset the watchdog timer before a time-
out situation occurring. Failing to set WTR before time-out will initiates an interrupt if WTIE is set. If
WTRE is set, a watchdog timer reset will occur 512 clocks after time-out. This bit is self-clearing.

1 = Reset the contents of the watchdog timer

0 = Do not reset the contents of the watchdog timer