OpenOCD
nand_block Struct Reference

Representation of a single NAND block in a NAND device. More...

Data Fields

int is_bad
 True if the block is bad. More...
 
int is_erased
 True if the block has been erased. More...
 
uint32_t offset
 Offset to the block. More...
 
uint32_t size
 Size of the block. More...
 

Detailed Description

Representation of a single NAND block in a NAND device.

Definition at line 21 of file nand/core.h.

Field Documentation

◆ is_bad

int nand_block::is_bad

True if the block is bad.

Definition at line 32 of file nand/core.h.

Referenced by COMMAND_HANDLER(), nand_build_bbt(), nand_erase(), and nand_probe().

◆ is_erased

int nand_block::is_erased

True if the block has been erased.

Definition at line 29 of file nand/core.h.

Referenced by COMMAND_HANDLER(), nand_erase(), nand_probe(), and nand_write_page().

◆ offset

uint32_t nand_block::offset

Offset to the block.

Definition at line 23 of file nand/core.h.

Referenced by COMMAND_HANDLER(), and nand_probe().

◆ size

uint32_t nand_block::size

Size of the block.

Definition at line 26 of file nand/core.h.

Referenced by COMMAND_HANDLER(), and nand_probe().


The documentation for this struct was generated from the following file: