|
|
Teilenummer | W79E201 |
|
Beschreibung | 8-BIT MICROCONTROLLER | |
Hersteller | Winbond | |
Logo | ||
Gesamt 70 Seiten www.DataSheet4U.com
W79E201 Data Sheet
Table of Contents-
8-BIT MICROCONTROLLER
1. GENERAL DESCRIPTION ......................................................................................................... 3
2. FEATURES ................................................................................................................................. 3
3. PIN CONFIGURATION ............................................................................................................... 4
4. PIN DESCRIPTION..................................................................................................................... 5
5. BLOCK DIAGRAM ...................................................................................................................... 6
6. FUNCTIONAL DESCRIPTION ................................................................................................... 7
7. MEMORY ORGANIZATION ....................................................................................................... 8
8. INSTRUCTION.......................................................................................................................... 32
8.1 Instruction Timing ......................................................................................................... 32
9. POWER MANAGEMENT.......................................................................................................... 38
10. INTERRUPTS ........................................................................................................................... 41
11. PROGRAMMABLE TIMERS/COUNTERS ............................................................................... 42
11.1 Timer/Counters 0 & 1.................................................................................................... 42
11.2 Timer/Counter 2............................................................................................................ 45
12. WATCHDOG TIMER................................................................................................................. 48
13. SERIAL PORT .......................................................................................................................... 51
13.1 Framing Error Detection ............................................................................................... 56
13.2 Multiprocessor Communications .................................................................................. 56
14. PULSE WIDTH MODULATED OUTPUTS (PWM) ................................................................... 58
15. ANALOG-TO-DIGITAL CONVERTER ...................................................................................... 60
16. TIMED ACCESS PROTECTION .............................................................................................. 63
17. H/W REBOOT MODE (BOOT FROM 4K BYTES OF LD FLASH EPROM)............................. 64
18. IN-SYSTEM PROGRAMMING ................................................................................................. 65
18.1 The Loader Program Locates at LD Flash EPROM Memory....................................... 65
18.2 The Loader Program Locates at AP Flash EPROM Memory....................................... 65
19. H/W WRITER MODE ................................................................................................................ 65
20. SECURITY BITS ....................................................................................................................... 66
21. THE PERFORMANCE CHARACTERISTIC OF ADC .............................................................. 67
21.1 The Differential Nonlinearity VS Output code............................................................... 67
21.2 The Integral Nonlinearity VS Output code .................................................................... 68
Publication Release Date: December 16, 2004
- 1 - Revision A2
5. BLOCK DIAGRAM
W79E201
P1.0
P1.7
P3.0
P3.7
P4.0
Port 1
Port Latch
1
ADC
ACC
B
T1 Register T2 Register
Port 0
Latch
Port P0.0
0 P0.7
Interrupt
Timer
2
Timer
0
Timer
1
1 UART
Port
3
Port
4
Port 3
Latch
Port 4
Latch
Oscillator
PSW
Instruction
Decoder
&
Sequencer
Bus & lock
Controller
ALU
Stack
Pointer
SFR RAM Address
256 bytes
RAM & SFR
DPTR
Temp Reg.
PC
Incrementor
Addr. Reg.
Flash
EPROM
Address
Bus
Port 2 Port P2.0
Latch 2 P2.7
Reset Block
Power control
&
Power monitor
Watchdog Timer
XTAL1 XTAL2 ALE PSEN
RST
VCC GND
-6-
6 Page W79E201
Timer Mode Control
Bit: 7 6 5 4 3 2 1 0
GATE C/T M1 M0 GATE C/T M1 M0
Mnemonic: TMOD
Address: 89h
BIT NAME
FUNCTION
Gating control: When this bit is set, Timer/counter x is enabled only while INTx pin
7 GATE is high and TRx control bit is set. When cleared, Timer x is enabled whenever TRx
control bit is set.
6
C/ T
Timer or Counter Select: When cleared, the timer is incremented by internal clocks.
When set, the timer counts high-to-low edges of the Tx pin.
5 M1 Mode Select bit.
4 M0 Mode Select bit.
Gating control: When this bit is set, Timer/counter x is enabled only while INTx pin
3 GATE is high and TRx control bit is set. When cleared, Timer x is enabled whenever TRx
control bit is set.
2
C/ T
Timer or Counter Select: When cleared, the timer is incremented by internal clocks.
When set, the timer counts high-to-low edges of the Tx pin.
1 M1 Mode Select bit.
0 M0 Mode Select bit.
M1, M0: Mode Select bits:
M1 M0
MODE
0 0 Mode 0: 8-bits with 5-bit prescale.
0 1 Mode 1: 18-bits, no prescale.
1 0 Mode 2: 8-bits with auto-reload from THx
1 1 Mode 3: (Timer 0) TL0 is an 8-bit timer/counter controlled by the standard Timer 0
control bits. TH0 is an 8-bit timer only controlled by Timer 1 control bits. (Timer 1)
Timer/counter is stopped.
Timer 0 LSB
Bit:
7
TL0.7
Mnemonic: TL0
TL0.7−0: Timer 0 LSB
6
TL0.6
5
TL0.5
4
TL0.4
321
TL0.3 TL0.2 TL0.1
Address: 8Ah
0
TL0.0
- 12 -
12 Page | ||
Seiten | Gesamt 70 Seiten | |
PDF Download | [ W79E201 Schematic.PDF ] |
Teilenummer | Beschreibung | Hersteller |
W79E201 | 8-BIT MICROCONTROLLER | Winbond |
W79E2051 | (W79E2051 / W79E4051) 8-Bit Microcontroller | NuvoTon |
Teilenummer | Beschreibung | Hersteller |
CD40175BC | Hex D-Type Flip-Flop / Quad D-Type Flip-Flop. |
Fairchild Semiconductor |
KTD1146 | EPITAXIAL PLANAR NPN TRANSISTOR. |
KEC |
www.Datenblatt-PDF.com | 2020 | Kontakt | Suche |