| Moteur de recherche de fiches techniques de composants électroniques |
|
AN2390 Fiches technique(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2390 Fiches technique(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 |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |