1 /* Define to prevent recursive inclusion -------------------------------------*/ 2 #ifndef __air_RCC_EX_H 3 #define __air_RCC_EX_H 4 5 #ifdef __cplusplus 6 extern "C" { 7 #endif 8 9 /* Includes ------------------------------------------------------------------*/ 10 #include "air32f10x.h" 11 12 typedef enum 13 { 14 FLASH_Div_0 = 0, 15 FLASH_Div_2 = 1, 16 FLASH_Div_4 = 2, 17 FLASH_Div_6 = 3, 18 FLASH_Div_8 = 4, 19 FLASH_Div_16 = 5, 20 }FlashClkDiv; 21 22 uint32_t AIR_RCC_PLLConfig(uint32_t RCC_PLLSource, uint32_t RCC_PLLMul, FlashClkDiv Latency); 23 24 #ifdef __cplusplus 25 } 26 #endif 27 28 #endif 29 30