Samsung S3F80JB manual Counter a

Models: S3F80JB

1 346
Download 346 pages 34.13 Kb
Page 262
Image 262

S3F80JB

COUNTER A

 

 

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.

12-1

Page 262
Image 262
Samsung S3F80JB manual Counter a