at91sam9_read_page() function
Reads a page from an AT91SAM9 NAND controller and verifies using 1-bit ECC controller on chip. This makes an attempt to correct any errors that are encountered while reading the page of data.
Arguments
nand
NAND device to read from
page
Page to be read.
data
Pointer to where data should be read to.
data_size
Size of the data to be read.
oob
Pointer to where OOB data should be read to.
oob_size
Size of the OOB data to be read.
Return value
Success or failure of reading the NAND page.
Functions called by at91sam9_read_page()
at91sam9_read_page()
free() all items filtered out
Data read by at91sam9_read_page()
Data written by at91sam9_read_page()
at91sam9_read_page()
at91sam9_read_page()::retval at91sam9_read_page()::oob_data all items filtered out
Implementations
at91sam9_read_page()
Type of at91sam9_read_page()
at91sam9_read_page()
uint8_t uint32_t all items filtered out