nandps
Xilinx SDK Drivers API Documentation
XNandPs_Geometry Struct Reference

Flash geometry. More...

Data Fields

u32 BytesPerPage
 Bytes per page. More...
 
u16 SpareBytesPerPage
 Size of spare area in bytes. More...
 
u32 PagesPerBlock
 Pages per block. More...
 
u32 BlocksPerLun
 Bocks per LUN. More...
 
u8 NumLun
 Total number of LUN. More...
 
u8 FlashWidth
 Data width of flash device. More...
 
u64 NumPages
 Total number of pages in device. More...
 
u64 NumBlocks
 Total number of blocks in device. More...
 
u64 BlockSize
 Size of a block in bytes. More...
 
u64 DeviceSize
 Total device size in bytes. More...
 
u8 RowAddrCycles
 Row address cycles. More...
 
u8 ColAddrCycles
 Column address cycles. More...
 

Detailed Description

Flash geometry.

Field Documentation

◆ BlockSize

u64 XNandPs_Geometry::BlockSize

◆ BlocksPerLun

u32 XNandPs_Geometry::BlocksPerLun

Bocks per LUN.

◆ BytesPerPage

u32 XNandPs_Geometry::BytesPerPage

◆ ColAddrCycles

u8 XNandPs_Geometry::ColAddrCycles

Column address cycles.

Referenced by XNandPs_SendCommand().

◆ DeviceSize

u64 XNandPs_Geometry::DeviceSize

◆ FlashWidth

u8 XNandPs_Geometry::FlashWidth

Data width of flash device.

Referenced by XNandPs_CfgInitialize(), and XNandPs_SendCommand().

◆ NumBlocks

u64 XNandPs_Geometry::NumBlocks

Total number of blocks in device.

Referenced by XNandPs_SkipErase().

◆ NumLun

u8 XNandPs_Geometry::NumLun

Total number of LUN.

◆ NumPages

u64 XNandPs_Geometry::NumPages

Total number of pages in device.

◆ PagesPerBlock

u32 XNandPs_Geometry::PagesPerBlock

Pages per block.

Referenced by XNandPs_EraseBlock().

◆ RowAddrCycles

u8 XNandPs_Geometry::RowAddrCycles

Row address cycles.

Referenced by XNandPs_SendCommand().

◆ SpareBytesPerPage

u16 XNandPs_Geometry::SpareBytesPerPage

Size of spare area in bytes.

Referenced by XNandPs_Write(), and XNandPs_WriteCache().