Searched refs:AOS_TIMER_REPEAT (Results 1 – 9 of 9) sorted by relevance
/AliOS-Things-master/components/osal_aos/example/ |
A D | timer_example.c | 56 …status = aos_timer_create(&timer1, timer1_func, NULL, 1000, (AOS_TIMER_REPEAT | AOS_TIMER_AUTORUN)… in aos_timer_example_task()
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | machine_sw_timer.c | 48 #define TIMER_MODE_PERIODIC (AOS_TIMER_REPEAT) 119 … {MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = AOS_TIMER_REPEAT | AOS_TIMER_AUTORUN}}, in machine_soft_timer_init_helper()
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | machine_sw_timer.c | 48 #define TIMER_MODE_PERIODIC (AOS_TIMER_REPEAT) 119 … {MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = AOS_TIMER_REPEAT | AOS_TIMER_AUTORUN}}, in machine_soft_timer_init_helper()
|
/AliOS-Things-master/components/osal_aos/rhino/ |
A D | aos_timer.c | 79 round = (options & AOS_TIMER_REPEAT) ? ms : 0; in aos_timer_create()
|
/AliOS-Things-master/components/amp/main/ |
A D | amp_task.c | 124 ret = aos_timer_create(timer_id, amp_task_timer_cb_handler, p_param, ms, AOS_TIMER_REPEAT); in amp_task_timer_action()
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | machine_sw_timer.c | 93 … { MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = AOS_TIMER_REPEAT | AOS_TIMER_AUTORUN } }, in machine_soft_timer_init_helper()
|
/AliOS-Things-master/components/osal_aos/include/aos/ |
A D | kernel.h | 77 #define AOS_TIMER_REPEAT 0x02u /**< 表示定时器是周期性的,当调用aos_timer_create()创建定时器时,用来指定option参数 */ macro
|
/AliOS-Things-master/components/amp_adapter/platform/linux/ |
A D | aos_system.c | 325 amp_timer->repeat = (options & AOS_TIMER_REPEAT) ? 1 : 0; in aos_timer_create()
|
/AliOS-Things-master/components/osal_aos/ |
A D | README.md | 277 …种工作模式:单次模式和周期性模式。定时器在创建时,用户可通过option参数来制定该定时器的工作模式是单次还是周期性的,若option设置了AOS_TIMER_REPEAT则为周期性的,否则为单次。
|
Completed in 13 milliseconds