Module Overview - Samsung KS86C6004 Manual

Table of Contents

Advertisement

KS86C6004/C6008/P6008 MICROCONTROLLER (Preliminary Spec)
10
BASIC TIMER and TIMER 0

MODULE OVERVIEW

The KS86C6004/C6008/P6008 has two default timers: an 8-bit basic timer and one 8-bit general-purpose
timer/counter. The 8-bit timer/counter is called timer 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.
— 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 (f
— 8-bit basic timer counter, BTCNT (DDH, read-only)
— Basic timer control register, BTCON (DCH, read/write)
Timer 0
Timer 0 has two operating modes, one of which you select by the appropriate T0CON setting:
— Interval timer mode
— Overflow mode
Timer 0 has the following functional components:
— Clock frequency divider (f
— 8-bit counter (T0CNT), 8-bit comparator, and 8-bit reference data register (T0DATA)
— Timer 0 overflow interrupt (T0OVF) and match interrupt (T0INT) generation
— Timer 0 control register, T0CON
divided by 4096, 1024, or 128) with multiplexer
OSC
divided by 4096, 256, or 8) with multiplexer
OSC
BASIC TIMER and TIMER 0
10-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ks86c6008Ks86p6008

Table of Contents