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
NerfusTicker.hpp
00001 #ifndef NERFUS_TICKER_HPP 00002 #define NERFUS_TICKER_HPP 00003 00004 #include "mbed.h" 00005 #include "NerfusCallbackInterface.hpp" 00006 #include "NerfusTickerInterface.hpp" 00007 00008 class NerfusTicker : public NerfusTickerInterface 00009 { 00010 public: 00011 virtual void start(int timeout_ms); 00012 virtual void stop(); 00013 virtual int get_time_ms(); 00014 00015 void init(NerfusCallbackInterface* nerfus_callback); 00016 void timeout(); 00017 00018 private: 00019 NerfusCallbackInterface *nerfus_callback; 00020 Ticker ticker; 00021 Timer timer; 00022 }; 00023 00024 #endif
Generated on Tue Jul 12 2022 17:18:21 by
1.7.2