Samsung S3C2440A User Manual

Page 436

Advertising
background image

WATCHDOG TIMER

S3C2440A RISC MICROPROCESSOR

18-4

WATCHDOG TIMER DATA (WTDAT) REGISTER

The WTDAT register is used to specify the time-out duration. The content of WTDAT cannot be automatically
loaded into the timer counter at initial watchdog timer operation. However, using 0x8000 (initial value) will drive the
first time-out. In this case, the value of WTDAT will be automatically reloaded into WTCNT.

Register Address

R/W

Description

Reset

Value

WTDAT

0x53000004

R/W

Watchdog timer data register

0x8000

WTDAT Bit

Description

Initial

State

Count reload value

[15:0]

Watchdog timer count value for reload.

0x8000

WATCHDOG TIMER COUNT (WTCNT) REGISTER

The WTCNT register contains the current count values for the watchdog timer during normal operation. Note that
the content of the WTDAT register cannot be automatically loaded into the timer count register when the watchdog
timer is enabled initially, so the WTCNT register must be set to an initial value before enabling it.

Register Address

R/W

Description

Reset

Value

WTCNT

0x53000008

R/W

Watchdog timer count register

0x8000

WTCNT Bit

Description

Initial

State

Count value

[15:0]

The current count value of the watchdog timer

0x8000

Advertising