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.
Dependents: TargetManagerManualTest NerfUSTarget
include/TargetTicker.hpp
- Committer:
- dupm2216
- Date:
- 2017-03-12
- Revision:
- 4:166a5b9c6e91
- Parent:
- 2:08171ac3fea4
File content as of revision 4:166a5b9c6e91:
#ifndef TARGET_TICKER_HPP
#define TARGET_TICKER_HPP
#include "mbed.h"
#include "NerfusCallbackInterface.hpp"
#include "TargetTickerInterface.hpp"
class TargetTicker : public TargetTickerInterface
{
public:
virtual void start(int timeout_ms);
virtual void stop();
void init(NerfusCallbackInterface* nerfus_callback);
void timeout();
private:
NerfusCallbackInterface *nerfus_callback;
Ticker ticker;
};
#endif