⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at计画ps://www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
MADHUSF
Offline
Last seen:1 month 3 weeks ago
加入:2018-01-15 09:22
ISR

Hi,

I want to use timer ISR.please tell me how to use configure

I have written SWTIM_Handler()..im unable to map it with BLE stacl

how do we link our timer ISR with BLE stack.

please help me in this context

Device:
PM_Dialog
Offline
Last seen:10小时28分钟前
工作人员
加入:2018-02-08 11:03
Hi MADHUSF,

Hi MADHUSF,

Please check 6.0.10.511\projects\target_apps\peripheral_examples\timer0\timer0_general peripheral example of the SDK and open imer0.c file. There is no need to write a SWTIM_Handler. In timer0_register_callback() you could register callback function to be called from within SWTIM_Handler. The TIMER0_callback is a global value stored into the Retention-RAM, and when it fires-up, the registered callback will be executed within SWTIM_Handler

Thanks, PM_Dialog