2018-01-09 01:19 PM
NO definition for
TIM_ICPOLARITY_BOTHEDGE
that generated by cubemx in stm32f1xx_hal_tim.h
* @file stm32f1xx_hal_tim.h
* @author MCD Application Team * @version V1.1.1 * @date 12-May-2017 * @brief Header file of TIM HAL module./** @defgroup TIM_Input_Capture_Polarity TIM Input Capture Polarity
* @{ */&sharpdefine TIM_ICPOLARITY_RISING TIM_INPUTCHANNELPOLARITY_RISING&sharpdefine TIM_ICPOLARITY_FALLING TIM_INPUTCHANNELPOLARITY_FALLING--->>> definition must be here
&sharpdefine TIM_ICPOLARITY_BOTHEDGE TIM_INPUTCHANNELPOLARITY_BOTHEDGE <<<---
/** * @} */STM32CubeMX Software V4.23.0 / 20 October 2017
STM32CubeF1 Firmware Package V1.6.0 / 17-May-2017
#bug-report #stmcubemx-bug-report2018-01-09 01:21 PM
#define TIM_ICPOLARITY_BOTHEDGE TIM_INPUTCHANNELPOLARITY_BOTHEDGE
2018-01-16 06:27 AM
Hello,
Thank you
Orels1967_cuvox.de.O
for sharing your issue.We raised this internally for check and we come back to you withtaken actions/explanation if needed.
Kind Regards,
Imen
2018-05-18 03:35 AM
Hello
Orels1967_cuvox.de.O
,We confirmed that in the latest version of the RM0008:
- Both edges is NOT supported for TIM1/8 and TIM2/3/4/5
- Both edges is supported for TIM9/10/11/12/13/
Therefore, the TIM_ICPOLARITY_BOTHEDGE definition will be added in the stm32f1xx_hal_tim.h
for the
coming release of CubeF1 firmware package in order to align with the reference manual.Best Regards,
Imen