A96G140/A96G148/A96A148 User’s manual
19. Memory programming
233
19.1.2
Register description
FEMR (Flash Mode Register): 1020H
7
6
5
4
3
2
1
0
FSEL
-
PGM
ERASE
PBUFF
OTPE
VFY
FEEN
R/W
-
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
FSEL
Select flash memory.
0
Deselect flash memory
1
Select flash memory
PGM
Enable program or program verify mode with VFY
0
Disable program or program verify mode
1
Enable program or program verify mode
ERASE
Enable erase or erase verify mode with VFY
0
Disable erase or erase verify mode
1
Enable erase or erase verify mode
PBUFF
Select page buffer
0
Deselect page buffer
1
Select page buffer
OTPE
Select OTP area instead of program memory
0
Deselect OTP area
1
Select OTP area
VFY
Set program or erase verify mode with PGM or ERASE
Program Verify: PGM=1, VFY=1
Erase Verify: ERASE=1, VFY=1
FEEN
Enable program and erase of Flash. When inactive, it is possible to
read as normal mode
0
Disable program and erase
1
Enable program and erase