Controlling Timing with the System and Slow Clocks

Windows Automotive 5.0/5.5
Two clocks provide timing control you can build into your applications using the .NET Micro Framework. Here you can find how the speeds are set, the properties for retrieval, and the clock frequencies.

The Microsoft® .NET Micro Framework provides two clocks that your applications can use to control timing.

The first of these is the system clock, whose frequency is set by the manufacturer of your hardware platform. You can retrieve the system clock frequency by using the Cpu.SystemClock property.

The second clock is called the slow clock. Its runs at a speed that is also set by the manufacturer of your hardware device; this speed is a divisor of the system clock speed. Typically, the slow clock runs at a speed that is 1/2, 1/4, 1/12, 1/14, 1/28, 1/56, 1/69, or 1/127 of the system clock speed. Use the Cpu.SlowClock property to obtain the frequency of the slow clock.

Hh423011.note(en-us,MSDN.10).gifNote
Because the frequency of the slow clock is set by your hardware manufacturer, the slow clock might use a divisor other than one of those listed earlier on this page.

Community Additions

ADD
Show: