From a5fe4e9378ec4f7787a989e3b31ed1729a631905 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Tue, 9 Oct 2012 18:45:33 +0200 Subject: Add OTGHSULPI clock gate definition. --- rcc/rcc.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'rcc') 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 { -- cgit v1.2.3