discoverpixy
Macros
Library_configuration_section
Collaboration diagram for Library_configuration_section:

Macros

#define STM32F40_41xxx
 
#define USE_STDPERIPH_DRIVER
 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. More...
 
#define HSE_VALUE   ((uint32_t)8000000)
 In the following line adjust the value of External High Speed oscillator (HSE) used in your application. More...
 
#define HSE_STARTUP_TIMEOUT   ((uint16_t)0x05000)
 In the following line adjust the External High Speed oscillator (HSE) Startup Timeout value. More...
 
#define HSI_VALUE   ((uint32_t)16000000)
 
#define __STM32F4XX_STDPERIPH_VERSION_MAIN   (0x01)
 STM32F4XX Standard Peripherals Library version number V1.4.0. More...
 
#define __STM32F4XX_STDPERIPH_VERSION_SUB1   (0x04)
 
#define __STM32F4XX_STDPERIPH_VERSION_SUB2   (0x00)
 
#define __STM32F4XX_STDPERIPH_VERSION_RC   (0x00)
 
#define __STM32F4XX_STDPERIPH_VERSION
 

Detailed Description

Macro Definition Documentation

#define __STM32F4XX_STDPERIPH_VERSION
Value:
#define __STM32F4XX_STDPERIPH_VERSION_SUB2
Definition: stm32f4xx.h:146
#define __STM32F4XX_STDPERIPH_VERSION_RC
Definition: stm32f4xx.h:147
#define __STM32F4XX_STDPERIPH_VERSION_SUB1
Definition: stm32f4xx.h:145
#define __STM32F4XX_STDPERIPH_VERSION_MAIN
STM32F4XX Standard Peripherals Library version number V1.4.0.
Definition: stm32f4xx.h:144
#define __STM32F4XX_STDPERIPH_VERSION_MAIN   (0x01)

STM32F4XX Standard Peripherals Library version number V1.4.0.

[31:24] main version

#define __STM32F4XX_STDPERIPH_VERSION_RC   (0x00)

[7:0] release candidate

#define __STM32F4XX_STDPERIPH_VERSION_SUB1   (0x04)

[23:16] sub1 version

#define __STM32F4XX_STDPERIPH_VERSION_SUB2   (0x00)

[15:8] sub2 version

#define HSE_STARTUP_TIMEOUT   ((uint16_t)0x05000)

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

Time out for HSE start up

#define HSE_VALUE   ((uint32_t)8000000)

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 HSI_VALUE   ((uint32_t)16000000)

Value of the Internal oscillator in Hz

#define STM32F40_41xxx

STM32F405RG, STM32F405VG, STM32F405ZG, STM32F415RG, STM32F415VG, STM32F415ZG, STM32F407VG, STM32F407VE, STM32F407ZG, STM32F407ZE, STM32F407IG, STM32F407IE, STM32F417VG, STM32F417VE, STM32F417ZG, STM32F417ZE, STM32F417IG and STM32F417IE Devices

#define USE_STDPERIPH_DRIVER

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.

< STM32F427VG, STM32F427VI, STM32F427ZG, STM32F427ZI, STM32F427IG, STM32F427II, STM32F437VG, STM32F437VI, STM32F437ZG, STM32F437ZI, STM32F437IG, STM32F437II Devices

< STM32F429VG, STM32F429VI, STM32F429ZG, STM32F429ZI, STM32F429BG, STM32F429BI, STM32F429NG, STM32F439NI, STM32F429IG, STM32F429II, STM32F439VG, STM32F439VI, STM32F439ZG, STM32F439ZI, STM32F439BG, STM32F439BI, STM32F439NG, STM32F439NI, STM32F439IG and STM32F439II Devices

< STM32F401CB, STM32F401CC, STM32F401RB, STM32F401RC, STM32F401VB, STM32F401VC STM32F401CD, STM32F401RD, STM32F401VD, STM32F401CExx, STM32F401RE and STM32F401VE Devices

< STM32F411CD, STM32F411RD, STM32F411VD, STM32F411CE, STM32F411RE and STM32F411VE Devices