Samsung S3C84E5 user manual Reset, WTCON.7, WTCON.6, WTCON.1, WTCON.0

Models: S3C84E5

1 316
Download 316 pages 61.65 Kb
Page 279
Image 279

WATCH TIMERS3C84E5/C84E9/P84E9

WATCH TIMER CONTROL REGISTER (WTCON: R/W)

FAH

 

WTCON.7

WTCON.6

WTCON.5

WTCON.4

 

WTCON.3

WTCON.2

WTCON.1

WTCON.0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RESET

 

"0"

 

 

 

"0"

"0"

"0"

 

"0"

"0"

"0"

 

"0"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 14-1. Watch Timer Control Register (WTCON): Set 1, Bank 0, FAH, R/W

 

 

 

 

 

 

 

 

 

 

 

 

Bit Name

 

Values

 

 

Function

 

 

 

Address

 

 

 

 

 

 

 

 

 

 

WTCON.7

 

 

0

 

Select (fx/256) as the watch timer clock (fx: Main clock)

 

 

FAH

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

Select subsystem clock as watch timer clock

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WTCON.6

 

 

0

 

Disable watch timer interrupt

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

Enable watch timer interrupt

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WTCON.5–.4

 

0

 

0

0.5 kHz buzzer (BZOUT) signal output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

1

1 kHz buzzer (BZOUT) signal output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

0

2 kHz buzzer (BZOUT) signal output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

1

4 kHz buzzer (BZOUT) signal output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WTCON.3–.2

 

0

 

0

Set watch timer interrupt to 0.5 s.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

1

Set watch timer interrupt to 0.25 s.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

0

Set watch timer interrupt to 0.125 s.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

1

Set watch timer interrupt to 1.955 ms.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WTCON.1

 

 

0

 

Disable watch timer, clear frequency dividing circuits

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

Enable watch timer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WTCON.0

 

 

0

 

Interrupt is not pending, clear pending bit when write

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

Interrupt is pending

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NOTE:

Main system clock frequency (fx) is assumed to be 9.8304 MHz

 

 

 

 

14-2

Page 279
Image 279
Samsung S3C84E5 user manual Reset, WTCON.7, WTCON.6, WTCON.1, WTCON.0