S3F80P5_UM_ REV1.00 COUNTER A
12 COUNTER A
OVERVIEW
The S3F80P5 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