Document
Preliminary W79E4051/W79E2051 Data Sheet
8-BIT MICROCONTROLLER
Table of Contents1 2 3 4 5 6 GENERAL DESCRIPTION ......................................................................................................... 4 FEATURES ................................................................................................................................. 5 PARTS INFORMATION LIST ..................................................................................................... 7 3.1 Lead Free (RoHS) Parts information list......................................................................... 7 PIN CONFIGURATION ............................................................................................................... 8 PIN DESCRIPTION..................................................................................................................... 9 FUNCTIONAL DESCRIPTION.................................................................................................. 10 6.1 On-Chip Flash EPROM ................................................................................................ 10 6.2 I/O Ports........................................................................................................................ 10 6.3 Serial I/O ....................................................................................................................... 10 6.4 Timers ........................................................................................................................... 10 6.5 Interrupts....................................................................................................................... 10 6.6 Data Pointers ................................................................................................................ 10 6.7 Architecture................................................................................................................... 11
6.7.1 6.7.2 6.7.3 6.7.4 6.7.5 6.7.6 ALU ................................................................................................................................11 Accumulator ...................................................................................................................11 B Register.......................................................................................................................11 Program Status Word: ....................................................................................................11 Scratch-pad RAM ...........................................................................................................11 Stack Pointer ..................................................................................................................11
7
8 9 10
11
MEMORY ORGANIZATION...................................................................................................... 12 7.1 Program Memory (on-chip Flash) ................................................................................. 12 7.2 Data Flash Memory ...................................................................................................... 12 7.3 Scratch-pad RAM and Register Map ............................................................................ 12 7.4 Working Registers......................................................................................................... 14 7.5 Bit addressable Locations............................................................................................. 14 7.6 Stack ............................................................................................................................. 15 SPECIAL FUNCTION REGISTERS ......................................................................................... 16 INSTRUCTION.......................................................................................................................... 37 9.1 Instruction Timing.......................................................................................................... 45 POWER MANAGEMENT.......................................................................................................... 46 10.1 Idle Mode ...................................................................................................................... 46 10.2 Power Down Mode ....................................................................................................... 46 RESET CONDITIONS............................................................................................................... 48 11.1 Sources of reset............................................................................................................ 48
11.1.1 11.1.2 11.1.3 External Reset ..............................................................................................................48 Power-On Reset (POR)................................................................................................48 Brown-Out Reset (BOR)...........