beautypg.com

A.2 watchdog timer control register, A.3 watchdog timer programming procedure, Power on or reset the system – NEXCOM NEX 852VL2 User Manual

Page 59

background image

A.2 Watchdog Timer Control Register

The Watchdog Timer Control Register controls the EDT working mode. Write the value to the WDT Configu-

ration Port. The following table describes the Control Register bit definition.

Table A-2: Control Register Bit Definition

A.3 Watchdog Timer Programming Procedure

Power on or reset the system

The initial value of WDT Control Register (D4~D0) is zero, when power is on or reset the system. The

following shows the initial value of WDT (00000000b):

Table A-3: WDT Control Register Initial Value

58

t

i

B

e

u

l

a

V

n

a

e

M

7

0

T

D

W

e

l

b

a

s

i

D

6

0

e

l

b

a

s

i

d

s

i

t

u

p

t

u

o

t

e

s

e

R

5

0

e

l

b

a

s

i

d

s

i

t

u

p

t

u

o

I

M

N

4

0

e

l

b

a

s

i

d

s

i

t

u

p

t

u

o

e

c

i

t

o

N

T

D

W

3

0

d

n

o

c

e

s

y

b

e

d

o

m

t

n

u

o

c

T

D

W

t

c

e

l

e

S

0

,

1

,

2

0

0

0

e

t

u

n

i

m

/

d

n

o

c

e

s

1

r

e

t

f

a

s

r

u

c

c

o

t

u

o

-

e

m

i

t

t

c

e

l

e

S

7 6 5 4 3 2 1 0

11 0 : S e le c t

11 0 : S e le c t

1 0 1 : S e le c t

1 0 0 : S e le c t

0 11 : S e le c t

0 1 0 : S e le c t

0 0 1 : S e le c t

0 0 0 : S e le c t

1 2 7 s e c o n d s o r m in u te s

6 4 s e c o n d s o r m in u te s

3 2 s e c o n d s o r m in u te s

1 6 s e c o n d s o r m in u te s

8 s e c o n d s o r m in u te s

4 s e c o n d s o r m in u te s

2 s e c o n d s o r m in u te s

1 s e c o n d s o r m in u te s

1 : S e le c t W D T c o u n t m o d e b y m in u te

0 : S e le c t W D T c o u n t m o d e b y s e c o n d

1 : E n a b le w a tc h d o g tim e r

0 : D is a b le w a tc h d o g tim e r

1 : N M I is E n a b le

0 : N M I is D is a b le

1 : R e s e t is E n a b le

0 : R e s e t is D is a b le

1 : W D T is E n a b le

0 : W D T is D is a b le