Rainbow Electronics T89C51AC2 User Manual
Page 108

i
T89C51AC2
Rev. B – 19-Dec-01
Table of Contents
1.
Features ......................................................................................................... 1
2. Description ...................................................................................................... 1
3. Block Diagram ................................................................................................. 2
4. Pin Configuration ............................................................................................. 3
4.1 I/O Configurations ..................................................................................... 6
4.2 Port 1, Port 3 and Port 4 ............................................................................ 6
4.3 Port 0 and Port2 ........................................................................................ 7
4.4 Read-Modify-Write Instructions ................................................................. 8
4.5 Quasi-Bidirectional Port Operation ............................................................ 9
5. SFR Mapping .................................................................................................. 10
6. Clock ............................................................................................................... 15
6.1 Description ................................................................................................ 15
6.2 Register ..................................................................................................... 17
7.1 Internal Space ............................................................................................ 20
7.2 External Space .......................................................................................... 21
7.3 Dual Data Pointer ...................................................................................... 23
7.4 Registers ................................................................................................... 24
8.1 Write Data in the column latches ............................................................... 26
8.2 Programming ............................................................................................. 26
8.3 Read Data ................................................................................................. 26
8.4 Examples ................................................................................................... 27
8.5 Registers ................................................................................................... 28
9.1 External Code Memory Access ................................................................. 29
9.2 FLASH Memory Architecture ..................................................................... 31
9.3 Overview of FM0 operations ..................................................................... 33
9.4 Registers ................................................................................................... 39
10.1 Flash Programming and Erasure ............................................................ 40
10.2 Boot Process ............................................................................................ 41
10.3 Application-Programming-Interface ......................................................... 42
10.4 XROW Bytes ............................................................................................ 43
10.5 Hardware Security Byte ........................................................................... 44
11.1 Framing Error Detection ......................................................................... 45
11.2 Automatic Address Recognition .............................................................. 46
11.3 Given Address ........................................................................................ 46
11.4 Broadcast Address ................................................................................. 47
11.5 Registers .................................................................................................. 48
12.1 Timer/Counter Operations ....................................................................... 51
12.2 Timer 0 .................................................................................................... 51
12.3 Timer 1 .................................................................................................... 53
12.4 Interrupt ................................................................................................... 54
12.5 Registers ................................................................................................. 55
13.1 Auto-Reload Mode ................................................................................. 59
13.2 Programmable Clock-Output .................................................................. 60
13.3 Registers ................................................................................................. 62