/* Disable clock specific peripherals. 
Disable source clock pheripheral */
void DisableSourceClk(CLKSRC_Type src_clk)
/* Disable clock specific peripherals. 
Disable source clock pheripheral */
void DisableSourceClk(CLKSRC_Type src_clk)
{
	uint32_t i=0;
	const uint32_t PlainEnable = (0x2 << 3);
	if(src_clk == SRC_OSC32K)
	{
		LPC_CREG->CREG0 &= ~((1<<1)|(1<<0));
		LPC_CREG->CREG0 |= ((1<<3)|(1<<2));
	}
	if(src_clk == SRC_ENET_RX_CLK)scu_pinmux(0xC ,0 , PlainEnable, FUNC0);
	if(src_clk == SRC_ENET_TX_CLK)scu_pinmux(0x1 ,19, PlainEnable, FUNC2);
	if(src_clk == SRC_XTAL)
	{
		LPC_CGU->XTAL_OSC_CTRL = (1<<0);
		for(i=0;i<0xFFFF;i++);
	}
}