The function PageWrite writes data to a NAND Flash device.
The parameter row specifies the starting page to
where to write the data. The parameter buf is a
pointer to the buffer containing 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
ERR_NAND_PROG - on failure.
ERR_NAND_HW_TOUT - Hardware data transfer timeout.
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.