1
2
3
4
Description ............................................................................................... 1
Typical Applications ................................................................................ 1
Block Diagram .......................................................................................... 2
Pin Description ......................................................................................... 3
4.1 Signals ......................................................................................................................4
4.2 Internal Pin Structure ..............................................................................................10
5
6
Address Spaces ..................................................................................... 11
Clock Controller ..................................................................................... 12
6.1 Oscillator ................................................................................................................12
6.2 X2 Feature ..............................................................................................................12
6.3 PLL .........................................................................................................................13
6.4 Registers ................................................................................................................14
7
Program/Code Memory ......................................................................... 17
7.1 Flash Memory Architecture ....................................................................................17
7.2 Hardware Security System .....................................................................................18
7.3 Boot Memory Execution .........................................................................................19
7.4 Registers ................................................................................................................20
7.5 Hardware Bytes ......................................................................................................20
8
9
Data Memory .......................................................................................... 22
8.1 Internal Space ........................................................................................................22
8.2 External Space .......................................................................................................23
8.3 Dual Data Pointer ...................................................................................................26
8.4 Registers ................................................................................................................27
Special Function Registers ................................................................... 29
10 Interrupt System .................................................................................... 34
10.1 Interrupt System Priorities ....................................................................................34
10.2 External Interrupts ................................................................................................37
10.3 Registers ..............................................................................................................38
11 Power Management ............................................................................... 44
11.1 Reset ....................................................................................................................44
11.2 Reset Recommendation to Prevent Flash Corruption ..........................................45
11.3 Idle Mode ..............................................................................................................46
11.4 Power-down Mode ...............................................................................................46
i
AT89C5132
4173E–USB–09/07