Skip to main content
Orels cuvox
Associate
July 3, 2018
Question

[BUG] NO definition for complementary outputs

  • July 3, 2018
  • 0 replies
  • 453 views
Posted on July 03, 2018 at 16:18

/** @defgroup TIM_Channel TIM Channel

  * @{

  */

#define TIM_CHANNEL_1                      0x00000000U

#define TIM_CHANNEL_2                      0x00000004U

#define TIM_CHANNEL_3                      0x00000008U

#define TIM_CHANNEL_4                      0x0000000CU

#define TIM_CHANNEL_ALL                    0x00000018U

Therea are no definitions for complementary outputs in stm32f1xx_hal_tim.h that generated by stm32Cube v1.0 version 4.26.0 with

STM32CubeF1 Firmware Package V1.6.0

Also is mistake in

#define TIM_CHANNEL_ALL                    0x00000018U

Number

0x00000018U

it makes no sense. May be you mean 0x1555

    This topic has been closed for replies.