WB32F10x Standard Peripherals Firmware Library

宏定义
Library_configuration_section
CMSIS » Wb32f10x

## 宏定义
#define | HSE_VALUE (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 (48000)
| In the following line adjust the External High Speed oscillator (HSE) Startup Timeout value 更多...
#define | __WB32F10x_STDPERIPH_VERSION_MAIN (0x00)
| WB32F10x Standard Peripheral Library version number 更多...
#define | __WB32F10x_STDPERIPH_VERSION_SUB1 (0x01)
#define | __WB32F10x_STDPERIPH_VERSION_SUB2 (0x0A)
#define | __WB32F10x_STDPERIPH_VERSION_RC (0x00)
#define | __WB32F10x_STDPERIPH_VERSION

## 详细描述

## 宏定义说明

## ◆ __WB32F10x_STDPERIPH_VERSION

#define __WB32F10x_STDPERIPH_VERSION

值:
( (__WB32F10x_STDPERIPH_VERSION_MAIN << 24)\
|(__WB32F10x_STDPERIPH_VERSION_SUB1 << 16)\
|(__WB32F10x_STDPERIPH_VERSION_SUB2 << 8)\
|(__WB32F10x_STDPERIPH_VERSION_RC))
__WB32F10x_STDPERIPH_VERSION_SUB1
#define __WB32F10x_STDPERIPH_VERSION_SUB1
Definition: wb32f10x.h:73
__WB32F10x_STDPERIPH_VERSION_RC
#define __WB32F10x_STDPERIPH_VERSION_RC
Definition: wb32f10x.h:75
__WB32F10x_STDPERIPH_VERSION_SUB2
#define __WB32F10x_STDPERIPH_VERSION_SUB2
Definition: wb32f10x.h:74
__WB32F10x_STDPERIPH_VERSION_MAIN
#define __WB32F10x_STDPERIPH_VERSION_MAIN
WB32F10x Standard Peripheral Library version number
Definition: wb32f10x.h:72

## ◆ __WB32F10x_STDPERIPH_VERSION_MAIN

#define __WB32F10x_STDPERIPH_VERSION_MAIN (0x00)

WB32F10x Standard Peripheral Library version number

[31:24] main version

## ◆ __WB32F10x_STDPERIPH_VERSION_RC

#define __WB32F10x_STDPERIPH_VERSION_RC (0x00)

[7:0] release candidate

## ◆ __WB32F10x_STDPERIPH_VERSION_SUB1

#define __WB32F10x_STDPERIPH_VERSION_SUB1 (0x01)

[23:16] sub1 version

## ◆ __WB32F10x_STDPERIPH_VERSION_SUB2

#define __WB32F10x_STDPERIPH_VERSION_SUB2 (0x0A)

[15:8] sub2 version

## ◆ HSE_STARTUP_TIMEOUT

#define HSE_STARTUP_TIMEOUT (48000)

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

Time out for HSE start up

## ◆ HSE_VALUE

#define HSE_VALUE (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