![Abov MC96F6332A Скачать руководство пользователя страница 130](http://html1.mh-extra.com/html/abov/mc96f6332a/mc96f6332a_user-manual_452925130.webp)
130
MC96F6432A
ABOV Semiconductor Co., Ltd.
11.7 Timer 2
11.7.1 Overview
The 16-bit timer 2 consists of 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).
It has four operating 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 divided clock of the system clock selected from prescaler output and T1 A Match (timer 1 A
match signal). The clock source is selected by clock selection logic which is controlled by the clock selection bits
(T2CK[2:0]).
−
TIMER 2 clock source: f
X
/(1, 2, 4, 8, 32, 128, 512), T1 A Match
In the capture mode, by EINT12, the data is captured into input capture data register (T2BDRH/T2BDRL). In
timer/counter mode, whenever counter value is equal to T2ADRH/L, T2O port toggles. Also the timer 2 outputs PWM
wave form to PWM2O port in the PPG mode.
T2EN
P1FSRL[3:2]
T2MS[1:0]
T2CK[2:0]
Timer 2
1
11
00
XXX
16-bit Timer/Counter Mode
1
00
01
XXX
16-bit Capture Mode
1
11
10
XXX
16-bit PPG Mode (one-shot mode)
1
11
11
XXX
16-bit PPG Mode (repeat mode)
Table 11.9
Timer 2 Operating Modes
Содержание MC96F6332A
Страница 16: ...16 MC96F6432A ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 48 Pin QFN Package ...
Страница 17: ...17 MC96F6432A ABOV Semiconductor Co Ltd Figure 4 2 44 Pin MQFP Package ...
Страница 18: ...18 MC96F6432A ABOV Semiconductor Co Ltd Figure 4 3 32 Pin LQFP Package ...
Страница 19: ...19 MC96F6432A ABOV Semiconductor Co Ltd Figure 4 4 32 Pin SOP Package ...
Страница 20: ...20 MC96F6432A ABOV Semiconductor Co Ltd Figure 4 5 28 Pin SOP Package ...