Skip to content

API Documentation

Doanh Văn Lương edited this page Dec 13, 2017 · 11 revisions

API DOCUMENTATION

  • Task()
  • Task(unsigned long aInterval, long aIterations, void (aCallback)(), Scheduler aScheduler, bool aEnable, bool (*aOnEnable)(), void (*aOnDisable)())
  • Task(void (aCallback)(), Scheduler aScheduler, bool (*aOnEnable)(), void (*aOnDisable)())
  • bool isEnabled()
  • unsigned long getInterval()
  • long getIterations()
  • long getStartDelay()
  • long getOverrun()
  • unsigned long getRunCounter()
  • bool isFirstIteration()
  • bool isLastIteration()
  • void enable()
  • bool enableIfNot()
  • void delay()
  • void forceNextIteration()
  • void enableDelayed()
  • void enableDelayed (unsigned long aDelay)
  • void restart()
  • void restartDelayed (unsigned long aDelay)
  • bool disable()
  • void set(unsigned long aInterval, long aIterations, void (*aCallback)() , bool (*aOnEnable)() , void (*aOnDisable)())
  • void setInterval (unsigned long aInterval)
  • void setIterations (long aIterations)
  • void setCallback (void (*aCallback)())
  • void setOnEnable (bool (*aCallback)())
  • void setOnDisable (void (*aCallback)())
  • void yield(void (*aCallback)())
  • void yieldOnce(void (*aCallback)())
  • void waitFor(StatusRequest* aStatusRequest, unsigned long aInterval = 0, long aIterations = 1)
  • void waitForDelayed(StatusRequest* aStatusRequest, unsigned long aInterval = 0, long aIterations = 1)
  • StatusRequest* getStatusRequest()
  • StatusRequest* getInternalStatusRequest()
  • void setId(unsigned int aID)
  • unsigned int getId()
  • void setControlPoint (unsigned int aPoint)
  • unsigned int getControlPoint()
  • void setLtsPointer(void *aPtr)
  • void *getLtsPointer()