ddr_read_write_fn

Function ddr_read_write_fn 

Source
pub unsafe extern "C" fn ddr_read_write_fn(
    DDR_word_ptr: *mut u64,
    no_access: u32,
    pattern: u32,
) -> u32
Expand description

//** The ddr_read_write_fn function is used to write/read test patterns to the DDR

@return This function returns 0 if successful, number of errors if not.

Example: @code

if (ddr_read_write_fn() != 0U) { .. warn the user, increment error count , wait for watchdog reset }

@endcode