cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDEMX doesnt' enable RCC bit?

SWenn.1
Senior III

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

1 ACCEPTED SOLUTION

Accepted Solutions
SWenn.1
Senior III

After digging around I see it did....I apologize....Not used to HAL layer design....Many macros compared to LL / register setting

Thank you.

View solution in original post

2 REPLIES 2
TDK
Guru

It should have. Attach your IOC file.

If you feel a post has answered your question, please click "Accept as Solution".
SWenn.1
Senior III

After digging around I see it did....I apologize....Not used to HAL layer design....Many macros compared to LL / register setting

Thank you.