EasyManuals Logo

Abov A96G166 User Manual

Default Icon
247 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #105 background imageLoading...
Page #105 background image
A96G166/A96A166/A96S166 User’s manual 11. Timer 0/1/2
105
11.3 Timer 2
A 16-bit timer 2 consists of a multiplexer, timer 2 A data high/low register, timer 2 B data high/low
register and timer 2 control high/low register (T2ADRH, T2ADRL, T2BDRH, T2BDRL, T2CRH, and
T2CRL).
Timer 2 operates in one of the following modes:
 16-bit timer/counter mode
 16-bit capture mode
 16-bit PPG output mode (one-shot mode)
 16-bit PPG output mode (repeat mode)
The timer/counter 2 can be a divided clock of a system clock which is selected from prescaler output,
external clock(EC2) and T1 A Match (timer 1 A match signal). The clock source is selected by a clock
selection logic, controlled by clock selection bits (T2CK[2:0]).
 TIMER 2 clock source: f
X
/1, f
X
/2, f
X
/4, f
X
/8, f
X
/128, f
X
/512, EC2 and T1 A Match
In capture mode, data is captured into input capture data registers (T2BDRH/T2BDRL) by EINT12. In
timer/counter mode, whenever counter value is equal to T2ADRH/L, T2O port toggles. In addition, the
timer 2 outputs PWM waveform to PWM2O port in the PPG mode.
Table 19. TIMER 2 Operating Modes
T2EN
P1FSRL[7:6]
T2MS[1:0]
T2CK[2:0]
Timer 2
1
01
00
XXX
16 Bit Timer/Counter Mode
1
00
01
XXX
16 Bit Capture Mode
1
01
10
XXX
16 Bit PPG Mode(one-shot mode)
1
01
11
XXX
16 Bit PPG Mode(repeat mode)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Abov A96G166 and is the answer not in the manual?

Abov A96G166 Specifications

General IconGeneral
BrandAbov
ModelA96G166
CategoryComputer Hardware
LanguageEnglish

Related product manuals