W78E052DDG Nuvoton Technology Corporation of America, W78E052DDG Datasheet - Page 53

no-image

W78E052DDG

Manufacturer Part Number
W78E052DDG
Description
IC MCU 8-BIT 8K FLASH 40-DIP
Manufacturer
Nuvoton Technology Corporation of America
Series
W78r
Datasheet

Specifications of W78E052DDG

Core Processor
8052
Core Size
8-Bit
Speed
40MHz
Connectivity
EBI/EMI, UART/USART
Peripherals
POR, WDT
Number Of I /o
36
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.4 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
W78E052DDG
Manufacturer:
NUVOTON
Quantity:
1 000
Part Number:
W78E052DDG
Manufacturer:
Winbond
Quantity:
1 000
Part Number:
W78E052DDG
Manufacturer:
NUVOTON
Quantity:
20 000
Part Number:
W78E052DDG
0
14.3.2 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(bit0) register. In this mode, Timer/Counter 2 is a 16 bit up
counter. When the counter rolls over from 0FFFFh, 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.
14.3.3 Auto-reload Mode, Counting Up/Down
Timer/Counter 2 will be in auto-reload mode as an up/down counter if CP RL
cleared and the DCEN bit in T2MOD is set. In this mode, Timer/Counter 2 is an up/down counter
whose direction is controlled by the T2EX pin. A 1 on this pin cause the counter to count up. An over-
flow while counting up will cause the counter to be reloaded with the contents of the capture registers.
The next down count following the case where the contents of Timer/Counter equal the capture regis-
ters will load a 0FFFFh into Timer/Counter 2. In either event a reload will set the TF2 bit. A reload will
also toggle the EXF2 bit. However, the EXF2 bit can not generate an interrupt while in this mode.
TR2=T2CON.2
T2=P1.0
Figure 14- 5 16-Bit Auto-reload Mode, Counting Up
(RCLK,TCLK,
Figure 14- 4 16-Bit Capture Mode
0
1
C/T2=T2CON.1
W78E054D/W78E052D/W78E051D Data Sheet
CP/
RL2
- 53 -
)= (0,0,0) & DCEN= 0
Publication Release Date: Dec 29, 2009
T2CON.7
/
T2CON.6
2 bit in the T2CON register
/
2 bit in T2CON is
Revision A09
Interrupt
Timer2

Related parts for W78E052DDG