2016-10-06 07:07 PM
Dear All,
Can you help me to apply press button GPIO read, capture, compare by TIM6/TIM7 application ?I am using stm32f0xx_hal.h.Thanks in advance.2016-10-10 04:38 AM
Hi hasan.md_mubdiul,
Your need is not so clear but it seems you need to deal with the press-button and read it status one pressed for doing some operations. For that, I recommend to achieve this with configuring the connected EXTI line and the relevant GPIO to proceed in interrupt mode. Check the ''GPIO_EXTI'' example in the at this path: STM32Cube_FW_F0_V1.6.0\Projects\STM32072B_EVAL\Examples\GPIO\GPIO_EXTIOtherwise if you want to use Timers in input capture mode, refer to the example ''InputCapture'' at this path : STM32Cube_FW_F0_V1.6.0\Projects\STM32072B_EVAL\Examples\TIM\TIM_InputCapture-Hannibal-2016-10-10 05:54 PM
Hi hasan.md_mubdiul,
Your need is not so clear but it seems you need to deal with the press-button and read it status one pressed for doing some operations. For that, I recommend to achieve this with configuring the connected EXTI line and the relevant GPIO to proceed in interrupt mode. Check the ''GPIO_EXTI'' example in the at this path: STM32Cube_FW_F0_V1.6.0\Projects\STM32072B_EVAL\Examples\GPIO\GPIO_EXTIOtherwise if you want to use Timers in input capture mode, refer to the example ''InputCapture'' at this path : STM32Cube_FW_F0_V1.6.0\Projects\STM32072B_EVAL\Examples\TIM\TIM_InputCapture-Hannibal-