| nandps Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

- Data Structures
- Data Fields

Data Fields
XNandPs_Config Struct Reference
Overview

This typedef contains configuration information for the flash device. More...

## Data Fields
u16 | DeviceId
| Instance ID of device. More...
u32 | SmcBase
| SMC Base address. More...
u32 | FlashBase
| NAND base address. More...
u32 | FlashWidth
| Flash width. More...

## Detailed Description

This typedef contains configuration information for the flash device.

## Field Documentation

u16 XNandPs_Config::DeviceId

Instance ID of device.

Referenced by XNandPs_CfgInitialize().

u32 XNandPs_Config::FlashBase

NAND base address.

Referenced by NandReadWriteCacheExample(), NandReadWriteExample(), NandSkipBlockExample(), XNandPs_CfgInitialize(), XNandPs_ReadSpareBytes(), and XNandPs_SendCommand().

u32 XNandPs_Config::FlashWidth

Flash width.

Referenced by Onfi_CmdReadStatus(), and XNandPs_CfgInitialize().

u32 XNandPs_Config::SmcBase

SMC Base address.

Referenced by NandReadWriteCacheExample(), NandReadWriteExample(), NandSkipBlockExample(), XNandPs_CfgInitialize(), XNandPs_EraseBlock(), XNandPs_Read(), XNandPs_ReadCache(), XNandPs_ReadSpareBytes(), and XNandPs_WriteSpareBytes().