w79e532 Winbond Electronics Corp America, w79e532 Datasheet - Page 41

no-image

w79e532

Manufacturer Part Number
w79e532
Description
8-bit Microcontroller
Manufacturer
Winbond Electronics Corp America
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
w79e532A40FL
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Part Number:
w79e532A40PL
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Auto-reload Mode, Counting up
The auto-reload mode as an up counter is enabled by clearing the CP RL
and clearing the DCEN bit in T2MOD register. In this mode, Timer/Counter 2 is a 16 bit up counter.
When the counter rolls over from FFFFh, a reload is generated that causes the contents of the
RCAP2L and RCAP2H registers to be reloaded into the TL2 and TH2 registers. The reload action also
sets the TF2 bit. If the EXEN2 bit is set, then a negative transition of T2EX pin will also cause a
reload. This action also sets the EXF2 bit in T2CON.
EXEN2 = T2CON.3
TR2 = T2CON.2
T2EX = P1.1
EXEN2 = T2CON.3
TR2 = T2CON.2
T2 = P1.0
T2EX = P1.1
ptd
T2 = P1.0
ptd
1/12
1/4
1/12
1/4
T2M = CKCON.5
1
0
T2M = CKCON.5
Figure 15. 16-Bit Auto-reload Mode, Counting Up
1
0
C/T2 = T2CON.1
1
C/T2 = T2CON.1
0
Figure 14. 16-Bit Capture Mode
0
1
- 41 -
RCAP2L
RCAP2L
TL2
TL2
Publication Release Date: November 21, 2005
RCAP2H
RCAP2H
TH2
TH2
W79E532/W79L532
/
T2CON.7
T2CON.6
T2CON.7
2 bit in the T2CON register
T2CON.6
EXF2
EXF2
TF2
TF2
Interrupt
Timer 2
Revision A5
Interrupt
Timer 2

Related parts for w79e532