beautypg.com

2 watchdog enabled/disabled - index 37h, 3 select watchdog report signal - index 38h, 4 timeout status & reset watchdog - index 3ch – Acrosser AR-B9622 User Manual

Page 38: 5 programming watchdog - basic operation

background image

AR-B9622 User’s Guide

5-4

5.3.2 Watchdog Enabled/Disabled - INDEX 37H

Bit 7

Reserved. Please do not set this bit.
In old version M6117C data sheet, this bit is counter read mode.

Bit 6

0

disable watchdog timer

1

enable

watchdog

timer

Bit 5-0 Other function.

Please do not modify these bits.

5.3.3 Select Watchdog Report Signal - INDEX 38H

Bit 7-4 watchdog timer time out report signal select

0000 no output signal

0001

IRQ3

selected

0010

IRQ4

selected

0011

IRQ5

selected

0100

IRQ6

selected

0101

IRQ7

selected

0110

IRQ9

selected

0111

IRQ10

selected

1000

IRQ11

selected

1001

IRQ12

selected

1010

IRQ14

selected

1011

IRQ15

selected

1100

NMI

selected

1101 system reset selected

1110 no output signal

1111 no output signal

Bit 3-0 Other function.

Please do not modify these bits.

5.3.4 Timeout Status & Reset Watchdog - INDEX 3CH

Bit 7

0

timer timeout not happened

1

timer timeout happened

Read

only.

Bit 5

Write this bit “1” to reset timer
The value on this bit has no meaning.

Bit 6
Bit 4-0

Other function.
Please do not modify these bits.

5.3.5 Programming Watchdog - Basic Operation

If we would like to access M6117C configuration register, we need to unlock register at first and lock it after
finishing operation.

(1) Unlock Configuration Register

mov al,

013h

out 22h,

al

nop

nop

mov al,

0c5h

out 23h,

al

nop

nop