lib/bsp/standalone/src/microblaze/xil_misc_psreset_api.c
void XSlcr_PllWriteResetValues(void)
{

	/* Unlock the slcr register access lock */
	Xil_Out32(XSLCR_UNLOCK_ADDR, XSLCR_UNLOCK_CODE);

	/* update the pll control registers with reset values */
	Xil_Out32(XSLCR_IO_PLL_CTRL_ADDR, XSLCR_IO_PLL_CTRL_RESET_VAL);
	Xil_Out32(XSLCR_ARM_PLL_CTRL_ADDR, XSLCR_ARM_PLL_CTRL_RESET_VAL);
	Xil_Out32(XSLCR_DDR_PLL_CTRL_ADDR, XSLCR_DDR_PLL_CTRL_RESET_VAL);
	/* update the pll config registers with reset values */
	Xil_Out32(XSLCR_IO_PLL_CFG_ADDR, XSLCR_IO_PLL_CFG_RESET_VAL);
	Xil_Out32(XSLCR_ARM_PLL_CFG_ADDR, XSLCR_ARM_PLL_CFG_RESET_VAL);
	Xil_Out32(XSLCR_DDR_PLL_CFG_ADDR, XSLCR_DDR_PLL_CFG_RESET_VAL);
	/* update the clock control registers with reset values */
	Xil_Out32(XSLCR_ARM_CLK_CTRL_ADDR, XSLCR_ARM_CLK_CTRL_RESET_VAL);
	Xil_Out32(XSLCR_DDR_CLK_CTRL_ADDR, XSLCR_DDR_CLK_CTRL_RESET_VAL);
}
/*****************************************************************************/
/**
* This function contains the implementation for updating the slcr pll registers
* with reset values
*
* @return   N/A.
*
******************************************************************************/
This function contains the implementation for updating the slcr pll registers
with reset values
This function contains the implementation for updating the slcr pll registers with reset values
void XSlcr_PllWriteResetValues(void)
{
	Xil_Out32(XSLCR_UNLOCK_ADDR, XSLCR_UNLOCK_CODE);
	Xil_Out32(XSLCR_IO_PLL_CTRL_ADDR, XSLCR_IO_PLL_CTRL_RESET_VAL);
	Xil_Out32(XSLCR_ARM_PLL_CTRL_ADDR, XSLCR_ARM_PLL_CTRL_RESET_VAL);
	Xil_Out32(XSLCR_DDR_PLL_CTRL_ADDR, XSLCR_DDR_PLL_CTRL_RESET_VAL);
	Xil_Out32(XSLCR_IO_PLL_CFG_ADDR, XSLCR_IO_PLL_CFG_RESET_VAL);
	Xil_Out32(XSLCR_ARM_PLL_CFG_ADDR, XSLCR_ARM_PLL_CFG_RESET_VAL);
	Xil_Out32(XSLCR_DDR_PLL_CFG_ADDR, XSLCR_DDR_PLL_CFG_RESET_VAL);
	Xil_Out32(XSLCR_ARM_CLK_CTRL_ADDR, XSLCR_ARM_CLK_CTRL_RESET_VAL);
	Xil_Out32(XSLCR_DDR_CLK_CTRL_ADDR, XSLCR_DDR_CLK_CTRL_RESET_VAL);
}
void XSlcr_PllWriteResetValues ( void ) { Xil_Out32 ( XSLCR_UNLOCK_ADDR , XSLCR_UNLOCK_CODE ) ; Xil_Out32 ( XSLCR_IO_PLL_CTRL_ADDR , XSLCR_IO_PLL_CTRL_RESET_VAL ) ; Xil_Out32 ( XSLCR_ARM_PLL_CTRL_ADDR , XSLCR_ARM_PLL_CTRL_RESET_VAL ) ; Xil_Out32 ( XSLCR_DDR_PLL_CTRL_ADDR , XSLCR_DDR_PLL_CTRL_RESET_VAL ) ; Xil_Out32 ( XSLCR_IO_PLL_CFG_ADDR , XSLCR_IO_PLL_CFG_RESET_VAL ) ; Xil_Out32 ( XSLCR_ARM_PLL_CFG_ADDR , XSLCR_ARM_PLL_CFG_RESET_VAL ) ; Xil_Out32 ( XSLCR_DDR_PLL_CFG_ADDR , XSLCR_DDR_PLL_CFG_RESET_VAL ) ; Xil_Out32 ( XSLCR_ARM_CLK_CTRL_ADDR , XSLCR_ARM_CLK_CTRL_RESET_VAL ) ; Xil_Out32 ( XSLCR_DDR_CLK_CTRL_ADDR , XSLCR_DDR_CLK_CTRL_RESET_VAL ) ; }
This function contains the implementation for updating the slcr pll registers
with reset values
This function contains the implementation for updating the slcr pll registers with reset values
/* Unlock the slcr register access lock */ /* update the pll control registers with reset values */ /* update the pll config registers with reset values */ /* update the clock control registers with reset values */