| nandps Vitis Drivers API Documentation

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

Functions
xnandps_bbm.c File Reference

## Functions
int | XNandPs_ReadSpareBytes (XNandPs *InstancePtr, u32 Page, u8 *Buf)
| This function reads the spare area of a page. More...
void | XNandPs_InitBbtDesc (XNandPs *InstancePtr)
| This function initializes the Bad Block Table(BBT) descriptors with a predefined pattern for searching Bad Block Table(BBT) in flash. More...
int | XNandPs_ScanBbt (XNandPs *InstancePtr)
| This function reads the Bad Block Table(BBT) if present in flash. More...
int | XNandPs_IsBlockBad (XNandPs *InstancePtr, u32 Block)
| This function checks whether a block is bad or not. More...
int | XNandPs_MarkBlockBad (XNandPs *InstancePtr, u32 Block)
| This function marks a block as bad in the RAM based Bad Block Table(BBT). More...