User's Manual

Table Of Contents
15.4.1 Detecting Interrupts ..................................................................................................................302
15.4.1.1 Operation of Status Flags for Edge-Detected Interrupts .................................................302
15.4.1.2 Operation of Status Flags for Level-Detected Interrupts ................................................304
15.4.2 Enabling and Disabling Interrupt Sources ................................................................................305
15.4.3 Selecting Interrupt Request Destinations .................................................................................306
15.4.4 Determining Priority .................................................................................................................308
15.4.5 Multiple Interrupts ....................................................................................................................308
15.4.6 Fast Interrupt .............................................................................................................................308
15.4.7 Digital Filter .............................................................................................................................309
15.4.8 External Pin Interrupts ..............................................................................................................309
15.5 Non-maskable Interrupt Operation ....................................................................................................310
15.6 Return from Power-Down States .......................................................................................................311
15.6.1 Return from Sleep Mode or Deep Sleep Mode ........................................................................311
15.6.2 Return from Software Standby Mode .......................................................................................311
15.7 Usage Note ........................................................................................................................................312
15.7.1 Note on WAIT Instruction Used with Non-Maskable Interrupt ...............................................312
16. Buses ........................................................................................................................................... 313
16.1 Overview ...........................................................................................................................................313
16.2 Description of Buses ..........................................................................................................................315
16.2.1 CPU Buses ................................................................................................................................315
16.2.2 Memory Buses ..........................................................................................................................315
16.2.3 Internal Main Buses ..................................................................................................................315
16.2.4 Internal Peripheral Buses ..........................................................................................................316
16.2.5 Write Buffer Function (Internal Peripheral Bus) ......................................................................317
16.2.6 Parallel Operation .....................................................................................................................318
16.3 Register Descriptions .........................................................................................................................319
16.3.1 Bus Error Status Clear Register (BERCLR) .............................................................................319
16.3.2 Bus Error Monitoring Enable Register (BEREN) ....................................................................319
16.3.3 Bus Error Status Register 1 (BERSR1) ....................................................................................320
16.3.4 Bus Error Status Register 2 (BERSR2) ....................................................................................320
16.3.5 Bus Priority Control Register (BUSPRI) ..................................................................................321
16.4 Bus Error Monitoring Section ...........................................................................................................323
16.4.1 Types of Bus Error ...................................................................................................................323
16.4.1.1 Illegal Address Access ....................................................................................................323
16.4.1.2 Timeout ............................................................................................................................323
16.4.2 Operations When a Bus Error Occurs ......................................................................................324
16.4.3 Conditions Leading to Bus Errors ............................................................................................324
16.5 Interrupt .............................................................................................................................................325
16.5.1 Interrupt Source ........................................................................................................................325
17. Memory-Protection Unit (MPU) .................................................................................................... 326
17.1 Overview ...........................................................................................................................................326