These functions measure the frequency of a specified clock relative to a reference clock.
They are typically called in the following order:
Specify the measured clock, the count, and the reference clock
Start the counters
Wait for the measurement counter to finish counting
Retrieve the measured frequency
These functions may also be used as part of a clock trimming process. Refer to the Clock Trim API.