English
Language : 

MC9RS08KA2 Datasheet, PDF (33/132 Pages) Freescale Semiconductor, Inc – Microcontrollers
4.7.2 Flash Control Register (FLCR)
Chapter 4 Memory
7
6
5
4
3
2
1
0
R
0
0
0
0
0
HVEN
MASS
PGM1
W
Reset
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 4-4. Flash Control Register (FLCR)
Table 4-3. FLCR Field Descriptions
Field
Description
3
HVEN
High Voltage Enable — This read/write bit enables high voltages to the Flash array for program and erase
operations. HVEN can be set only if either PGM = 1 or MASS = 1 and the proper sequence for program or erase
is followed.
0 High voltage disabled to array.
1 High voltage enabled to array.
2
MASS
Mass Erase Control Bit — This read/write bit configures the memory for mass erase operation.
0 Mass erase operation not selected.
1 Mass erase operation selected.
0
PGM1
Program Control Bit — This read/write bit configures the memory for program operation. PGM is interlocked
with the MASS bit such that both bits cannot be equal to 1 or set to 1 at the same time.
0 Program operation not selected.
1 Program operation selected.
1 When Flash security is engaged, writing to PGM bit has no effect. As a result, Flash programming is not allowed.
4.8 Page Select Register (PAGESEL)
There is a 64-byte window ($00C0–$00FF) in the direct-page reserved for paging access. Programming
the page select register determines the corresponding 64-byte block on the memory map for direct-page
access. For example, when the PAGESEL register is programmed with value $08, the high page registers
($0200–$023F) can be accessed through the paging window ($00C0–$00FF) via direct addressing mode
instructions.
7
R
AD13
W
6
AD12
5
AD11
4
AD10
3
AD9
2
AD8
1
AD7
0
AD6
Reset
0
0
0
0
1
0
0
0
Figure 4-5. Page Select Register (PAGESEL)
Table 4-4. PAGESEL Field Descriptions
Field
Description
7:0
Page Selector— These bits define the address line bit 6 to bit 13, which determines the 64-byte block boundary
AD[13:6] of the memory block accessed via the direct page window. See Figure 4-6 and Table 4-5.
MC9RS08KA2 Series Data Sheet, Rev. 2
Freescale Semiconductor
33