AnsweredAssumed Answered

[bug report]   no definition  TIM_ICPOLARITY_BOTHEDGE in stm32f1xx_hal_tim.h

Question asked by Orels cuvox on Jan 9, 2018
Latest reply on May 18, 2018 by Imen D

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
  * @{
  */
#define  TIM_ICPOLARITY_RISING             TIM_INPUTCHANNELPOLARITY_RISING
#define  TIM_ICPOLARITY_FALLING            TIM_INPUTCHANNELPOLARITY_FALLING

--->>> definition must be here

#define TIM_ICPOLARITY_BOTHEDGE TIM_INPUTCHANNELPOLARITY_BOTHEDGE <<<---
/**
  * @}
  */

STM32CubeMX Software V4.23.0 / 20 October 2017

STM32CubeF1 Firmware Package V1.6.0 / 17-May-2017

Outcomes