12. Timer 0/1/2/3/4/5
A96G150 User's manual
134
12.4
Timer 3
A 16-bit timer 3 consists of a multiplexer, timer 3 A data high/low register, timer 3 B data high/low
register and timer 3 control high/low register (T3ADRH, T3ADRL, T3BDRH, T3BDRL, T3CRH, and
T3CRL).
Timer 3 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 3 can be clocked by an internal or an external clock source (EC3). The clock source
is selected by a clock selection logic controlled by clock selection bits (T3CK[2:0]).
TIMER 3 clock source: fx/1, fx/2, fx/4, fx/8, fx/64, fx/512, fx/2048 and EC3
In capture mode, data is captured into input capture data registers (T3BDRH/T3BDRL) by EINT43.
Timer 3 results in the comparison between counter and data register through T3O port in timer/counter
mode. In addition, timer 3 outputs PWM waveform through PWM3O port in the PPG mode.
Table 20. TIMER 3 Operating Modes
T3EN
P0FSRH[1:0]
T3MS[1:0]
T3CK[2:0]
Timer 3
1
10
00
XXX
16 Bit Timer/Counter Mode
1
00
01
XXX
16 Bit Capture Mode
1
10
10
XXX
16 Bit PPG Mode(one-shot mode)
1
10
11
XXX
16 Bit PPG Mode(repeat mode)
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...