Basic Timer Control Register (Btcon) - Samsung S3C8275X User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

BASIC TIMER

BASIC TIMER CONTROL REGISTER (BTCON)

The basic timer control register, BTCON, is used to select the input clock frequency, to clear the basic timer
counter and frequency dividers, and to enable or disable the watchdog timer function. It is located in set 1,
address D3H, and is read/write addressable using Register addressing mode.
A reset clears BTCON to "00H". This enables the watchdog function and selects a basic timer clock frequency of
f
/4096. To disable the watchdog function, you must write the signature code "1010B" to the basic timer register
xx
control bits BTCON.7–BTCON.4.
The 8-bit basic timer counter, BTCNT (set 1, bank 0, FDH), can be cleared at any time during normal operation by
writing a "1" to BTCON.1. To clear the frequency dividers for all timers input clock, you write a "1" to BTCON.0.
MSB
Watchdog function enable bits:
1010B
Other values
10-2
Basic Timer Control Register (BTCON)
D3H, Set 1, R/W
.7
.6
.5
.4
= Disable watchdog timer
= Enable watchdog timer
Basic timer input clock selection bits:
00 = f
/4096
XX
01 = f
/1024
XX
10 = f
/128
XX
11 = f
/16
XX
Figure 10-1. Basic Timer Control Register (BTCON)
S3C8275X/F8275X/C8278X/F8278X/C8274X/F8274X
.3
.2
.1
.0
Divider clear bit for all timers:
0 = No effect
1 = Clear divider
Basic timer counter clear bit:
0 = No effect
1 = Clear BTCNT
LSB

Advertisement

Table of Contents
loading

This manual is also suitable for:

F8275xF8274xC8278xC8274xF8278x

Table of Contents