S3C84E5/C84E9/P84E9

8-BIT TIMER A/B

 

 

11 8-BIT TIMER A/B

8-BIT TIMER A

OVERVIEW

The 8-bit timer A is an 8-bit general-purpose timer/counter. Timer A has three operating modes, you can select one of them using the appropriate TACON setting:

Interval timer mode (Toggle output at TAOUT pin)

Capture input mode with a rising or falling edge trigger at the TACAP pin

PWM mode (TAPWM)

Timer A has the following functional components:

Clock frequency divider (fxx divided by 1024, 256, or 64) with multiplexer

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) or PWM or match output (TAOUT)

Timer A overflow interrupt (IRQ1, vector C2H) and match/capture interrupt (IRQ1, vector C0H) generation

Timer A control register, TACON (set 1, bank1, E1H, read/write)

11-1

Page 245
Image 245
Samsung S3C84E5 user manual 11 8-BIT Timer A/B, BIT Timer a, 11-1