| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
AN2390 Datasheet(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2390 Datasheet(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 |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |