次の方法で共有


OALTimerRecharge (Compact 2013)

10/16/2014

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

See Also

Reference

Timer Functions