HD6412332 RENESAS [Renesas Technology Corp], HD6412332 Datasheet - Page 829

no-image

HD6412332

Manufacturer Part Number
HD6412332
Description
Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6412332
Manufacturer:
SMD
Quantity:
6
Part Number:
HD6412332FC25V
Manufacturer:
ALLEGRO
Quantity:
4 340
Part Number:
HD6412332VFC25V
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
19.14
19.14.1 Flash Memory Control Register 1 (FLMCR1)
FLMCR1 is an 8-bit register used for flash memory operating mode control. Program-verify mode
or erase-verify mode is entered by setting SWE to 1 when FWE = 1, then setting the EV or PV bit.
Program mode is entered by setting SWE to 1 when FWE = 1, then setting the PSU bit, and finally
setting the P bit. Erase mode is entered by setting SWE to 1 when FWE = 1, then setting the ESU
bit, and finally setting the E bit. FLMCR1 is initialized by a reset, and in hardware standby mode
and software standby mode. Its initial value is H'80 when a high level is input to the FWE pin, and
H'00 when a low level is input. When on-chip flash memory is disabled, a read will return H'00,
and writes are invalid.
Writes to the SWE bit in FLMCR1 are enabled only when FWE = 1; writes to bits ESU, PSU, EV,
and PV only when FWE = 1 and SWE = 1; writes to the E bit only when FWE = 1, SWE = 1, and
ESU = 1; and writes to the P bit only when FWE = 1, SWE = 1, and PSU = 1.
Bit 7—Flash Write Enable Bit (FWE): Sets hardware protection against flash memory
programming/erasing.
Bit 7
FWE
0
1
Bit 6—Software Write Enable Bit (SWE): Enables or disables flash memory programming and
erasing. This bit should be set when setting FLMCR1 bits 5 to 0, EBR1 bits 7 to 0, and EBR2 bits
3 to 0.
When SWE = 1, the flash memory can only be read in program-verify or erase-verify mode.
Bit
Initial value :
R/W
Register Descriptions
Description
When a low level is input to the FWE pin (hardware-protected state)
When a high level is input to the FWE pin
:
:
FWE
1/0
R
7
SWE
R/W
6
0
ESU
R/W
5
0
PSU
R/W
0
4
Rev.4.00 Sep. 07, 2007 Page 799 of 1210
R/W
EV
3
0
R/W
PV
2
0
REJ09B0245-0400
R/W
E
1
0
R/W
P
0
0

Related parts for HD6412332