Partager via


OALTimerRecharge (Windows Embedded CE 6.0)

1/5/2010

This function is usually called from the timer interrupt handler to recharge the timer for subsequent system ticks.

Syntax

VOID OALTimerRecharge(
  UINT32 period,
  UINT32 margin
);

Parameters

  • period
    [in] Specifies the number of ticks in the system tick period.
  • margin
    [in] Specifies the safe time range, in ticks, in which the timer can be modified without errors.

Return Value

None.

Remarks

Depending on your timer hardware implementation, this function can be stubbed.

Requirements

Header oal_timer.h
Library Developer Implemented
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Timer Functions