Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SpecifiedTimeout.h
- Committer:
- ikrase
- Date:
- 2015-06-27
- Revision:
- 5:92fc8f455565
- Parent:
- 4:32fa20b74c9c
File content as of revision 5:92fc8f455565:
#ifndef SPECTIMEOUT_H
#define SPECTIMEOUT_H
#include "mbed.h"
#include "FPointer.h"
//namespace mbed{
class SpecifiedTimeout : public Timeout {
public:
uint32_t val; /*
void attach_us(uint32_t (*fptr)(uint32_t) , timestamp_t t, uint32_t val);
template<class T>
void attach_us(T* tptr, uint32_t(T::*mptr)(uint32_t) , timestamp_t t, uint32_t val); */
void set_refnum(uint32_t refnum);
protected:
virtual void handler();
FPointer _function;
private:
};
//namespace mbed{
//}
#endif