User's Manual

Table Of Contents
17.1.1 Types of Access Control ...........................................................................................................328
17.1.2 Regions for Access Control ......................................................................................................328
17.1.3 Background Region ..................................................................................................................328
17.1.4 Overlap between Regions .........................................................................................................328
17.1.5 Instructions and Data that Span Regions ..................................................................................328
17.2 Register Descriptions .........................................................................................................................329
17.2.1 Region-n Start Page Number Register (RSPAGEn) (n = 0 to 7) .............................................329
17.2.2 Region-n End Page Number Register (REPAGEn) (n = 0 to 7) ..............................................330
17.2.3 Memory-Protection Enable Register (MPEN) .........................................................................331
17.2.4 Background Access Control Register (MPBAC) .....................................................................332
17.2.5 Memory-Protection Error Status-Clearing Register (MPECLR) .............................................333
17.2.6 Memory-Protection Error Status Register (MPESTS) .............................................................334
17.2.7 Data Memory-Protection Error Address Register (MPDEA) ...................................................335
17.2.8 Region Search Address Register (MPSA) ................................................................................335
17.2.9 Region Search Operation Register (MPOPS) ...........................................................................336
17.2.10 Region Invalidation Operation Register (MPOPI) ...................................................................336
17.2.11 Instruction-Hit Region Register (MHITI) ................................................................................337
17.2.12 Data-Hit Region Register (MHITD) .........................................................................................339
17.3 Functions ...........................................................................................................................................341
17.3.1 Memory Protection ...................................................................................................................341
17.3.2 Region Search ...........................................................................................................................341
17.3.3 Protection of Registers Related to the Memory-Protection Unit ..............................................341
17.3.4 Flow for Determination of Access by the Memory-Protection Function .................................342
17.4 Procedures for Using Memory Protection .........................................................................................344
17.4.1 Setting Access-Control Information .........................................................................................344
17.4.2 Enabling Memory Protection ....................................................................................................344
17.4.3 Transition to User Mode ...........................................................................................................344
17.4.4 Processing in Response to Memory-Protection Errors .............................................................344
18. DMA Controller (DMACA) ............................................................................................................ 346
18.1 Overview ...........................................................................................................................................346
18.2 Register Descriptions .........................................................................................................................348
18.2.1 DMA Source Address Register (DMSAR) ..............................................................................348
18.2.2 DMA Destination Address Register (DMDAR) ......................................................................348
18.2.3 DMA Transfer Count Register (DMCRA) ...............................................................................349
18.2.4 DMA Block Transfer Count Register (DMCRB) .....................................................................351
18.2.5 DMA Transfer Mode Register (DMTMD) ...............................................................................352
18.2.6 DMA Interrupt Setting Register (DMINT) ..............................................................................353
18.2.7 DMA Address Mode Register (DMAMD) ...............................................................................355
18.2.8 DMA Offset Register (DMOFR) ..............................................................................................358
18.2.9 DMA Transfer Enable Register (DMCNT) ..............................................................................359
18.2.10 DMA Software Start Register (DMREQ) ................................................................................360