7.7.8 sg::TimerCallback class

This section describes the TimerCallback base class. This interface does not allow object destruction.


This method returns the name of the instance that owns the object.

const char *getName() const;

Conventionally, this is the name that createTimer() received.

TimerCallback inherits this method from sg::SchedulerObject.


The createTimer() method receives a timerCallback instance. This timerCallback() method is called whenever the timer expires. This method returns a value t. If t is 0, the timer does not repeat, otherwise it is to call timerCallback() again after t ticks.

ticks_t timerCallback();
Non-ConfidentialPDF file icon PDF version100965_1105_00_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.