Skip to main content
matteo239955_st
Associate III
November 23, 2015
Question

HAL_TIM_OnePulse_Start_IT Any example?

  • November 23, 2015
  • 2 replies
  • 1212 views
Posted on November 23, 2015 at 08:37

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

#stm32-tim
This topic has been closed for replies.

2 replies

Amel NASRI
ST Technical Moderator
November 23, 2015
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 "Best Answer" on the reply which solved your issue or answered your question.
matteo239955_st
Associate III
November 24, 2015
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.