XilinxProcessorIPLib/drivers/trngpsv/examples/xtrngpsv_ptrng_example.c
static void Trngpsv_PrintBytes(u8 *Src, u32 Size)
{
	u32 Index;

	for (Index = 0; Index < Size; Index++) {
		if (Index % 16 == 0) {
			xil_printf("\n\r");
		}
		xil_printf("0x%02X, ", Src[Index]);
	}
	xil_printf("\n\r");
}
/*************************************************************************************************/
/**
 * @brief
 * This function prints specified number of bytes from an address
 *
 * @param	src is start address from where to print
 *
 * @param	size is size of buffer pointed by src
 *
 ************************************************************************************************/
@brief
This function prints specified number of bytes from an address

@param       src is start address from where to print

@param       size is size of buffer pointed by src
@brief This function prints specified number of bytes from an address @param src is start address from where to print @param size is size of buffer pointed by src
static void Trngpsv_PrintBytes(u8 *Src, u32 Size)
{
	u32 Index;
	for (Index = 0; Index < Size; Index++) {
		if (Index % 16 == 0) {
			xil_printf("\n\r");
		}
		xil_printf("0x%02X, ", Src[Index]);
	}
	xil_printf("\n\r");
}
static void Trngpsv_PrintBytes ( u8 * Src , u32 Size ) { u32 Index ; for ( Index = 0 ; Index < Size ; Index ++ ) { if ( Index % 16 == 0 ) { xil_printf ( " \n \r " ) ; } xil_printf ( " " , Src [ Index ] ) ; } xil_printf ( " \n \r " ) ; }
@brief
 This function prints specified number of bytes from an address
@brief This function prints specified number of bytes from an address