uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
System_clock_source

Macros

#define RCC_SYSCLKSource_HSI   ((uint32_t)0x00000000)
 
#define RCC_SYSCLKSource_HSE   ((uint32_t)0x00000001)
 
#define RCC_SYSCLKSource_PLLCLK   ((uint32_t)0x00000002)
 
#define IS_RCC_SYSCLK_SOURCE(SOURCE)
 

Detailed Description

Macro Definition Documentation

#define IS_RCC_SYSCLK_SOURCE (   SOURCE)
Value:
(((SOURCE) == RCC_SYSCLKSource_HSI) || \
((SOURCE) == RCC_SYSCLKSource_HSE) || \
((SOURCE) == RCC_SYSCLKSource_PLLCLK))

Definition at line 292 of file stm32f10x_rcc.h.

#define RCC_SYSCLKSource_HSE   ((uint32_t)0x00000001)

Definition at line 290 of file stm32f10x_rcc.h.

#define RCC_SYSCLKSource_HSI   ((uint32_t)0x00000000)

Definition at line 289 of file stm32f10x_rcc.h.

#define RCC_SYSCLKSource_PLLCLK   ((uint32_t)0x00000002)

Definition at line 291 of file stm32f10x_rcc.h.