| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
M95010 bảng dữ liệu(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
M95010 bảng dữ liệu(HTML) 20 Page - STMicroelectronics |
|
20 / 43 page ![]() Instructions M95040, M95020, M95010 20/43 Doc ID 6512 Rev 8 6.4 Write Status Register (WRSR) The Write Status Register (WRSR) instruction allows new values to be written to the Status register. Before it can be accepted, a Write Enable (WREN) instruction must previously have been executed. The Write Status Register (WRSR) instruction is entered by driving Chip Select (S) low, sending the instruction code followed by the data byte on Serial Data input (D), and driving the Chip Select (S) signal high. Chip Select (S) must be driven high after the rising edge of Serial Clock (C) that latches in the eighth bit of the data byte, and before the next rising edge of Serial Clock (C). Otherwise, the Write Status Register (WRSR) instruction is not executed. Driving the Chip Select (S) signal high at a byte boundary of the input data triggers the self- timed write cycle that takes tW to complete (as specified in Table 13 to Table 20). The instruction sequence is shown in Figure 10. While the Write Status Register cycle is in progress, the Status register may still be read to check the value of the Write in progress (WIP) bit: the WIP bit is 1 during the self-timed write cycle tW, and, 0 when the write cycle is complete. The WEL bit (Write enable latch) is also reset at the end of the write cycle tW. The Write Status Register (WRSR) instruction allows the user to change the values of the BP1, BP0 bits which define the size of the area that is to be treated as read only, as defined in Table 3. The contents of the BP1, BP0 bits are updated after the completion of the WRSR instruction, including the tW write cycle. The Write Status Register (WRSR) instruction has no effect on the b7, b6, b5, b4, b1 and b0 bits in the Status register. Bits b7, b6, b5, b4 are always read as 0. Figure 10. Write Status Register (WRSR) sequence The instruction is not accepted, and is not executed, under the following conditions: ● if the Write Enable Latch (WEL) bit has not been set to 1 (by executing a Write Enable instruction just before) ● if a write cycle is already in progress ● if the device has not been deselected, by Chip Select (S) being driven high, after the eighth bit, b0, of the data byte has been latched in ● if Write Protect (W) is low during the WRSR command (instruction, address and data) C D AI01445B S Q 2 1 3456789 10 11 12 13 14 15 High Impedance Instruction Status Register In 0 765432 0 1 MSB |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |