Document
Nuvoton 8-bit Microcontroller
N79E855A N79E854A N79E853A
Datasheet
Version: A1.0
Preliminary N79E855A_854A_853A Data sheet
Contents
CONTENTS......................................................................................................................................................... 2
1 DESCRIPTION........................................................................................................................................ 5
2 FEATURES ............................................................................................................................................. 6
3 PARTS INFORMATION LIST ................................................................................................................. 8
4 BLOCK DIAGRAM .................................................................................................................................. 9
5 PIN CONFIGURATION ......................................................................................................................... 10
6 MEMORY ORGANIZATION ................................................................................................................. 13
6.1 General Description for Flash IP .............................................................................................. 14 6.1.1 APROM Flash memory ................................................................................................ 14 6.1.2 LDROM Flash memory................................................................................................. 14 6.1.3 Data Flash memory ...................................................................................................... 14 6.1.4 Config-bits .................................................................................................................... 15
6.2 On-chip XRAM.......................................................................................................................... 15 6.3 On-chip scratch-pad RAM and SFR ......................................................................................... 15 6.4 Working Registers .................................................................................................................... 17 6.5 Bit addressable Locations......................................................................................................... 18 6.6 Stack ......................................................................................................................................... 18 6.7 On-chip Non-volatile Data Flash............................................................................................... 18
7 SPECIAL FUNCTION REGISTER (SFR) ............................................................................................. 20
8 GENERAL 8051 CORE ........................................................................................................................ 26
9 GENERAL PURPOSE IO (GPIO) ......................................................................................................... 31
9.1 Quasi-Bidirectional Output Configuration ................................................................................. 31 9.1.1 Read-Modify-Write ....................................................................................................... 32
9.2 Open Drain Output Configuration ............................................................................................. 33 9.3 Push-Pull Output Configuration ................................................................................................ 33 9.4 Input Only Configuration ........................................................................................................... 34
10 TIMERS/COUNTERS (TIMER)............................................................................................................. 39
10.1 10.2
Timer/Counters 0 and 1 ............................................................................................................ 39 10.1.1 Mode 0 (13-bit Timer)................................................................................................. 43 10.1.2 Mode 1 (16-bit Timer)................................................................................................. 43 10.1.3 Mode 2 (8-bit Auto-Reload Timer).............................................................................. 44 10.1.4 Mode 3 (Two Separate 8-bit Timers) ......................................................................... 45 Timer/Counter 2........................................................................................................................ 46 10.2.1 Input Capture Mode.................................................................................................... 49 10.2.2 Auto-reload Mode....................................................................................................... 53 10.2.3 Compare Mode........................................