Internal information structure. More...
Data Fields | |
| sf_unit_t | dib_page [2] |
| Page number. | |
| uint_fast8_t | flags [2] |
| Attribute flags. | |
| int | dib_locks [2] |
| Lock count. | |
| HANDLE | dib_lque |
| Unlock event queue. | |
| uint_fast8_t | dib_pshft |
| Page address shift value. | |
Internal information structure.
This structure is mainly used to keep track of the serial flash's internal RAM buffers.
Page number.
Contains the number of the pages currently loaded into the RAM buffers.
Attribute flags.
Contains AT45DIB_FDIRTY, if the RAM buffer has been modified and not yet written back to flash memory.
| int _AT45DIB::dib_locks[2] |
Lock count.
A buffer must not be written back to flash memory when this counter is not equal to zero.
Unlock event queue.
Queued threads waiting for an unlocked buffer.
Page address shift value.
Number of bytes to shift the page address for the Dataflash command parameter.