Datasheet
2003-2012 Microchip Technology Inc. DS21827H-page 11
25AA040A/25LC040A
2.6 Write Status Register Instruction
(WRSR)
The Write Status Register instruction (WRSR) allows the
user to write to the nonvolatile bits in the STATUS regis-
ter as shown in Tab le 2-2. See Figure 2-7 for the WRSR
timing sequence. Four levels of protection for the array
are selectable by writing to the appropriate bits in the
STATUS register. The user has the ability to write-protect
none, one, two or all four of the segments of the array as
shown in Table 2-3.
TABLE 2-3: ARRAY PROTECTION
FIGURE 2-7: WRITE STATUS REGISTER TIMING SEQUENCE (WRSR)
BP1 BP0
Array Addresses
Write-Protected
00
none
01
upper 1/4
(180h-1FFh)
10
upper 1/2
(100h-1FFh)
11
all
(000h-1FFh)
SO
SI
CS
9101112131415
01000000
7654
210
Instruction Data to STATUS Register
High-Impedance
SCK
0 2345671
8
3
Note: An internal write cycle (TWC) is initiated on the rising edge of CS after a valid write STATUS register
sequence.