17.2.3 Memory-Protection Enable Register (MPEN) ......................................................................... 323
17.2.4 Background Access Control Register (MPBAC) ..................................................................... 324
17.2.5 Memory-Protection Error Status-Clearing Register (MPECLR) ............................................. 325
17.2.6 Memory-Protection Error Status Register (MPESTS) ............................................................. 326
17.2.7 Data Memory-Protection Error Address Register (MPDEA) ................................................... 327
17.2.8 Region Search Address Register (MPSA) ................................................................................ 327
17.2.9 Region Search Operation Register (MPOPS) ........................................................................... 328
17.2.10 Region Invalidation Operation Register (MPOPI) ................................................................... 328
17.2.11 Instruction-Hit Region Register (MHITI) ................................................................................ 329
17.2.12 Data-Hit Region Register (MHITD) ......................................................................................... 331
17.3 Functions ........................................................................................................................................... 333
17.3.1 Memory Protection ................................................................................................................... 333
17.3.2 Region Search ........................................................................................................................... 333
17.3.3 Protection of Registers Related to the Memory-Protection Unit .............................................. 333
17.3.4 Flow for Determination of Access by the Memory-Protection Function ................................. 334
17.4 Procedures for Using Memory Protection ......................................................................................... 336
17.4.1 Setting Access-Control Information ......................................................................................... 336
17.4.2 Enabling Memory Protection .................................................................................................... 336
17.4.3 Transition to User Mode ........................................................................................................... 336
17.4.4 Processing in Response to Memory-Protection Errors ............................................................. 336
18. DMA Controller (DMACA) ............................................................................................................ 338
18.1 Overview ........................................................................................................................................... 338
18.2 Register Descriptions ......................................................................................................................... 340
18.2.1 DMA Source Address Register (DMSAR) .............................................................................. 340
18.2.2 DMA Destination Address Register (DMDAR) ...................................................................... 340
18.2.3 DMA Transfer Count Register (DMCRA) ............................................................................... 341
18.2.4 DMA Block Transfer Count Register (DMCRB) ..................................................................... 343
18.2.5 DMA Transfer Mode Register (DMTMD) ............................................................................... 344
18.2.6 DMA Interrupt Setting Register (DMINT) .............................................................................. 345
18.2.7 DMA Address Mode Register (DMAMD) ............................................................................... 347
18.2.8 DMA Offset Register (DMOFR) .............................................................................................. 350
18.2.9 DMA Transfer Enable Register (DMCNT) .............................................................................. 351
18.2.10 DMA Software Start Regis
ter (DMREQ) ................................................................................ 352
18.2.11 DMA Status Register (DMSTS) ............................................................................................... 353
18.2.12 DMA Activation Source Flag Control Register (DMCSL) ...................................................... 355
18.2.13 DMA Module Activation Register (DMAST) .......................................................................... 356
18.3 Operation ........................................................................................................................................... 357
18.3.1 Transfer Mode .......................................................................................................................... 357
18.3.2 Extended Repeat Area Function ............................................................................................... 361
18.3.3 Address Update Function Using Offset .................................................................................... 363
18.3.4 Activation Sources .................................................................................................................... 367