ST10F272B_12 STMICROELECTRONICS [STMicroelectronics], ST10F272B_12 Datasheet - Page 35

no-image

ST10F272B_12

Manufacturer Part Number
ST10F272B_12
Description
16-bit MCU with 256 Kbyte Flash memory and 12/20 Kbyte RAM
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
ST10F272B/ST10F272E
5.4.4
5.4.5
Flash control register 1 high
The Flash Control Register 1 High (FCR1H), together with Flash Control Register 1 Low
(FCR1L), is used to select the Sectors to Erase, or during any write operation to monitor the
status of each Sector and Bank.
FCR1H (0x08 0006)
Table 10.
During any erase operation, this bit is automatically set and gives the status of the Bank 0.
The meaning of B0Fy bit for Sector y of Bank 0 is given by the next Table 4 Banks (BxS) and
Sectors (BxFy) Status bits meaning. These bits are automatically reset at the end of an
erase operation if no errors are detected.
Table 11.
Flash data register 0 low
The Flash Address Registers (FARH/L) and the Flash Data Registers (FDR1H/L-FDR0H/L)
are used during the program operations to store Flash Address in which to program and
Data to program.
FDR0L (0x08 0008)
DIN15 DIN14 DIN13 DIN12 DIN11 DIN10 DIN9 DIN8 DIN7 DIN6 DIN5 DIN4 DIN3 DIN2 DIN1 DIN0
B0S
RW
ERR
15
15
1
0
0
Bit
RW
14
14
SUSP
1
0
-
RW
Flash control register 1 high
Banks (BxS) and sectors (BxFy) status bits meaning
13
13
Erase Error in Bank 0
Erase Suspended in Bank 0
Don’t care
reserved
Bank 0 Status (IFLASH)
During any erase operation, this bit is automatically modified and gives the status
of the Bank 0. The meaning of B0S bit is given in the next Table 4 Banks (BxS) and
Sectors (BxFy) Status bits meaning. This bit is automatically reset at the end of a
erase operation if no errors are detected.
RW
12
12
RW
11
11
B0S = 1 meaning
RW
Doc ID 11917 Rev 3
10
10
RW
9
9
FCR
FCR
B0S
RW
RS
8
8
RW
7
7
Function
RW
Erase Error in Sector y of Bank 0
Erase Suspended in Sector y of Bank 0
Don’t care
6
6
RW
reserved
5
5
B0Fy = 1 meaning
RW
4
4
Internal Flash memory
RW
3
3
Reset value:
Reset value:
RW
2
2
RW
1
1
FFFFh
0000h
35/188
RW
0
0

Related parts for ST10F272B_12