An all-digital built-in self-test technique for transfer function characterization of RF PLLs