Question
[STM32F30x.h] Bit mask error for RCC_AHBRSTR_XXXX
Posted on May 22, 2014 at 04:27
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?