English
Language : 

S3C8075 Datasheet, PDF (124/208 Pages) Samsung semiconductor – SAM87 family of 8-bit single-chip CMOS microcontrollers, 272-byte general purpose register area, 16-Kbyte internal program memory
S3C8075/P8075
BASIC TIMER and TIMER MODULE 0
10
BASIC TIMER and TIMER MODULE 0
MODULE OVERVIEW
S3C8075/P8075 have three default timers: an 8-bit basic timer and two 8-bit general-purpose timer/counters.
The 8-bit timer/counters is called timer module 0.
BASIC TIMER (BT)
You can use the basic timer (BT) in two different ways:
— As a watchdog timer to provide an automatic reset mechanism in the event of a system malfunction, or
— To signal the end of the required oscillation stabilization interval after a reset or a Stop mode release.
The functional components of the basic timer block are:
— Clock frequency divider (fOSC divided by 4096, 1024, or 128) with multiplexer
— 8-bit basic timer counter, BTCNT (set 1, bank 0, FDH, read-only)
— Basic timer control register, BTCON (set 1, D3H, read/write)
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
fOSC/4096. To disable the watchdog function, you must write the signature code '1010B' to the basic timer
register 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, you write a "1" to BTCON.0.
10-1