EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #2 background imageLoading...
Page #2 background image
STM32F30xx Standard Peripheral Library
UM1581
2/584
DocID023800 Rev 1
Contents
1 STM32F30xx Standard Peripheral Library ...................... 14
1.1 Coding rules and conventions ............................................. 14
1.1.1 Acronyms ....................................................................................... 14
1.1.2 Naming conventions ...................................................................... 14
1.1.3 Coding rules .................................................................................. 15
1.1.4 Bit-Banding .................................................................................... 18
1.1.5 Run-time checking ......................................................................... 19
1.1.6 MISRA-C 2004 compliance ........................................................... 21
1.2 Architecture ......................................................................... 23
1.3 Package description ............................................................ 24
1.3.1 Library folder structure ................................................................... 24
1.3.2 Project folder ................................................................................. 27
1.3.3 Utilities folder ................................................................................. 29
1.4 Supported devices and development tools .......................... 31
1.4.1 Supported devices ......................................................................... 31
1.4.2 Supported development tools and compilers ................................ 31
2 How to use and customize the library ............................ 32
2.1 Library configuration parameters ......................................... 32
2.2 Library programming model ................................................. 34
2.3 Peripheral initialization and configuration ............................ 35
2.4 How to run your first example .............................................. 36
2.4.1 Prerequisites .................................................................................. 36
2.4.2 Run your first example ................................................................... 37
2.4.3 Run a peripheral example ............................................................. 38
2.5 STM32F30/31xx programming model using the library ....... 39
2.6 How to develop your first application ................................... 41
2.6.1 Starting point ................................................................................. 41
2.6.2 Library configuration parameters ................................................... 42
2.6.3 system_stm32f30x.c ...................................................................... 42
2.6.4 main.c ............................................................................................ 43
2.6.5 stm32f30x_it.c ............................................................................... 44
3 Analog-to-digital converter (ADC) ................................... 46
3.1 ADC Firmware driver registers structures ............................ 46
3.1.1 ADC_Common_TypeDef ............................................................... 46
3.1.2 ADC_CommonInitTypeDef ............................................................ 46

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals