Table of Contents
148
2/148
2
1 PREAMBLE: ST72C334 VERSUS ST72E331 SPECIFICATION . . . . . . . . . . . . . ............ 4
2 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . ......................................... 5
3 PIN DESCRIPTION . . . . . . . . . . . . ................................................ 6
4 REGISTER & MEMORY MAP . . . ................................................ 12
5 FLASH PROGRAM MEMORY . . . . . . . . . . . . . . . . . ................................. 16
5.1 INTRODUCTION . ...................................................... 16
5.2 MAIN FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . .................... 16
5.3 STRUCTURAL ORGANISATION . . . . . . . . . . . . . . . ........................... 16
5.4 IN-SITU PROGRAMMING (ISP) MODE . .................................... 16
5.5 MEMORY READ-OUT PROTECTION . . . . . ................................. 16
6 DATA EEPROM . . . . . . . . . .................................................... 17
6.1 INTRODUCTION . ...................................................... 17
6.2 MAIN FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . .................... 17
6.3 MEMORY ACCESS . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . ........ 18
6.4 POWER SAVING MODES . . . . . . ......................................... 19
6.5 ACCESS ERROR HANDLING . . . . . . . . . . . ................................. 19
6.6 REGISTER DESCRIPTION . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ........ 20
6.7 READ-OUT PROTECTION OPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ........ 20
7 CENTRAL PROCESSING UNIT . . ............................................... 21
7.1 INTRODUCTION . ...................................................... 21
7.2 MAIN FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . .................... 21
7.3 CPU REGISTERS . . .. . . . . . . . . . . . . . . . . . ................................. 21
8 SUPPLY, RESET AND CLOCK MANAGEMENT . . . . ................................24
8.1 LOW VOLTAGE DETECTOR (LVD) . . . . . . . .................................25
8.2 RESET SEQUENCE MANAGER (RSM) . . . . ................................. 26
8.3 MULTI-OSCILLATOR (MO) . . . . . . . . . . . . . . . ................................ 28
8.4 CLOCK SECURITY SYSTEM (CSS) . . . . . . . . ................................29
8.5 SUPPLY, RESET AND CLOCK REGISTER DESCRIPTION . .................... 30
9 INTERRUPTS . . ............................................................. 31
9.1 NON MASKABLE SOFTWARE INTERRUPT . . . . . . ........................... 31
9.2 EXTERNAL INTERRUPTS . . . . . . . . . . . . . .................................. 31
9.3 PERIPHERAL INTERRUPTS . . ...........................................31
10 POWER SAVING MODES . . . . . ............................................... 33
10.1 INTRODUCTION . ...................................................... 33
10.2 SLOW MODE . . . . . . . . . . . . . . ...........................................33
10.3 WAIT MODE . . . . . . . . . . . ............................................... 34
10.4 ACTIVE-HALT AND HALT MODES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
11 I/O PORTS . . . .............................................................. 37
11.1 INTRODUCTION . ...................................................... 37
11.2 FUNCTIONAL DESCRIPTION . . . . ........................................37
11.3 I/O PORT IMPLEMENTATION . . . . ........................................ 40
11.4 LOW POWER MODES . . . . . . . . . . . . . . . . . ................................. 41