10.07.2015 Views

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Framework ProtocolsThe TimerControl64 protocol has the following behaviors:set(uint64_t ticks) : voidsets the timer to countdown the given number of tickscancel()cancels an active timer, preventing the callback being invokedisSet() : boolchecks whether a timer is set to generate a callbackremaining() : uint64_treturns how many ticks remain before the callback is invoked.TimerCallback64 protocolThe TimerCallback64 protocol is used to invoke a behavior on the component which set thetimer. The timer_control port of the timer must not be used during the invoked behavior.signal() : uint64_tInvoked by the timer when the timer countdown expires. The invoked behaviorreturns the number of ticks after which it is called again or 0 to make the timerone-shot.ParametersThe ClockTimer64 component has no parameters.RegistersThe ClockTimer64 component has no registers.Debug featuresThe ClockTimer64 component has no debug features.Verification and testingThis component has been tested using internal unit tests.PerformanceAn active ClockTimer64 component incurs no simulation overhead. For best performance,avoid having your performance-critical code frequently cancel timers or query the number ofremaining ticks.Library dependenciesThe ClockTimer64 component has no dependencies on external libraries.<strong>ARM</strong> DUI 0423N Copyright © 2008-2012 <strong>ARM</strong>. All rights reserved. 3-9ID120712Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!