UM10208_2
© NXP B.V. 2007. All rights reserved.
User manual
Rev. 02 — 1 June 2007
38 of 362
NXP Semiconductors
UM10208
Chapter 5: LPC2800 Flash
5.6 Interrupt registers
These flash interrupt registers determine when the flash memory controller issues an
interrupt request to the system interrupt controller. the Flash memory interrupt is asserted
when the corresponding interrupt flag and interrupt enable are both equal to one.
5.6.1 Flash Interrupt Status register (F_INT_STAT - 0x8010 2FE0)
The Flash Interrupt Status register allows reading the interrupt flags that are associated
with flash programming and erase functions. The fields in the F_INT_STAT register are
shown in
.
5.6.2 Flash Interrupt Set register (F_INT_SET - 0x8010 2FEC)
The Flash Interrupt Set register allows setting of individual interrupt flags for the Flash
memory. These flags may be read in the F_INT_STAT register. Software setting of
interrupt flags can, for example, allow simulation of Flash programming during code
development. The fields in the F_INT_SET register are shown in
Note: software setting of interrupt flags will cause an interrupt request to be generated if
the corresponding enable bit in the F_INTEN register equals one, and if the interrupt is
enabled in the system interrupt controller.
Table 17.
Flash Clock Divider register (F_CLK_TIME - 0x8010 201C)
Bits
Name
Description
Access Reset
value
11:0
CLK_DIV Clock divider setting.
0x000 : no programming clock is available to the Flash
memory.
Other : a programming clock is applied to Flash memory. The
frequency is the AHB clock frequency divided by (CLK_DIV
×
3) + 1. This must be programmed such that the Flash
Programming clock frequency is 66 kHz
±
20%.
R/W
0
31:12 -
Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.
-
-
Table 18.
Flash Interrupt Status register (F_INT_STAT - 0x8010 2FE0)
Bits Name
Description
Access Reset
value
0
END_OF_ERASE
End-of-erase interrupt flag bit. This bit is set when
the erase process for all requested sectors is
finished or when a 1 is written to
F_INT_SET[0].This bit is cleared when a 1 is
written to F_INT_CLR[0].
RO
0
1
END_OF_PROGRAM End-of-Program interrupt flag bit. This bit is set
when a programming operation is completed or
when a 1 is written to F_INT_SET[1]. This bit is
cleared when a 1 is written to F_INT_CLR[1].
RO
0
31:2 -
Reserved. The value read from a reserved bit is
not defined.
-
-