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