| Electronic Components Datasheet Search |
|
UM0097 Datasheet(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 Datasheet(HTML) 12 Page - STMicroelectronics |
|
12 / 229 page ![]() Firmware library UM0097 12/229 2.1.2 Library This directory contains all the subdirectories and files that form the core of the library: ● inc sub-directory contains the firmware library header files that do not need to be modified by the user: – 71x_type.h: Contains the common data types and enumeration used in all other files – 71x_map.h: Contains the peripherals memory mapping and registers data structures – 71x_lib.h: Main header file including all other headers – 71x_ppp.h (one header file per peripheral): contains the function prototypes, data structures and enumeration ● src sub-directory contains the firmware library source files that do not need to be modified by the user: – 71x_ppp.c (one source file per peripheral): contains the function bodies of each peripheral Note: All library files are coded in Strict ANSI-C and are independent from any firmware toolchain. 2.1.3 Project This directory contains a standard template project program that compiles all library files and also all the user modifiable files needed to create a new project: ● 71x_conf.h: The configuration header file with all peripherals defined by default ● 71x_it.c: The source file containing the interrupt handlers (the function bodies are empty in this template) ● 71x_it.h: header file including all interrupt handlers prototypes ● main.c: The main program body ● EWARM, RVDK, RVMDK, RIDE: For each toolchain usage, refer to Readme.txt file available in the same sub-directory 2.2 File description Several files are used in the firmware library. Table 2 enumerates and describes the different files used in the firmware library. Table 2. Source/header file list Filename Description 71x_conf.h Parameter configuration file. It should be modified by the user to specify several parameters to interface with the library before running any application. You can enable or disable peripherals if you use the template and you can also change the value of your external crystal oscillator value. Using this file you can select to compile the library in DEBUG or RELEASE mode. main.c The main example program body. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |