CAT2 Peripheral Driver Library
Clock Trim (IMO, PILO)

These functions perform a single trim operation on the IMO or PILO. More...

Modules

 Functions
 
 Enumerated Types
 

Detailed Description

These functions perform a single trim operation on the IMO or PILO.

Each function's parameter is the actual frequency of the clock. To measure the frequency, use the functions described in the Clock Calibration API.

To trim the clock as close as possible to the target frequency, multiple calls to the trim function may be needed. A typical usage example is to:

  1. Call the clock measurement functions to get the actual frequency of the clock
  2. Call the trim function, passing in the measured frequency
  3. Repeat the above until the trim function reports that the clock is trimmed to within limits.