Rainbow Electronics W79E8213R User Manual
Page 8

Preliminary W79E8213/W79E8213R Data Sheet
Publication Release Date: July 11, 2008
- 8 -
Revision A2
6. FUNCTIONAL
DESCRIPTION
The W79E8213 series architecture consist of a 4T 8051 core controller surrounded by various
registers, 4K bytes Flash EPROM, 128 bytes of RAM, up to 18 general purpose I/O ports, two
timer/counters, 3 edge detector inputs, 4-channel PWM with 10-bits counter, 8-channel multiplexed
with 10-bit ADC analog input, Flash EPROM program by Writer and ICP. W79E8213 series supported
128 bytes NVM Data Flash EPROM.
6.1 On-Chip Flash EPROM
The W79E8213 series include one 4K bytes of main Flash EPROM for application program. A Writer
or ICP programming board is required to program the Flash EPROM or NVM Data Flash EPROM.
This ICP (In-Circuit Programming) feature makes the job easy and efficient when the application’s
firmware needs to be updated frequently. In some applications, the in-circuit programming feature
makes it possible for the end-user to easily update the system firmware without opening the chassis.
6.2 I/O
Ports
The W79E8213 series have up to 18 I/O pins using internal RC oscillator & /RST is input only by reset
options. All ports can be used as four outputs mode when it may set by PxM1.y and PxM2.y SFR’s
registers, it has strong pull-ups and pull-downs, and does not need any external pull-ups. Otherwise it
can be used as general I/O port as open drain circuit. All ports can be used bi-directional and these
are as I/O ports. These ports are not true I/O, but rather are pseudo-I/O ports. This is because these
ports have strong pull-downs and weak pull-ups.
6.3
Timers
The W79E8213 series have two 16-bit timers that are functionally and similar to the timers of the 8052
family. When used as timers, the user has a choice of 12 or 4 clocks per count that emulates the
timing of the original 8052.
6.4 Interrupts
The Interrupt structure in the W79E8213 series is slightly different from that of the standard 8052. Due
to the presence of additional features and peripherals, the number of interrupt sources and vectors
has been increased.
6.5 Data
Pointer
The data pointer of W79E8213 series is same as standard 8052 which have 16-bit Data Pointer
(DPTR).
6.6 Architecture
The W79E8213 series are based on the standard 8052 device. It is built around an 8-bit ALU that uses
internal registers for temporary storage and control of the peripheral devices. It can execute the
standard 8052 instruction set.