
S3C84E5/C84E9/P84E9 16-BIT TIMER 1(0,1)
12-1
12 16-BIT TIMER 1(0,1)
OVERVIEW
The S3C84E5/C84E9/P84E9 has two 16-bit timer/counters. The 16-bit timer 1(0,1) is an 16-bit general-purpose
timer/counter. Timer 1(0,1) has three operating modes, one of which you select using the appropriate T1CON0,
T1CON1 setting is
— Interval timer mode (Toggle output at T1OUT0, T1OUT1 pin)
— Capture input mode with a rising or falling edge trigger at the T1CAP0, T1CAP1 pin
— PWM mode (T1PWM0, T1PWM1); PWM output shares their output port with T1OUT0, T1OUT1 pin
Timer 1(0,1) has the following functional components:
— Clock frequency divider (fxx divided by 1024, 256, 64, 8, 1) with multiplexer
— External clock input pin (T1CK0, T1CK1)
— A 16-bit counter (T1CNTH0/L0, T1CNTH1/L1), a 16-bit comparator, and two 16-bit reference data register
(T1DATAH0/L0, T1DATAH1/L1)
— I/O pins for capture input (T1CAP0, T1CAP1), or match output (T1OUT0, T1OUT1)
— Timer 1(0) overflow interrupt (IRQ2, vector C6H) and match/capture interrupt (IRQ2, vector C4H) generation
— Timer 1(1) overflow interrupt (IRQ2, vector CAH) and match/capture interrupt (IRQ2, vector C8H) generation
— Timer 1(0) control register, T1CON0 (set 1, E8H, Bank 1, read/write)
— Timer 1(1) control register, T1CON1 (set 1, E9H, Bank 1, read/write)