Counter a – Samsung S3F80JB User Manual

Page 262

Advertising
background image

S3F80JB

COUNTER

A

12-1

12

COUNTER

A

OVERVIEW

The S3F80JB microcontroller has one 8-bit counter called counter A. Counter A, which can be used to generate
the carrier frequency, has the following components (See Figure 12-1):

— Counter A control register, CACON

— 8-bit down counter with auto-reload function

— Two 8-bit reference data registers, CADATAH and CADATAL

Counter A has two functions:

— As a normal interval timer, generating a counter A interrupt (IRQ2, vector ECH) at programmed time intervals.

— To supply a clock source to the 16-bit timer/counter module, Timer 1, for generating the Timer 1 overflow

interrupt.

NOTE

The CPU clock should be faster than count A clock.

Advertising