stm32f7: rcc: intial stubs support

Reviewed-by: Karl Palsson <karlp@tweak.net.au>
(Added defines and used them)
This commit is contained in:
Sync
2015-10-22 13:29:43 +02:00
committed by Karl Palsson
parent 7ee1d948e9
commit 3fc0c9d001
3 changed files with 15 additions and 1 deletions

View File

@@ -159,6 +159,7 @@
/* SWS: System clock switch status */
#define RCC_CFGR_SWS_SHIFT 2
#define RCC_CFGR_SWS_MASK 0x3
#define RCC_CFGR_SWS_HSI 0x0
#define RCC_CFGR_SWS_HSE 0x1
#define RCC_CFGR_SWS_PLL 0x2