Datasheet

ii
4337K–USB–04/08
AT89C5130A/31A-M
10.3 Programming ...................................................................................................43
10.4 Read Data .......................................................................................................43
10.5 Registers .........................................................................................................44
11 In-System Programming (ISP) .............................................................. 45
11.1 Flash Programming and Erasure .....................................................................45
11.2 Boot Process ...................................................................................................46
11.3 Application-Programming-Interface .................................................................47
11.4 XROW Bytes ...................................................................................................47
11.5 Hardware Conditions .......................................................................................48
12 On-chip Expanded RAM (ERAM) .......................................................... 50
13 Timer 2 .................................................................................................... 53
13.1 Auto-reload Mode ............................................................................................53
13.2 Programmable Clock Output ...........................................................................54
14 Programmable Counter Array (PCA) .................................................... 58
14.1 PCA Capture Mode .........................................................................................65
14.2 16-bit Software Timer/Compare Mode ............................................................65
14.3 High Speed Output Mode ................................................................................66
14.4 Pulse Width Modulator Mode ..........................................................................67
14.5 PCA Watchdog Timer ......................................................................................68
15 Serial I/O Port ......................................................................................... 69
15.1 Framing Error Detection ..................................................................................69
15.2 Automatic Address Recognition ......................................................................70
15.3 Baud Rate Selection for UART for Mode 1 and 3 ............................................72
15.4 UART Registers ...............................................................................................75
16 Interrupt System ..................................................................................... 79
16.1 Overview ..........................................................................................................79
16.2 Registers .........................................................................................................80
16.3 Interrupt Sources and Vector Addresses .........................................................87
17 Keyboard Interface ................................................................................. 88
17.1 Introduction ......................................................................................................88
17.2 Description .......................................................................................................88
17.3 Registers .........................................................................................................89
18 Programmable LED ................................................................................ 92