Library_configuration_section
[Stm32f10x]

Defines

#define __STM32F10X_STDPERIPH_VERSION
#define __STM32F10X_STDPERIPH_VERSION_MAIN   (0x03)
 STM32F10x Standard Peripheral Library version number.
#define __STM32F10X_STDPERIPH_VERSION_SUB1   (0x04)
#define __STM32F10X_STDPERIPH_VERSION_SUB2   (0x00)
#define HSE_STARTUP_TIMEOUT   ((uint16_t)0x0500)
 In the following line adjust the External High Speed oscillator (HSE) Startup Timeout value.
#define HSE_VALUE   ((uint32_t)8000000)
 Comment the line below if you will not use the peripherals drivers.
#define HSI_VALUE   ((uint32_t)8000000)

Define Documentation

#define __STM32F10X_STDPERIPH_VERSION
#define __STM32F10X_STDPERIPH_VERSION_MAIN   (0x03)

STM32F10x Standard Peripheral Library version number.

[31:16] STM32F10x Standard Peripheral Library main version

Definition at line 119 of file stm32f10x.h.

#define __STM32F10X_STDPERIPH_VERSION_SUB1   (0x04)

[15:8] STM32F10x Standard Peripheral Library sub1 version

Definition at line 120 of file stm32f10x.h.

#define __STM32F10X_STDPERIPH_VERSION_SUB2   (0x00)

[7:0] STM32F10x Standard Peripheral Library sub2 version

Definition at line 121 of file stm32f10x.h.

#define HSE_STARTUP_TIMEOUT   ((uint16_t)0x0500)

In the following line adjust the External High Speed oscillator (HSE) Startup Timeout value.

Time out for HSE start up

Definition at line 112 of file stm32f10x.h.

Referenced by RCC_WaitForHSEStartUp(), SetSysClockTo56(), and SetSysClockTo72().

#define HSE_VALUE   ((uint32_t)8000000)

Comment the line below if you will not use the peripherals drivers.

< STM32F10X_LD: STM32 Low density devices

< STM32F10X_LD_VL: STM32 Low density Value Line devices

< STM32F10X_MD: STM32 Medium density devices

< STM32F10X_MD_VL: STM32 Medium density Value Line devices

< STM32F10X_HD: STM32 High density devices

< STM32F10X_HD_VL: STM32 High density value line devices

< STM32F10X_XL: STM32 XL-density devices

< STM32F10X_CL: STM32 Connectivity line devices In this case, these drivers will not be included and the application code will be based on direct access to peripherals registers In the following line adjust the value of External High Speed oscillator (HSE) used in your application Tip: To avoid modifying this file each time you need to use different HSE, you can define the HSE value in your toolchain compiler preprocessor. Value of the External oscillator in Hz

Definition at line 103 of file stm32f10x.h.

Referenced by RCC_GetClocksFreq(), and SystemCoreClockUpdate().

#define HSI_VALUE   ((uint32_t)8000000)

Value of the Internal oscillator in Hz

Definition at line 114 of file stm32f10x.h.

Referenced by RCC_GetClocksFreq(), and SystemCoreClockUpdate().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32