STM32F10x Standard Peripherals Library  3.5.0
Library_configuration_section

Defines

#define HSE_VALUE   ((uint32_t)8000000)
 Comment the line below if you will not use the peripherals drivers. In this case, these drivers will not be included and the application code will be based on direct access to peripherals registers.
#define HSE_STARTUP_TIMEOUT   ((uint16_t)0x0500)
 In the following line adjust the External High Speed oscillator (HSE) Startup Timeout value.
#define HSI_VALUE   ((uint32_t)8000000)
#define __STM32F10X_STDPERIPH_VERSION_MAIN   (0x03)
 STM32F10x Standard Peripheral Library version number.
#define __STM32F10X_STDPERIPH_VERSION_SUB1   (0x05)
#define __STM32F10X_STDPERIPH_VERSION_SUB2   (0x00)
#define __STM32F10X_STDPERIPH_VERSION_RC   (0x00)
#define __STM32F10X_STDPERIPH_VERSION

Define Documentation

#define __STM32F10X_STDPERIPH_VERSION
#define __STM32F10X_STDPERIPH_VERSION_MAIN   (0x03)

STM32F10x Standard Peripheral Library version number.

[31:24] main version

Definition at line 135 of file stm32f10x.h.

#define __STM32F10X_STDPERIPH_VERSION_RC   (0x00)

[7:0] release candidate

Definition at line 138 of file stm32f10x.h.

#define __STM32F10X_STDPERIPH_VERSION_SUB1   (0x05)

[23:16] sub1 version

Definition at line 136 of file stm32f10x.h.

#define __STM32F10X_STDPERIPH_VERSION_SUB2   (0x00)

[15:8] sub2 version

Definition at line 137 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 128 of file stm32f10x.h.

#define HSE_VALUE   ((uint32_t)8000000)

Comment the line below if you will not use the peripherals drivers. In this case, these drivers will not be included and the application code will be based on direct access to peripherals registers.

< 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 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 119 of file stm32f10x.h.

#define HSI_VALUE   ((uint32_t)8000000)

Value of the Internal oscillator in Hz

Definition at line 130 of file stm32f10x.h.