5.7.8 sg::TimerCallback class

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

sg::TimerCallback::getName

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.

sg::TimerCallback::timerCallback

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 versionARM DUI0835I
Copyright © 2014-2016 ARM Limited or its affiliates. All rights reserved.