4.6 Flash and EEPROM registers descriptions
The flash module contains a set of 16 user control and status registers located between
0x3020 and 0x302F. In the case of the writable registers, the write accesses are forbidden
during flash command execution. For more details, see Caution note in
. A summary of the flash module registers is given in the
following table with detailed descriptions in the following subsections.
NVM memory map
Absolute
address
(hex)
Register name
Width
(in bits)
Access Reset value
Section/
page
3020
Flash Clock Divider Register (NVM_FCLKDIV)
8
R/W
00h
3021
Flash Security Register (NVM_FSEC)
8
R
Undefined
3022
Flash CCOB Index Register (NVM_FCCOBIX)
8
R/W
00h
3024
Flash Configuration Register (NVM_FCNFG)
8
R/W
00h
3025
Flash Error Configuration Register (NVM_FERCNFG)
8
R/W
00h
3026
Flash Status Register (NVM_FSTAT)
8
R/W
80h
3027
Flash Error Status Register (NVM_FERSTAT)
8
R/W
00h
3028
Flash Protection Register (NVM_FPROT)
8
R
Undefined
3029
EEPROM Protection Register (NVM_EEPROT)
8
R/W
Undefined
302A
Flash Common Command Object Register:High
(NVM_FCCOBHI)
8
R/W
00h
302B
Flash Common Command Object Register: Low
(NVM_FCCOBLO)
8
R/W
00h
302C
Flash Option Register (NVM_FOPT)
8
R
Undefined
4.6.1 Flash Clock Divider Register (NVM_FCLKDIV)
The FCLKDIV register is used to control timed events in program and erase algorithms.
NOTE
The FCLKDIV register must not be written while a flash
command is executing (NVM_FSTAT[CCIF] = 0)
Address: 3020h base + 0h offset = 3020h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
Flash and EEPROM registers descriptions
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
86
NXP Semiconductors
Содержание MC9S08PA4
Страница 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Страница 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Страница 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Страница 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Страница 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Страница 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Страница 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Страница 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Страница 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Страница 268: ...Initialization application information MC9S08PA4 Reference Manual Rev 5 08 2017 268 NXP Semiconductors ...
Страница 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Страница 370: ...Memory map and register description MC9S08PA4 Reference Manual Rev 5 08 2017 370 NXP Semiconductors ...
Страница 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Страница 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...