My Project

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

All Classes Files Functions Typedefs Groups Pages
NexTimer.h
Go to the documentation of this file.
1
17 #ifndef __NEXTIMER_H__
18 #define __NEXTIMER_H__
19
20 #include "NexTouch.h"
21 #include "NexHardware.h"
34 class NexTimer: public NexTouch
35 {
36 public: /* methods */
37
41 NexTimer(uint8_t pid, uint8_t cid, const char *name);
42
52 void attachTimer(NexTouchEventCb timer, void *ptr = NULL);
53
59 void detachTimer(void);
60
69 bool getCycle(uint32_t *number);
70
81 bool setCycle(uint32_t number);
82
89 bool enable(void);
90
97 bool disable(void);
98
105 uint32_t Get_cycle_tim(uint32_t *number);
106
113 bool Set_cycle_tim(uint32_t number);
114 };
120 #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