mc9s12vr48 Freescale Semiconductor, Inc, mc9s12vr48 Datasheet - Page 108

no-image

mc9s12vr48

Manufacturer Part Number
mc9s12vr48
Description
S12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
S12G Memory Map Controller (S12GMMCV1)
3.3.2.3
Read: Anytime.
Write: Anytime.
The NVMRES bit maps 16k of internal NVM resources (see Section FTMRG) to the global address space
0x04000 to 0x07FFF.
108
Address: 0x0013
NVMRES
DP[15:8]
Reset
Field
Field
7–0
0
W
R
MOVB
LDY
Direct Page Index Bits 15–8 — These bits are used by the CPU when performing accesses using the direct
addressing mode. These register bits form bits [15:8] of the local address (see
Map internal NVM resources into the global memory map
Write: Anytime
This bit maps internal NVM resources into the global address space.
0 Program flash is mapped to the global address range from 0x04000 to 0x07FFF.
1 NVM resources are mapped to the global address range from 0x04000 to 0x07FFF.
Example 3-1. This example demonstrates usage of the Direct Addressing Mode
MMC Control Register (MMCCTL1)
0
0
7
#$04,DIRECT
<$12
Bit15
= Unimplemented or Reserved
0
0
6
Figure 3-7. MMC Control Register (MMCCTL1)
MC9S12VR Family Reference Manual,
Preliminary - Subject to Change Without Notice
Figure 3-6. DIRECT Address Mapping
Table 3-5. DIRECT Field Descriptions
Table 3-6. MODE Field Descriptions
DP [15:8]
0
0
5
;Set DIRECT register to 0x04. From this point on, all memory
;accesses using direct addressing mode will be in the local
;address range from 0x0400 to 0x04FF.
;Load the Y index register from 0x0412 (direct access).
CPU Address [15:0]
0
0
4
Bit8
Description
Description
Bit7
0
0
3
Rev. 2.2
0
0
2
Bit0
Figure
Freescale Semiconductor
3-6).
0
0
1
NVMRES
0
0

Related parts for mc9s12vr48