S3F84B8_UM_REV 1.00
11
11.1 OVERVIEW OF 8-BIT TIMER A
The 8-bit Timer A is a general-purpose timer/counter. It has three operating modes, and you can select one of the
modes using the appropriate TACON setting.
The three operating modes are:
Interval timer mode (Toggles output at TAOUT pin)
Capture input mode with a rising or falling edge trigger at the TACAP pin
PWM mode (TAOUT)
Timer A comprises of the following functional components:
Prescalar for clock frequency programmable from fx to fx/4096
External clock input pin (TACK)
8-bit counter (TACNT), 8-bit comparator, and 8-bit reference data register (TADATA)
I/O pins for capture input (TACAP), PWM, or Match Output (TAOUT)
Timer A overflow interrupt and match/capture interrupt
Timer A control register, TACON (E1H, Set1 Bank1, read/write)
8-BIT TIMER A
11-1
11 8-BIT TIMER A