W78LE365/W78L365A Data Sheet
8-BIT MICROCONTROLLER
Table of Contents-
1.
2.
3.
4.
5.
GENERAL DESCRIPTION ......................................................................................................... 3
FEATURES................................................................................................................................. 3
PIN CONFIGURATIONS ............................................................................................................ 4
PIN DESCRIPTION..................................................................................................................... 5
FUNCTIONAL DESCRIPTION ................................................................................................... 6
5.1
5.2
RAM................................................................................................................................ 6
Timers 0, 1 and 2............................................................................................................ 7
5.2.1 Timer 2 Output .................................................................................................................7
5.3
5.4
Clock............................................................................................................................... 7
5.3.1 Crystal Oscillator ..............................................................................................................7
5.3.2 External Clock ..................................................................................................................7
Power Management........................................................................................................ 8
5.4.1 Idle Mode..........................................................................................................................8
5.4.2 Power-down Mode............................................................................................................8
5.4.3 Reduce EMI Emission ......................................................................................................8
5.5
5.6
Reset............................................................................................................................... 9
5.5.1 W78L365A Special Function Registers (SFRs) and Reset Values...................................9
Port 4 ............................................................................................................................ 10
5.6.1 Port Options Register .....................................................................................................10
5.6.2 INT2 /INT3 ..................................................................................................................10
5.6.3 Port 4 Base Address Registers ......................................................................................13
Pulse Width Modulated Outputs (PWM)....................................................................... 14
Watchdog Timer ........................................................................................................... 17
In-System Programming (ISP) Mode............................................................................ 19
5.9.1 In-System Programming Control Register (CHPCON) ...................................................20
5.7
5.8
5.9
5.10 Software Reset ............................................................................................................. 21
5.11 H/W Reboot Mode (Boot from LDROM)....................................................................... 21
SECURITY................................................................................................................................ 24
6.
7.
6.1
6.2
6.3
6.4
Lock Bit ......................................................................................................................... 24
MOVC Inhibit................................................................................................................. 24
Encryption..................................................................................................................... 25
Oscillator Control .......................................................................................................... 25
ELECTRICAL CHARACTERISTICS......................................................................................... 26
Publication Release Date: January 10, 2007
- 1 -
Revision A7