User’s Manual U18172EJ2V0UD
11
11.2 Standby Function Operation ................................................................................................... 180
11.2.1 HALT mode ................................................................................................................................... 180
11.2.2 STOP mode .................................................................................................................................. 183
CHAPTER 12 RESET FUNCTION ....................................................................................................... 187
12.1 Register for Confirming Reset Source................................................................................... 194
CHAPTER 13 POWER-ON-CLEAR CIRCUIT ..................................................................................... 195
13.1 Functions of Power-on-Clear Circuit...................................................................................... 195
13.2 Configuration of Power-on-Clear Circuit ............................................................................... 196
13.3 Operation of Power-on-Clear Circuit ...................................................................................... 196
13.4 Cautions for Power-on-Clear Circuit ...................................................................................... 197
CHAPTER 14 LOW-VOLTAGE DETECTOR ....................................................................................... 199
14.1 Functions of Low-Voltage Detector........................................................................................ 199
14.2 Configuration of Low-Voltage Detector ................................................................................. 199
14.3 Registers Controlling Low-Voltage Detector......................................................................... 200
14.4 Operation of Low-Voltage Detector ........................................................................................ 202
14.5 Cautions for Low-Voltage Detector ........................................................................................ 206
CHAPTER 15 OPTION BYTE ............................................................................................................... 209
15.1 Functions of Option Byte ........................................................................................................ 209
15.2 Format of Option Byte ............................................................................................................. 210
15.3 Caution When the RESET Pin Is Used as an Input-Only Port Pin (P34) ............................. 211
CHAPTER 16 FLASH MEMORY.......................................................................................................... 212
16.1 Features..................................................................................................................................... 212
16.2 Memory Configuration ............................................................................................................. 213
16.3 Functional Outline .................................................................................................................... 213
16.4 Writing with Flash Memory Programmer ............................................................................... 214
16.5 Programming Environment ..................................................................................................... 215
16.6 Processing of Pins on Board .................................................................................................. 217
16.6.1 X1 and X2 pins.............................................................................................................................. 217
16.6.2 RESET pin .................................................................................................................................... 218
16.6.3 Port pins ........................................................................................................................................ 219
16.6.4 Power supply................................................................................................................................. 219
16.7 On-Board and Off-Board Flash Memory Programming........................................................ 220
16.7.1 Flash memory programming mode ............................................................................................... 220
16.7.2 Communication commands........................................................................................................... 220
16.7.3 Security settings............................................................................................................................ 221
16.8 Flash Memory Programming by Self Programming ............................................................. 222
16.8.1 Outline of self programming .......................................................................................................... 222
16.8.2 Cautions on self programming function ......................................................................................... 225
16.8.3 Registers used for self-programming function............................................................................... 225