| 전자부품 데이터시트 검색엔진 |
|
AN2390 데이터시트(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2390 데이터시트(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 |
|
링크 URL |
| 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 |