关于定时器处理程序。

5 posts / 0 new
Last post
liyang
Offline
Last seen:5 months 2 weeks ago
Expert
加入:2014-09-24 11:51
关于定时器处理程序。

Hi,Dialog,

You see,the da wakes up in order to serve a peding BLE event, if there isn't an event the da will continue sleeping.
But how it handle the timer handler ,if the time is up , did the da wakes up for it?

Thanks,liyang

Device:
MT_dialog
Offline
Last seen:2 months 3 days ago
工作人员
加入:2015-06-08 11:34
Hi liyang,

Hi liyang,

Yes, a kernel timer will also wake up the system, as good as a BLE event.

Thanks MT_dialog

liyang
Offline
Last seen:5 months 2 weeks ago
Expert
加入:2014-09-24 11:51
Hi,Dialog,

Hi,Dialog,

As you say , a kernel timer will call BLE_WAKEUP_LP_Handler() ?

Thanks,liyang

MT_dialog
Offline
Last seen:2 months 3 days ago
工作人员
加入:2015-06-08 11:34
Hi liyang,

Hi liyang,

Yes, every time it wakes up from sleep it goes through the BLE_WAKEUP_LP to start the initialization proccess fix the clocks, initialize its peripherals etc and the kernel serves the kernel timer event.

Thanks MT_dialog

liyang
Offline
Last seen:5 months 2 weeks ago
Expert
加入:2014-09-24 11:51
Hi,Dialog,

Hi,Dialog,

Ok, Thank you very much!!!

Thanks,liyang

Topic locked