⚠️ 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.
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
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