User's Manual

Table Of Contents
11.6.1 Sleep Mode ...............................................................................................................................249
11.6.1.1 Entry to Sleep Mode ........................................................................................................249
11.6.1.2 Exit from Sleep Mode .....................................................................................................250
11.6.1.3 Sleep Mode Return Clock Source Switching Function ...................................................250
11.6.2 Deep Sleep Mode ......................................................................................................................251
11.6.2.1 Entry to Deep Sleep Mode ..............................................................................................251
11.6.2.2 Exit from Deep Sleep Mode ............................................................................................252
11.6.3 Software Standby Mode ...........................................................................................................253
11.6.3.1 Entry to Software Standby Mode ....................................................................................253
11.6.3.2 Exit from Software Standby Mode ..................................................................................254
11.6.3.3 Example of Software Standby Mode Application ...........................................................255
11.7 Usage Notes .......................................................................................................................................256
11.7.1 I/O Port States ...........................................................................................................................256
11.7.2 Module Stop State of DMAC and DTC ...................................................................................256
11.7.3 On-Chip Peripheral Module Interrupts .....................................................................................256
11.7.4 Write Access to MSTPCRA, MSTPCRB, MSTPCRC, and MSTPCRD .................................256
11.7.5 Timing of WAIT Instructions ...................................................................................................256
11.7.6 Rewrite the Register by DMAC and DTC in Sleep Mode .......................................................256
12. Battery Backup Function .............................................................................................................. 257
12.1 Overview ...........................................................................................................................................257
12.2 Register Descriptions .........................................................................................................................258
12.2.1 VBATT Control Register (VBATTCR) ...................................................................................258
12.2.2 VBATT Status Register (VBATTSR) ......................................................................................259
12.2.3 VBATT Pin Voltage Drop Detection Interrupt Control Register (VBTLVDICR) ..................260
12.3 Operation ...........................................................................................................................................261
12.3.1 Battery Backup Function ..........................................................................................................261
12.3.2 VBATT Pin Voltage Monitoring Function ..............................................................................262
12.4 Usage Notes .......................................................................................................................................263
13. Register Write Protection Function .............................................................................................. 264
13.1 Register Descriptions .........................................................................................................................265
13.1.1 Protect Register (PRCR) ...........................................................................................................265
14. Exception Handling ...................................................................................................................... 266
14.1 Exception Events ...............................................................................................................................266
14.1.1 Undefined Instruction Exception .............................................................................................. 267
14.1.2 Privileged Instruction Exception ..............................................................................................267
14.1.3 Access Exceptions ....................................................................................................................267
14.1.4 Floating-Point Exception ..........................................................................................................267
14.1.5 Reset .........................................................................................................................................267
14.1.6 Non-Maskable Interrupt ...........................................................................................................267
14.1.7 Interrupt ....................................................................................................................................267
14.1.8 Unconditional Trap ........................................................................................................
...........267