Ian Krase / PolyServo

Dependents:   Quadrapod

Committer:
ikrase
Date:
Sat Jun 27 08:19:19 2015 +0000
Revision:
5:92fc8f455565
Parent:
4:32fa20b74c9c
SpecifiedTimeout now builds.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ikrase 4:32fa20b74c9c 1 #ifndef SPECTIMEOUT_H
ikrase 4:32fa20b74c9c 2 #define SPECTIMEOUT_H
ikrase 4:32fa20b74c9c 3
ikrase 4:32fa20b74c9c 4 #include "mbed.h"
ikrase 4:32fa20b74c9c 5 #include "FPointer.h"
ikrase 4:32fa20b74c9c 6 //namespace mbed{
ikrase 4:32fa20b74c9c 7
ikrase 4:32fa20b74c9c 8 class SpecifiedTimeout : public Timeout {
ikrase 4:32fa20b74c9c 9
ikrase 4:32fa20b74c9c 10 public:
ikrase 5:92fc8f455565 11 uint32_t val; /*
ikrase 4:32fa20b74c9c 12 void attach_us(uint32_t (*fptr)(uint32_t) , timestamp_t t, uint32_t val);
ikrase 4:32fa20b74c9c 13 template<class T>
ikrase 5:92fc8f455565 14 void attach_us(T* tptr, uint32_t(T::*mptr)(uint32_t) , timestamp_t t, uint32_t val); */
ikrase 5:92fc8f455565 15 void set_refnum(uint32_t refnum);
ikrase 4:32fa20b74c9c 16 protected:
ikrase 4:32fa20b74c9c 17 virtual void handler();
ikrase 4:32fa20b74c9c 18 FPointer _function;
ikrase 4:32fa20b74c9c 19
ikrase 4:32fa20b74c9c 20 private:
ikrase 4:32fa20b74c9c 21
ikrase 4:32fa20b74c9c 22
ikrase 4:32fa20b74c9c 23
ikrase 4:32fa20b74c9c 24
ikrase 4:32fa20b74c9c 25
ikrase 4:32fa20b74c9c 26
ikrase 4:32fa20b74c9c 27
ikrase 4:32fa20b74c9c 28 };
ikrase 4:32fa20b74c9c 29 //namespace mbed{
ikrase 5:92fc8f455565 30
ikrase 4:32fa20b74c9c 31
ikrase 4:32fa20b74c9c 32 //}
ikrase 4:32fa20b74c9c 33
ikrase 4:32fa20b74c9c 34 #endif