2021-06-17 10:40 AM
I used STMCubeIDE to generate the following code...It is for Timer16 to count up and generate an interrupt after 100ms. Can someone tell me why the code did not set up __HAL_RCC_TIMx_CLK_ENABLE()?
When I use the IDE to generate GPIO stuff it automatically adds the RCC Enable bit into the INIT function
Thanks
Steve
Solved! Go to Solution.
2021-06-17 01:11 PM
After digging around I see it did....I apologize....Not used to HAL layer design....Many macros compared to LL / register setting
Thank you.
2021-06-17 11:34 AM
It should have. Attach your IOC file.
2021-06-17 01:11 PM
After digging around I see it did....I apologize....Not used to HAL layer design....Many macros compared to LL / register setting
Thank you.