TODO: Detect if PLL is in lock