summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2012-10-09 18:45:33 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2012-10-09 18:45:33 +0200
commita5fe4e9378ec4f7787a989e3b31ed1729a631905 (patch)
tree3afbb3f58db673302a4a7742dad8ac867010dadd
parent66344e89ed16f06546ef3a5480d416a6d24c53b8 (diff)
Add OTGHSULPI clock gate definition.
-rw-r--r--rcc/rcc.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/rcc/rcc.h b/rcc/rcc.h
index e9712c6..55cd1f8 100644
--- a/rcc/rcc.h
+++ b/rcc/rcc.h
@@ -111,20 +111,21 @@ struct RCC_t {
};
#elif defined(STM32F4)
enum AHB1_dev {
- GPIOA = 1 << 0,
- GPIOB = 1 << 1,
- GPIOC = 1 << 2,
- GPIOD = 1 << 3,
- GPIOE = 1 << 4,
- GPIOF = 1 << 5,
- GPIOG = 1 << 6,
- GPIOH = 1 << 7,
- GPIOI = 1 << 8,
- CRC = 1 << 12,
- DMA1 = 1 << 21,
- DMA2 = 1 << 22,
- ETHMAC = 1 << 25,
- OTGHS = 1 << 29,
+ GPIOA = 1 << 0,
+ GPIOB = 1 << 1,
+ GPIOC = 1 << 2,
+ GPIOD = 1 << 3,
+ GPIOE = 1 << 4,
+ GPIOF = 1 << 5,
+ GPIOG = 1 << 6,
+ GPIOH = 1 << 7,
+ GPIOI = 1 << 8,
+ CRC = 1 << 12,
+ DMA1 = 1 << 21,
+ DMA2 = 1 << 22,
+ ETHMAC = 1 << 25,
+ OTGHS = 1 << 29,
+ OTGHSULPI = 1 << 30,
};
enum AHB2_dev {