summaryrefslogtreecommitdiff
path: root/src/stm32f4/stm32f4.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f4/stm32f4.h')
-rw-r--r--src/stm32f4/stm32f4.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stm32f4/stm32f4.h b/src/stm32f4/stm32f4.h
index a351f086..3429e458 100644
--- a/src/stm32f4/stm32f4.h
+++ b/src/stm32f4/stm32f4.h
@@ -125,6 +125,10 @@ extern struct stm_rcc stm_rcc;
#define STM_RCC_PLLCFGR_PLLN 6
#define STM_RCC_PLLCFGR_PLLN_MASK 0x1ff
#define STM_RCC_PLLCFGR_PLLP 16
+#define STM_RCC_PLLCFGR_PLLP_DIV_2 0
+#define STM_RCC_PLLCFGR_PLLP_DIV_4 1
+#define STM_RCC_PLLCFGR_PLLP_DIV_6 2
+#define STM_RCC_PLLCFGR_PLLP_DIV_8 3
#define STM_RCC_PLLCFGR_PLLP_MASK 0x3
#define STM_RCC_PLLCFGR_PLLSRC 22
#define STM_RCC_PLLCFGR_PLLSRC_HSI 0