git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5159 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
64c0f991ec
commit
276903d456
|
@ -51,7 +51,7 @@
|
||||||
RCC_AHB1ENR_GPIOGEN | RCC_AHB1ENR_GPIOHEN | \
|
RCC_AHB1ENR_GPIOGEN | RCC_AHB1ENR_GPIOHEN | \
|
||||||
RCC_AHB1ENR_GPIOIEN)
|
RCC_AHB1ENR_GPIOIEN)
|
||||||
#define AHB1_LPEN_MASK AHB1_EN_MASK
|
#define AHB1_LPEN_MASK AHB1_EN_MASK
|
||||||
#elif defined(STM32F30X)
|
#elif defined(STM32F30X) || defined(STM32F37X)
|
||||||
#define AHB_EN_MASK (RCC_AHBENR_GPIOAEN | RCC_AHBENR_GPIOBEN | \
|
#define AHB_EN_MASK (RCC_AHBENR_GPIOAEN | RCC_AHBENR_GPIOBEN | \
|
||||||
RCC_AHBENR_GPIOCEN | RCC_AHBENR_GPIODEN | \
|
RCC_AHBENR_GPIOCEN | RCC_AHBENR_GPIODEN | \
|
||||||
RCC_AHBENR_GPIOEEN | RCC_AHBENR_GPIOFEN)
|
RCC_AHBENR_GPIOEEN | RCC_AHBENR_GPIOFEN)
|
||||||
|
|
Loading…
Reference in New Issue