次の方法で共有


OALTimerSetCompare (Compact 2013)

10/16/2014

This function sets the timer compare value.

Implement this function only for systems with a count and compare timer.

Syntax

VOID OALTimerSetCompare(
  UINT32 compare
);

Parameters

  • compare
    [in] Specifies the timer compare value, in ticks.

Return Value

None.

Remarks

You can use this function to implement the OALTimerRecharge, OALTimerCountsSinceSysTick, and OALTimerUpdate.

Requirements

Header

oal_timer.h

Library

Developer Implemented

See Also

Reference

Timer Functions