Status register format
[AT45DB161D module]

Collaboration diagram for Status register format:


Defines

#define READY_BUSY   0x80
#define COMPARE   0x40
#define PROTECT   0x02
#define PAGE_SIZE   0x01
#define DEVICE_DENSITY   0x2C

Define Documentation

#define COMPARE   0x40

Result of the most recent Memory Page to Buffer Compare operation. If this bit is equal to 0, then the data in the main memory page matches the data in the buffer. If it's 1 then at least 1 byte in the main memory page does not match the data in the buffer.

Definition at line 88 of file at45db161d.h.

Referenced by ATD45DB161D::ComparePageToBuffer().

#define DEVICE_DENSITY   0x2C

Bits 5, 4, 3 and 2 indicates the device density. The decimal value of these four binary bits does not equate to the device density; the four bits represent a combinational code relating to differing densities of DataFlash devices. The device density is not the same as the density code indicated in the JEDEC device ID information. The device density is provided only for backward compatibility.

Definition at line 111 of file at45db161d.h.

#define PAGE_SIZE   0x01

Bit 0 indicates wether the page size of the main memory array is configured for "power of 2" binary page size (512 bytes) (bit=1) or standard DataFlash page size (528 bytes) (bit=0).

Definition at line 102 of file at45db161d.h.

#define PROTECT   0x02

Bit 1 in the Status Register is used to provide information to the user whether or not the sector protection has been enabled or disabled, either by software-controlled method or hardware-controlled method. 1 means that the sector protection has been enabled and 0 that it has been disabled.

Definition at line 96 of file at45db161d.h.

#define READY_BUSY   0x80

Ready/busy status is indicated using bit 7 of the status register. If bit 7 is a 1, then the device is not busy and is ready to accept the next command. If bit 7 is a 0, then the device is in a busy state.

Definition at line 81 of file at45db161d.h.

Referenced by ATD45DB161D::BlockErase(), ATD45DB161D::BufferToPage(), ATD45DB161D::ChipErase(), ATD45DB161D::ComparePageToBuffer(), ATD45DB161D::EndAndWait(), ATD45DB161D::PageErase(), ATD45DB161D::PageToBuffer(), and ATD45DB161D::SectoreErase().


Generated on Sun Oct 21 18:24:48 2007 for at45db161d by  doxygen 1.5.2