| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN2390 bảng dữ liệu(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2390 bảng dữ liệu(HTML) 37 Page - STMicroelectronics |
|
37 / 42 page ![]() AN2390 37/42 Appendix A A.1 Source file organization The code is written in ‘C’ language. The Code Size is approximately 3 Kbytes. The source code consists of 3 source files and 3 header files as listed below: ● main.c: it consists of the main subroutine. ● BC_func.c: These files contain the definitions of all the functions used in the main subroutine. ● Interrupt_vector.c: it consists of the interrupt vector mapping files. ● BC_func.h: it consists of the declarations of all the global variables and the functions used in the main. ● ST7lib_config.h: It is the configuration file and also consists of the #define statements for assembly language instructions like ‘NOP’ etc. ● st7lites2_5_reg.h: It contains the declarations of the hardware registers. This modular organization makes it easier to perform minor modifications to the software. Table 10. Examples of minor software modifications If you want to change… …only modify… Voltage thresholds BC_Func.h PWM frequency State update frequency Timing thresholds I/O Configuration BC_InititalizePeripheral() in BC_Func.c State diagram BC_SlotMonitor() function in BC_Func.c State definitions Transition conditions Transition priority |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |