using a reference clock or oscillator