2.2.5 TimerControl protocol

This protocol controls the actions of the component. It permits a timer to be set to schedule a callback after a given number of ticks at the rate of the clock input.

If a timer is set while it is counting, it starts counting the new number of ticks without sending the original callback. Canceling a timer when it is not active has no effect.

set(uint32_t ticks) : void
Set the timer to countdown the given number of ticks.
cancel()
Cancel an active timer, preventing the callback being invoked.
isSet() : bool
Check whether a timer is set to generate a callback.
remaining() : uint32_t
Return how many ticks remain before the callback is invoked.
Non-ConfidentialPDF file icon PDF version100964_1142_00_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.