Document
N76E616 Datasheet
Nuvoton 1T 8051-based Microcontroller
N76E616
Datasheet
Oct 25, 2017
Page 1 of 183
Rev. 1.02
N76E616 Datasheet
TABLE OF CONTENTS
1. GENERAL DESCRIPTION ............................................................................................................................... 5 2. FEATURES ....................................................................................................................................................... 6 3. BLOCK DIAGRAM ........................................................................................................................................... 8 4. PIN CONFIGURATION ..................................................................................................................................... 9 5. MEMORY ORGANIZATION ........................................................................................................................... 15
5.1 Program Memory .................................................................................................................................... 15 5.2 Data Memory .......................................................................................................................................... 17 5.3 On-Chip XRAM ....................................................................................................................................... 18 5.4 Non-Volatile Data Storage ...................................................................................................................... 19 6. SPECIAL FUNCTION REGISTER (SFR) ....................................................................................................... 20 7. GENERAL 80C51 SYSTEM CONTROL ........................................................................................................ 26 8. I/O PORT STRUCTURE AND OPERATION .................................................................................................. 29 8.1 Quasi-Bidirectional Mode........................................................................................................................ 29 8.2 Push-Pull Mode ...................................................................................................................................... 30 8.3 Input-Only Mode ..................................................................................................................................... 31 8.4 Open-Drain Mode ................................................................................................................................... 31 8.5 Read-Modify-Write Instructions .............................................................................................................. 32 8.6 Control Registers of I/O Ports................................................................................................................. 32
8.6.1 Input and Output Data Control ..................................................................................................... 33 8.6.2 Output Mode Control.................................................................................................................... 35 8.6.3 Input Type and Output Strength Control...................................................................................... 37 9. TIMER/COUNTER 0 AND 1............................................................................................................................ 40 9.1 Mode 0 (13-Bit Timer)............................................................................................................................. 44 9.2 Mode 1 (16-Bit Timer)............................................................................................................................. 44 9.3 Mode 2 (8-Bit Auto-Reload Timer).......................................................................................................... 45 9.4 Mode 3 (Two Separate 8-Bit Timers) ..................................................................................................... 45 10. TIMER 2A/2B/2C/2D..................................................................................................................................... 47 10.1 Auto-Reload Mode................................................................................................................................ 47 10.2 PWM Mode ........................................................................................................................................... 48 10.3 Control Registers of Timer 2................................................................................................................. 50 11. TIMER 3 ........................................................................................................................................................ 56 12. WATCHDOG TIMER (WDT) .........................................................................................................................