sample code for a Phase Lock Loop (PLL) in embedded systems Finite State Machines lecture