次の方法で共有


System Tick Timer Initialization (Windows Embedded CE 6.0)

1/5/2010

The system tick timer should be initialized in OEMInit with a call to InitClock, also defined in the OAL.

The following list shows the suggested tasks for the InitClock function:

  • Determine what timer interrupt source to use for the system tick. The timer interrupt source depends on the CPU and available external sources.
  • Initiate the 1-millisecond (ms) tick interval required by the kernel by configuring the timer and unmasking the interrupt.

If the target device contains high-resolution timers, OEMInit should also set the pQueryPerformanceCounter and pQueryPerformanceFrequency global variables. For more information, see Supporting High-Resolution Timers.

See Also

Tasks

Implementing the OEMInit Function
How to Develop an OEM Adaptation Layer