Clock Measurement¶

group group_sysclk_calclk

These functions measure the frequency of a specified clock relative to a reference clock.

They are typically called in the following order:

1. Specify the measured clock, the count, and the reference clock

2. Start the counters

3. Wait for the measurement counter to finish counting

4. Retrieve the measured frequency

note

These functions may also be used as part of a clock trimming process. Refer to the Clock Trim API.