| 数据搜索系统,热门电子元器件搜索 |
|
UM0097 数据表(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 数据表(HTML) 13 Page - STMicroelectronics |
|
13 / 229 page ![]() UM0097 Firmware library 13/229 Figure 2 shows the firmware library architecture and file inclusion relationships. Figure 2. Firmware library file structure For each peripheral a source code file 71x_ppp.c and a header file 71x_ppp.h are provided. ● the 71x_ppp.c file contains all the firmware functions required to use the peripheral ● the 71x_ppp.h file contains all the functions prototypes, data structures, data types and enumeration needed. It contains also the inline functions code, if any. 71x_it.c Peripheral interrupt functions file. It is modified by you by including the interrupt functions code used in your application. In case of multiple interrupt requests mapped on the same interrupt vector, the function performs a polling on interrupt flags contained inside the peripheral in order to establish the exact source of the interrupt. The names of these functions are already provided in the firmware library. 71x_it.h Header file including the definition of interrupt functions. 71x_lib.c Debug mode initialization file. It includes the definition of variable pointers pointing each one to the first address of the dedicated peripheral and the definition of one function called when you choose to enter in debug mode. This function initializes the defined pointers. 71x_lib.h Header file including all the peripherals’ header files. It is the unique file to be included in the user application to interface with the library. 71x_map.h This file implements memory mapping and physical registers address definition for both development and debug modes. This file is supplied with all peripherals. 71x_type.h Common declarations file. It includes common types and constants which are used by all peripheral drivers. 71x_ppp.c Driver source code file of the PPP peripheral written in C language. 71x_ppp.h Header file of the PPP peripheral. It includes the functions prototypes, data structures and enumerations used by the driver and also available for the user. Table 2. Source/header file list (continued) Filename Description Software Layer Hardware Layer Application Layer application.c 71x_it.c 71x_lib.h 71x_map.h ppp.h Peripheral X 71x_lib.c 71x_type.h 71x_it.h ppp.c 71x_conf.h |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |