priority of app_easy_timer

Learn MoreFAQsTutorials

3 posts / 0 new
Last post
hashi
Offline
Last seen:5 months 3 weeks ago
加入:2018-01-04 02:04
priority of app_easy_timer

I would like to make priority of timer0 interruption callback higher than priority of app_easy_timer callback. Is app_easy_timer callback called by BLE_GROSSTGTIM_IRQn interruption handler? If so, is this code allowed?

NVIC_SetPriority (SWTIM_IRQn 2);

NVIC_SetPriority (BLE_GROSSTGTIM_IRQn, 3);

Device:
PM_Dialog
Offline
Last seen:3 hours 40 min ago
Staff
加入:2018-02-08 11:03
Hi hashi,

Hi hashi,

The app_easy_timer() is fed by the BLE timer that has higher priority than the SW timer. I would recommend NOT modifying any interrupt priority and using the SDK as provided by Dialog.

Thanks, PM_Dialog

hashi
Offline
Last seen:5 months 3 weeks ago
加入:2018-01-04 02:04
Thank you for your reply. I

Thank you for your reply. I understand it.