19 #ifndef MINLIB_FREERTOS_TIMER_
20 #define MINLIB_FREERTOS_TIMER_
44 unsigned int uiPeriod,
bool bIsOneShot =
true);
64 virtual int destroy(
unsigned int timeout = (
unsigned int) 0xffffffffUL);
74 virtual int active(
unsigned int timeout = (
unsigned int) 0xffffffffUL);
84 virtual int inactive(
unsigned int timeout = (
unsigned int) 0xffffffffUL);
94 virtual int reset(
unsigned int timeout = (
unsigned int) 0xffffffffUL);
103 virtual bool set_period(
unsigned int uiNewPeriod,
unsigned int timeout = (
unsigned int) 0xffffffffUL);
147 virtual void set_id(
int nId);
202 #if( configSUPPORT_STATIC_ALLOCATION == 1 )
203 StaticTimer_t m_xTimerBuffer;
Definition: mn_timer.hpp:31
virtual int destroy(unsigned int timeout=(unsigned int) 0xffffffffUL)
Definition: mn_timer.cpp:65
bool m_bIsOneShot
Definition: mn_timer.hpp:183
virtual bool set_period(unsigned int uiNewPeriod, unsigned int timeout=(unsigned int) 0xffffffffUL)
Definition: mn_timer.cpp:136
virtual void * get_handle()
Definition: mn_timer.hpp:131
virtual void on_exit()
Definition: mn_timer.hpp:172
virtual int reset(unsigned int timeout=(unsigned int) 0xffffffffUL)
Definition: mn_timer.cpp:116
const char * get_name()
Definition: mn_timer.hpp:117
int get_id()
Definition: mn_timer.hpp:137
virtual int inactive(unsigned int timeout=(unsigned int) 0xffffffffUL)
Definition: mn_timer.cpp:96
int m_iTimerID
Definition: mn_timer.hpp:200
virtual void on_enter()
Definition: mn_timer.hpp:168
virtual void on_timer()=0
bool is_oneshot()
Definition: mn_timer.hpp:124
virtual unsigned int get_period()
Definition: mn_timer.hpp:110
void * m_pHandle
Definition: mn_timer.hpp:195
virtual int active(unsigned int timeout=(unsigned int) 0xffffffffUL)
Definition: mn_timer.cpp:76
virtual ~basic_timer()
Definition: mn_timer.hpp:46
virtual bool is_running()
Definition: mn_timer.cpp:177
virtual int create()
Definition: mn_timer.cpp:37
basic_timer(const char *strName, unsigned int uiPeriod, bool bIsOneShot=true)
Definition: mn_timer.cpp:30
const char * m_strName
Definition: mn_timer.hpp:191
virtual void set_id(int nId)
Definition: mn_timer.cpp:169
static void runtimerstub(void *xTimer)
Definition: mn_timer.cpp:156
unsigned int m_uiPeriod
Definition: mn_timer.hpp:187
Definition: mn_allocator_typetraits.hpp:25