/* Get current value of each Peripheral Clock Selection.  */
uint32_t CLKPWR_GetPCLKSEL(uint32_t ClkType)
/* Get current value of each Peripheral Clock Selection.  */
uint32_t CLKPWR_GetPCLKSEL(uint32_t ClkType)
{
	uint32_t bitpos, retval;
	if (ClkType < 32)
	{
		bitpos = ClkType;
		retval = LPC_SC->PCLKSEL0;
	}
	else
	{
		bitpos = ClkType - 32;
		retval = LPC_SC->PCLKSEL1;
	}
	retval = CLKPWR_PCLKSEL_GET(bitpos, retval);
	return retval;
}