The function ReadPage reads data from a NAND Flash device.
The parameter row specifies the address of the
starting page. The parameter buf is a pointer to
the buffer that receives the data. The parameter cfg is a pointer specifying the device configuration, which
also contains default data positions as described in Page Layout Structure.
The function is part of the NAND
Driver. The prototype is defined in the file
File_Config.h. Developers must customize the function.
Return Value
RTV_NOERR - on success.
ERR_NAND_HW_TOUT - Hardware data transfer timeout.
ERR_ECC_COR - ECC corrected the errors. The transmitted
data are valid.
ERR_ECC_UNCOR - ECC could not correct an error. The
transmitted data contain errors.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.