XC886/888CLM
Timers
User’s Manual
13-15
V1.3, 2010-02
Timers, V 1.0
negative/positive transition at pin T2EX caused the reload, bit EXF2 in register T2CON
is set. In either case, an interrupt is generated to the core and the timer proceeds to its
next count sequence. The EXF2 flag, similar to the TF2, must be cleared by software.
If bit T2RHEN is set, Timer 2 is started by first falling edge/rising edge at pin T2EX, which
is defined by bit T2REGS. If bit EXEN2 is set, bit EXF2 is also set at the same point when
Timer 2 is started with the same falling edge/rising edge at pin T2EX, which is defined
by bit EDGESEL. The reload will happen with the following negative/positive transitions
at pin T2EX, which is defined by bit EDGESEL.
Figure 13-5
Auto-Reload Mode (DCEN = 0)
13.2.2.2
Up/Down Count Enabled
If DCEN = 1, the up-down count selection is enabled. The direction of count is
determined by the level at input pin T2EX. The operational block diagram is shown in
TF2
EXF2
THL2
RC2
OR
OR
EXEN2
Overflow
Timer 2
Interrupt
T2EX
TR2
f
PCLK
PREN
T2PRE
/12
0
1
T2
C/T2 = 0
C/T2 = 1
*
Содержание XC886CLM
Страница 1: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 3: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 324: ...XC886 888CLM Serial Interfaces User s Manual 12 52 V1 3 2010 02 Serial Interfaces V 1 0...
Страница 663: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG...