lib/bsp/standalone/src/microblaze/xil_misc_psreset_api.c
void XSlcr_MioWriteResetValues(void)
{
	u32 i;

	/* Unlock the slcr register access lock */
	Xil_Out32(XSLCR_UNLOCK_ADDR, XSLCR_UNLOCK_CODE);
	/* Update all the MIO registers with reset values */
    for (i=0U; i<=1U;i++)
	{
		Xil_Out32((XSLCR_MIO_PIN_00_ADDR + (i * 4U)),
								XSLCR_MIO_PIN_00_RESET_VAL);
	}
	for (; i<=8U;i++)
	{
		Xil_Out32((XSLCR_MIO_PIN_00_ADDR + (i * 4U)),
								XSLCR_MIO_PIN_02_RESET_VAL);
	}
	for (; i<=53U ;i++)
	{
		Xil_Out32((XSLCR_MIO_PIN_00_ADDR + (i * 4U)),
								XSLCR_MIO_PIN_00_RESET_VAL);
	}


}
/*****************************************************************************/
/**
* This function contains the implementation for updating the slcr mio registers
* with reset values
*
* @return   N/A.
*
******************************************************************************/
This function contains the implementation for updating the slcr mio registers
with reset values
This function contains the implementation for updating the slcr mio registers with reset values
void XSlcr_MioWriteResetValues(void)
{
	u32 i;
	Xil_Out32(XSLCR_UNLOCK_ADDR, XSLCR_UNLOCK_CODE);
    for (i=0U; i<=1U;i++)
	{
		Xil_Out32((XSLCR_MIO_PIN_00_ADDR + (i * 4U)),
								XSLCR_MIO_PIN_00_RESET_VAL);
	}
	for (; i<=8U;i++)
	{
		Xil_Out32((XSLCR_MIO_PIN_00_ADDR + (i * 4U)),
								XSLCR_MIO_PIN_02_RESET_VAL);
	}
	for (; i<=53U ;i++)
	{
		Xil_Out32((XSLCR_MIO_PIN_00_ADDR + (i * 4U)),
								XSLCR_MIO_PIN_00_RESET_VAL);
	}
}
void XSlcr_MioWriteResetValues ( void ) { u32 i ; Xil_Out32 ( XSLCR_UNLOCK_ADDR , XSLCR_UNLOCK_CODE ) ; for ( i = 0U ; i <= 1U ; i ++ ) { Xil_Out32 ( ( XSLCR_MIO_PIN_00_ADDR + ( i * 4U ) ) , XSLCR_MIO_PIN_00_RESET_VAL ) ; } for ( ; i <= 8U ; i ++ ) { Xil_Out32 ( ( XSLCR_MIO_PIN_00_ADDR + ( i * 4U ) ) , XSLCR_MIO_PIN_02_RESET_VAL ) ; } for ( ; i <= 53U ; i ++ ) { Xil_Out32 ( ( XSLCR_MIO_PIN_00_ADDR + ( i * 4U ) ) , XSLCR_MIO_PIN_00_RESET_VAL ) ; } }
This function contains the implementation for updating the slcr mio registers
with reset values
This function contains the implementation for updating the slcr mio registers with reset values
/* Unlock the slcr register access lock */ /* Update all the MIO registers with reset values */