cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_TIM_OnePulse_Start_IT Any example?

matteo239955_st
Associate II
Posted on November 23, 2015 at 08:37

Hi, someone have any example for this type of TIM function?

#stm32-tim
2 REPLIES 2
Amel NASRI
ST Employee
Posted on November 23, 2015 at 16:24

Hibandini.matteo,

There is an example with polling not IT underSTM32Cube_FW_F4_V1.9.0\Projects\STM324x9I_EVAL\Examples\TIM\TIM_OnePulse.As per

https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Create%20a%20precision%20timer%20with%20HAL%20and%20interrupt

, I think that you are using F0 device.

It will be possible to get the idea from the example I provided and update the CubeMX generated code accordingly.

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

matteo239955_st
Associate II
Posted on November 24, 2015 at 12:48

Hi, if I need a Interrupt at the end of the pulse what I need to activate?

If I want to change the pulse period every pulse what I need to do?

Thank you very much.