AnsweredAssumed Answered

[STM32F30x.h] Bit mask error for RCC_AHBRSTR_XXXX

Question asked by Yew HH on May 22, 2014
Latest reply on May 23, 2014 by Montassar BEN ROMDHANE
hi,

I found there is a problem with the bit mask for the RCC AHBRSTR Register in the
stm32f30x.h.

  * @file    stm32f30x.h
  * @author  MCD Application Team
  * @version V1.0.0
  * @date    04-September-2012

#define  RCC_AHBRSTR_TSRST                   ((uint32_t)0x00100000)
#define  RCC_AHBRSTR_ADC12RST           ((uint32_t)0x01000000)
#define  RCC_AHBRSTR_ADC34RST           ((uint32_t)0x02000000)

I think the bit mask position for TSRST (bit 24), ADC12RST (bit 28), and ADC34RST(bit 29) is wrong.

is this a known problem?

Outcomes