All Classes Files Functions Typedefs Groups Pages
NexTimer.h
Go to the documentation of this file.
#ifndef __NEXTIMER_H__
#define __NEXTIMER_H__
#include "NexTouch.h"
#include "NexHardware.h"
class NexTimer: public NexTouch
{
public: /* methods */
NexTimer(uint8_t pid, uint8_t cid, const char *name);
void attachTimer(NexTouchEventCb timer, void *ptr = NULL);
void detachTimer(void);
bool getCycle(uint32_t *number);
bool setCycle(uint32_t number);
bool enable(void);
bool disable(void);
uint32_t Get_cycle_tim(uint32_t *number);
bool Set_cycle_tim(uint32_t number);
};
#endif /* #ifndef __NEXTIMER_H__ */
NexTimer::Get_cycle_tim
uint32_t Get_cycle_tim(uint32_t *number)
Definition: NexTimer.cpp:86
NexTimer::enable
bool enable(void)
Definition: NexTimer.cpp:60
NexTouchEventCb
void(* NexTouchEventCb)(void *ptr)
Definition: NexTouch.h:45
NexTimer::detachTimer
void detachTimer(void)
Definition: NexTimer.cpp:28
NexTimer::NexTimer
NexTimer(uint8_t pid, uint8_t cid, const char *name)
Definition: NexTimer.cpp:18
NexTimer::getCycle
bool getCycle(uint32_t *number)
Definition: NexTimer.cpp:33
NexTouch.h
NexTimer::Set_cycle_tim
bool Set_cycle_tim(uint32_t number)
Definition: NexTimer.cpp:95
NexHardware.h
NexTimer::setCycle
bool setCycle(uint32_t number)
Definition: NexTimer.cpp:42
NexTimer
Definition: NexTimer.h:34
NexTimer::attachTimer
void attachTimer(NexTouchEventCb timer, void *ptr=NULL)
Definition: NexTimer.cpp:23
NexTouch
Definition: NexTouch.h:53
NexTimer::disable
bool disable(void)
Definition: NexTimer.cpp:73