Search by Tags

Windows CE Library - Peripheral Clocks Library (CLKLib)


Article updated at 28 Oct 2017
Compare with Revision

Attention: this is a legacy library and thus not supported by Toradex anymore. We recommend that you use the new libraries for all Toradex modules. Please see the Toradex CE Libraries and Code Samples for up-to-date information.


This library manages peripheral clock settings.

Current Version


Application Notes

On PXAxxx processors, each clock can simply be enabled or disabled.

On Txx processors, the library can select the correct clock source and divisor to either provide the closest frequency to that specified or to select the lowest power-consumption oscillator giving a frequency within a specified range.

CLKLib also contains a function to provide for blocking delays with a 1uS resolution.

Library API

Click here for the library API

Other Resources

Windows CE Libraries Overview

Revision History

Date Rev Change Notes
11/03/2014 V3.3 Prevent using non-constant clock sources PLLC and PLLM in function ClkLibSetClockFrequency()
23/09/2013 V3.2 Change default SDK to Colibri600 / Extend T30 support