Home
last modified time | relevance | path

Searched refs:Timer (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/components/py_engine/tests/wipy/
A Dtimer.py18 tim = Timer(i, mode=Timer.PERIODIC)
24 tim = Timer(i, mode=Timer.ONE_SHOT)
30 tim = Timer(i, mode=Timer.PWM)
40 tim = Timer(i, mode=Timer.PERIODIC)
46 self.tim = Timer(0, mode=Timer.PERIODIC)
84 tim = Timer(0, mode=Timer.PERIODIC, width=32)
85 ch = tim.channel(Timer.A | Timer.B, period=5000000)
89 tim = Timer(0, mode=Timer.PERIODIC)
99 tim = Timer(4, mode=Timer.ONE_SHOT)
104 tim = Timer(0, mode=Timer.PWM, width=32)
[all …]
A Dtimer.py.exp1 Timer(0, mode=Timer.PERIODIC)
4 Timer(0, mode=Timer.ONE_SHOT)
7 Timer(0, mode=Timer.PWM)
10 Timer(0, mode=Timer.PWM)
11 Timer(1, mode=Timer.PERIODIC)
17 Timer(1, mode=Timer.PWM)
20 Timer(1, mode=Timer.PWM)
27 Timer(2, mode=Timer.PWM)
30 Timer(2, mode=Timer.PWM)
37 Timer(3, mode=Timer.PWM)
[all …]
/AliOS-Things-master/components/py_engine/tests/extmod/
A Dmachine_timer.py6 machine.Timer
12 t = machine.Timer(freq=1)
19 t = machine.Timer(freq=1)
20 t2 = machine.Timer(freq=1)
25 t = machine.Timer(freq=1)
26 t2 = machine.Timer(freq=1)
31 t = machine.Timer(period=1, mode=machine.Timer.ONE_SHOT, callback=lambda t: print("one-shot"))
36 t = machine.Timer(period=4, mode=machine.Timer.PERIODIC, callback=lambda t: print("periodic"))
/AliOS-Things-master/components/mqtt/MQTTClient-C/
A DMQTTLinux.h49 typedef struct Timer struct
52 } Timer; typedef
54 void TimerInit(Timer*);
55 char TimerIsExpired(Timer*);
56 void TimerCountdownMS(Timer*, unsigned int);
57 void TimerCountdown(Timer*, unsigned int);
58 int TimerLeftMS(Timer*);
A DMQTTClient.h71 extern void TimerInit(Timer*);
72 extern char TimerIsExpired(Timer*);
73 extern void TimerCountdownMS(Timer*, unsigned int);
74 extern void TimerCountdown(Timer*, unsigned int);
75 extern int TimerLeftMS(Timer*);
128 Timer last_sent, last_received;
A DMQTTLinux.c20 void TimerInit(Timer* timer) in TimerInit()
25 char TimerIsExpired(Timer* timer) in TimerIsExpired()
34 void TimerCountdownMS(Timer* timer, unsigned int timeout) in TimerCountdownMS()
43 void TimerCountdown(Timer* timer, unsigned int timeout) in TimerCountdown()
52 int TimerLeftMS(Timer* timer) in TimerLeftMS()
A DMQTTClient.c34 static int sendPacket(MQTTClient* c, int length, Timer* timer) in sendPacket()
111 static int readPacket(MQTTClient* c, Timer* timer) in readPacket()
225 Timer timer; in keepalive()
257 int cycle(MQTTClient* c, Timer* timer) in cycle()
344 Timer timer; in MQTTYield()
368 Timer timer; in MQTTRun()
395 int waitfor(MQTTClient* c, int packet_type, Timer* timer) in waitfor()
415 Timer connect_timer; in MQTTConnectWithResults()
521 Timer timer; in MQTTSubscribeWithResults()
576 Timer timer; in MQTTUnsubscribe()
[all …]
/AliOS-Things-master/components/cplusplus/
A Dtimer.cpp17 kstat_t Timer::create(const name_t *name, in create()
46 kstat_t Timer::destory(void) in destory()
56 kstat_t Timer::start(void) in start()
66 kstat_t Timer::stop(void) in stop()
76 ktimer_t *Timer::self(void) in self()
A DREADME.md21 - Timer软件定时器类
36 ├── timer.cpp # AOS: Timer
/AliOS-Things-master/components/py_engine/tests/pyb/
A Dtimer.py4 from pyb import Timer
6 tim = Timer(4)
7 tim = Timer(4, prescaler=100, period=200)
16 tim = Timer(2, freq=100)
A Dtimer_callback.py4 from pyb import Timer
30 tim = Timer(1, freq=100, callback=cb1)
36 tim = Timer(2, freq=100, callback=cb2)
42 tim = Timer(4)
A Dadc.py1 from pyb import ADC, Timer
13 tim = Timer(5, freq=500)
/AliOS-Things-master/components/drivers/peripheral/timer/
A DREADME.md6 Timer,即通用硬件定时器。
7 该组件是Timer VFS驱动子系统,给应用或组件提供通过VFS形式(open/close/ioctl)访问硬件Timer驱动对上层提供服务的接口。该组件初始化过程中,会根据hardware/chi…
25 │   └── timer_example.c #Timer示例代码
29 │   │   └── timer.h #Timer HAL API申明
31 │   └── timer_dev.h #Timer设备API申明
35 └── timer_dev.c #Timer设备实现代码
/AliOS-Things-master/components/cplusplus/example/cpp_aos/
A Dtimer_test.cpp10 Timer *pTimer_1;
26 pTimer_1 = new Timer; in test_timer()
/AliOS-Things-master/components/cplusplus/include/
A Dcpp_timer.h21 class Timer
/AliOS-Things-master/components/littlevgl/
A DREADME.md110 5. Call `lv_tick_inc(x)` every `x` milliseconds **in a Timer or Task** (`x` should be between 1 and…
163 …er()` periodically every few milliseconds in the main `while(1)` loop, in Timer interrupt or in an…
/AliOS-Things-master/hardware/chip/rtl872xd/
A Date.bin423 [%s] Fail to find the timer_entry in timer table��init_timer��Timer���

Completed in 51 milliseconds