/* brief Exit Limp mode warning The PLL should be set and locked prior to exiting Limp mode  */
void clock_exit_limp(void)
/* brief Exit Limp mode warning The PLL should be set and locked prior to exiting Limp mode  */
void clock_exit_limp(void)
{
	volatile ccm_t *ccm = (volatile ccm_t *)MMAP_CCM;
	volatile pll_t *pll = (volatile pll_t *)MMAP_PLL;
	ccm->misccr &= ~CCM_MISCCR_LIMP;
	while (!(pll->psr & PLL_PSR_LOCK)) ;
}