Defines | |
#define | STM32F2XX |
#define | HSE_VALUE ((uint32_t)25000000) |
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)16000000) |
#define | __STM32F2XX_STDPERIPH_VERSION_MAIN (0x01) |
STM32F2Xxx Standard Peripherals Library version number V1.0.0. | |
#define | __STM32F2XX_STDPERIPH_VERSION_SUB1 (0x00) |
#define | __STM32F2XX_STDPERIPH_VERSION_SUB2 (0x00) |
#define | __STM32F2XX_STDPERIPH_VERSION_RC (0x00) |
#define | __STM32F2XX_STDPERIPH_VERSION |
#define | STM32F4XX |
#define | HSE_VALUE ((uint32_t)25000000) |
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)16000000) |
#define | __STM32F4XX_STDPERIPH_VERSION_MAIN (0x01) |
STM32F4XX Standard Peripherals Library version number V1.0.0. | |
#define | __STM32F4XX_STDPERIPH_VERSION_SUB1 (0x00) |
#define | __STM32F4XX_STDPERIPH_VERSION_SUB2 (0x00) |
#define | __STM32F4XX_STDPERIPH_VERSION_RC (0x00) |
#define | __STM32F4XX_STDPERIPH_VERSION |
#define | STM32L1XX_HD |
#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_STARTUP_TIMEOUT ((uint16_t)0x0500) |
In the following line adjust the Internal High Speed oscillator (HSI) Startup Timeout value. | |
#define | HSI_VALUE ((uint32_t)16000000) |
#define | LSI_VALUE ((uint32_t)37000) |
#define | LSE_VALUE ((uint32_t)32768) |
#define | __STM32L1XX_STDPERIPH_VERSION_MAIN (0x01) |
STM32L1xx Standard Peripheral Library version number V1.1.1. | |
#define | __STM32L1XX_STDPERIPH_VERSION_SUB1 (0x01) |
#define | __STM32L1XX_STDPERIPH_VERSION_SUB2 (0x01) |
#define | __STM32L1XX_STDPERIPH_VERSION_RC (0x00) |
#define | __STM32L1XX_STDPERIPH_VERSION |
#define STM32F2XX |
#define HSE_VALUE ((uint32_t)25000000) |
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.
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
#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
#define __STM32F2XX_STDPERIPH_VERSION_MAIN (0x01) |
STM32F2Xxx Standard Peripherals Library version number V1.0.0.
[31:24] main version
#define __STM32F2XX_STDPERIPH_VERSION_SUB1 (0x00) |
[23:16] sub1 version
#define __STM32F2XX_STDPERIPH_VERSION_SUB2 (0x00) |
[15:8] sub2 version
#define __STM32F2XX_STDPERIPH_VERSION_RC (0x00) |
[7:0] release candidate
#define __STM32F2XX_STDPERIPH_VERSION |
((__STM32F2XX_STDPERIPH_VERSION_MAIN << 24)\ |(__STM32F2XX_STDPERIPH_VERSION_SUB1 << 16)\ |(__STM32F2XX_STDPERIPH_VERSION_SUB2 << 8)\ |(__STM32F2XX_STDPERIPH_VERSION_RC))
#define STM32F4XX |
#define HSE_VALUE ((uint32_t)25000000) |
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.
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
#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
#define __STM32F4XX_STDPERIPH_VERSION_MAIN (0x01) |
STM32F4XX Standard Peripherals Library version number V1.0.0.
[31:24] main version
#define __STM32F4XX_STDPERIPH_VERSION_SUB1 (0x00) |
[23:16] sub1 version
#define __STM32F4XX_STDPERIPH_VERSION_SUB2 (0x00) |
[15:8] sub2 version
#define __STM32F4XX_STDPERIPH_VERSION_RC (0x00) |
[7:0] release candidate
#define __STM32F4XX_STDPERIPH_VERSION |
((__STM32F4XX_STDPERIPH_VERSION_MAIN << 24)\ |(__STM32F4XX_STDPERIPH_VERSION_SUB1 << 16)\ |(__STM32F4XX_STDPERIPH_VERSION_SUB2 << 8)\ |(__STM32F4XX_STDPERIPH_VERSION_RC))
#define STM32L1XX_HD |
< STM32L1XX_MD: STM32L Ultra Low Power Medium-density devices
< STM32L1XX_MDP: STM32L Ultra Low Power Medium-density Plus devices STM32L1XX_HD: STM32L Ultra Low Power High-density devices
#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.
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
#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
#define HSI_STARTUP_TIMEOUT ((uint16_t)0x0500) |
In the following line adjust the Internal High Speed oscillator (HSI) Startup Timeout value.
Time out for HSI start up
#define HSI_VALUE ((uint32_t)16000000) |
Value of the Internal High Speed oscillator in Hz. The real value may vary depending on the variations in voltage and temperature.
#define LSI_VALUE ((uint32_t)37000) |
Value of the Internal Low Speed oscillator in Hz The real value may vary depending on the variations in voltage and temperature.
#define __STM32L1XX_STDPERIPH_VERSION_MAIN (0x01) |
STM32L1xx Standard Peripheral Library version number V1.1.1.
[31:24] main version
#define __STM32L1XX_STDPERIPH_VERSION_SUB1 (0x01) |
[23:16] sub1 version
#define __STM32L1XX_STDPERIPH_VERSION_SUB2 (0x01) |
[15:8] sub2 version
#define __STM32L1XX_STDPERIPH_VERSION_RC (0x00) |
[7:0] release candidate
#define __STM32L1XX_STDPERIPH_VERSION |
( (__STM32L1XX_STDPERIPH_VERSION_MAIN << 24)\ |(__STM32L1XX_STDPERIPH_VERSION_SUB1 << 16)\ |(__STM32L1XX_STDPERIPH_VERSION_SUB2 << 8)\ |(__STM32L1XX_STDPERIPH_VERSION_RC))