Skip to main content
Htzuh
Associate II
May 7, 2019
Question

STM32WB about virtual timer and Callback function

  • May 7, 2019
  • 1 reply
  • 1005 views

Hello everyone,

I have a question in APP_BLE_Init( ). I add

HW_TS_Create(CFG_TIM_PROC_ID_ISR,

&(BleApplicationContext.SwitchOffGPIO_timer_Id),

hw_ts_SingleShot,

Switch_OFF_GPIO); and HW_TS_Start(BleApplicationContext.SwitchOffGPIO_timer_Id, (uint32_t)LED_ON_TIMEOUT); just like the BLE_p2pServer example but

the code didn't run in the Switch_OFF_GPIO() call back function.

Do i need some setting about tImer?

Thank you.

This topic has been closed for replies.

1 reply

April 10, 2020

Hi, @Htzuh​ i get exactly the same issue. Did you solve it?

regards