MG32F10x Standard Peripherals Firmware Library

宏定义
Library_configuration_section
CMSIS » Mg32f10x

## 宏定义
#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 | __MG32F10x_STDPERIPH_VERSION_MAIN (0x00)
| MG32F10x Standard Peripheral Library version number 更多...
#define | __MG32F10x_STDPERIPH_VERSION_SUB1 (0x01)
#define | __MG32F10x_STDPERIPH_VERSION_SUB2 (0x0A)
#define | __MG32F10x_STDPERIPH_VERSION_RC (0x00)
#define | __MG32F10x_STDPERIPH_VERSION

## 详细描述

## 宏定义说明

## ◆ __MG32F10x_STDPERIPH_VERSION

#define __MG32F10x_STDPERIPH_VERSION

值:
( (__MG32F10x_STDPERIPH_VERSION_MAIN << 24)\
|(__MG32F10x_STDPERIPH_VERSION_SUB1 << 16)\
|(__MG32F10x_STDPERIPH_VERSION_SUB2 << 8)\
|(__MG32F10x_STDPERIPH_VERSION_RC))
__MG32F10x_STDPERIPH_VERSION_SUB1
#define __MG32F10x_STDPERIPH_VERSION_SUB1
Definition: mg32f10x.h:73
__MG32F10x_STDPERIPH_VERSION_RC
#define __MG32F10x_STDPERIPH_VERSION_RC
Definition: mg32f10x.h:75
__MG32F10x_STDPERIPH_VERSION_SUB2
#define __MG32F10x_STDPERIPH_VERSION_SUB2
Definition: mg32f10x.h:74
__MG32F10x_STDPERIPH_VERSION_MAIN
#define __MG32F10x_STDPERIPH_VERSION_MAIN
MG32F10x Standard Peripheral Library version number
Definition: mg32f10x.h:72

## ◆ __MG32F10x_STDPERIPH_VERSION_MAIN

#define __MG32F10x_STDPERIPH_VERSION_MAIN (0x00)

MG32F10x Standard Peripheral Library version number

[31:24] main version

## ◆ __MG32F10x_STDPERIPH_VERSION_RC

#define __MG32F10x_STDPERIPH_VERSION_RC (0x00)

[7:0] release candidate

## ◆ __MG32F10x_STDPERIPH_VERSION_SUB1

#define __MG32F10x_STDPERIPH_VERSION_SUB1 (0x01)

[23:16] sub1 version

## ◆ __MG32F10x_STDPERIPH_VERSION_SUB2

#define __MG32F10x_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