1.1.4.4 Library Interface
NAND Flash driver library provides the following interfaces.
Functions
| Name | Description |
|---|---|
| DRV_NAND_FLASH_Initialize | Initializes the NAND Flash driver |
| DRV_NAND_FLASH_Open | Opens the specified NAND Flash driver instance and returns a handle to it |
| DRV_NAND_FLASH_Close | Closes an opened-instance of the NAND Flash driver |
| DRV_NAND_FLASH_Status | Gets the current status of the NAND Flash driver module |
| DRV_NAND_FLASH_ResetFlash | Reset the Flash device to Standby mode |
| DRV_NAND_FLASH_TransferStatusGet | Gets the current status of the transfer request |
| DRV_NAND_FLASH_IdRead | Gets identifier codes from NAND Flash |
| DRV_NAND_FLASH_FeatureSet | Enables or disables target specific features |
| DRV_NAND_FLASH_FeatureGet | Read target specific features |
| DRV_NAND_FLASH_ParameterPageRead | Returns the Parameter page of the NAND Flash device |
| DRV_NAND_FLASH_GeometryGet | Returns the geometry of the NAND Flash device |
| DRV_NAND_FLASH_SkipBlock_BlockCheck | Checks whether NAND Flash block is bad or good |
| DRV_NAND_FLASH_SkipBlock_BlockTag | Tag NAND Flash block to bad or good |
| DRV_NAND_FLASH_SkipBlock_BlockErase | Erase a block |
| DRV_NAND_FLASH_SkipBlock_BlockRead | Reads the data of a whole block from NAND Flash |
| DRV_NAND_FLASH_SkipBlock_BlockWrite | Writes the data of a whole block to NAND Flash |
| DRV_NAND_FLASH_SkipBlock_PageRead | Reads the data and/or the spare area of a page of given block from NAND Flash |
| DRV_NAND_FLASH_SkipBlock_PageWrite | Writes the data and/or the spare area of a page of given block to NAND Flash |
Data Types and Constants
| Name | Type | Description |
|---|---|---|
| DRV_NAND_FLASH_TRANSFER_STATUS | Enum | NAND Flash Driver Transfer Status |
| DRV_NAND_FLASH_GEOMETRY | Struct | NAND Flash Device geometry |
| DRV_NAND_FLASH_DATA | Struct | NAND Flash Device data |
