ST10F276
Internal Flash memory
4.4.3
Flash control register 1 low
The Flash control register 1 low (FCR1L), together with Flash control register 1 high
(FCR1H), is used to select the sectors to erase, or during any write operation to monitor the
status of each sector of the module selected by SMOD bit of FCR0H. First diagram shows
FCR1L meaning when SMOD=0; the second one when SMOD=1.
FCR1L (0x0E 0004) SMOD=0
FCR
Reset value: 0000h
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Reserved
B2F2 B2F1 B2F0
RS RS RS
FCR1L (0x0E 0004) SMOD=1
15 14 13 12 11
Reserved
FCR
Reset value: 0000h
10 9 8 7 6 5 4 3 2 1 0
B0F9 B0F8 B0F7 B0F6 B0F5 B0F4 B0F3 B0F2 B0F1 B0F0
RS RS RS RS RS RS RS RS RS RS
Table 8.
Bit
Flash control register 1 low
Function
SMOD=0 (XFLASH selected)
B2F(2:0)
Bank 2 XFLASH sector 2:0 status
These bits must be set during a Sector Erase operation to select the sectors to erase
in bank 2. Besides, during any erase operation, these bits are automatically set and
give the status of the 3 sectors of bank 2 (B2F2-B2F0). The meaning of B2Fy bit for
sector y of bank 2 is given by the next Table 10. These bits are automatically reset at
the end of a write operation if no errors are detected.
SMOD=1 (IFLASH selected)
B0F(9:0)
Bank 0 IFLASH sector 9:0 status
These bits must be set during a Sector Erase operation to select the sectors to erase
in bank 0. Besides, during any erase operation, these bits are automatically set and
give the status of the 10 sectors of bank 0 (B0F9-B0F0). The meaning of B0Fy bit for
sector y of bank 0 is given by the next Table 10. These bits are automatically reset at
the end of a Write operation if no errors are detected.
31/229