Perform a destructive 8-bit wide register IO test where the register is accessed using Xil_Out8 and Xil_In8, and comparing the written values by reading them back.
s32 Xil_TestIO8(u8 *Addr, s32 Length, u8 Value);
The following table lists the
Xil_TestIO8 function arguments.
|Addr||a pointer to the region of memory to be tested.|
|Length||Length of the block.|
|Value||constant used for writing the memory.|
- -1 is returned for a failure
- 0 is returned for a pass