17 #ifndef __NEXTIMER_H__
18 #define __NEXTIMER_H__
41 NexTimer(uint8_t pid, uint8_t cid,
const char *name);
uint32_t Get_cycle_tim(uint32_t *number)
Get tim attribute of component.
bool enable(void)
contorl timer enable.
void(* NexTouchEventCb)(void *ptr)
Type of callback funciton when an touch event occurs.
void detachTimer(void)
Detach an callback function.
NexTimer(uint8_t pid, uint8_t cid, const char *name)
Constructor.
bool getCycle(uint32_t *number)
Get the value of timer cycle val.
The definition of class NexTouch.
bool Set_cycle_tim(uint32_t number)
Set tim attribute of component.
The definition of base API for using Nextion.
bool setCycle(uint32_t number)
Set the value of timer cycle val.
void attachTimer(NexTouchEventCb timer, void *ptr=NULL)
Attach an callback function of timer respond event.
Father class of the components with touch events.
bool disable(void)
contorl timer disable.