| поискавой системы для электроныых деталей |
|
UM0991 датащи(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0991 датащи(HTML) 22 Page - STMicroelectronics |
|
22 / 52 page ![]() Description of firmware library UM0991 22/52 Doc ID 17891 Rev 2 Figure 15. STM8L15x standard firmware library architecture 3.1.1 Description of the STM8L15x standard firmware library The stm8l15x.h header file contains the definitions of constants and register structures for all peripherals. Uncomment #define USE_STDPERIPH_DRIVER when using the STM8L15x standard firmware library. It also includes common types definition used by the peripheral drivers. In addition, stm8l15x.h must be included in your main() routine. The stm8l15x_conf.h file of the STM8L15x standard firmware library is used to configure the library by enabling the peripheral functions that are only used by your application (see Figure 16). The peripheral interrupt function file, stm8l15x_it.c, must be modified to include the code to handle the interrupts used by your application. Each peripheral driver is made up of the following files: ● The source code stm8l15x_<periph>.c containing all the software functions required to use the corresponding peripheral. ● The header stm8l15x_<periph>.h including the peripheral function prototypes as well as the variables, constant and structures used within these functions. The flow that must be followed to create your application software using the STM8L15x standard firmware library is described in Section 5.3: Creating your own project. stm8l15x_conf.h stm8l15x_exti.h stm8l15x_iwdg.h stm8l15x_syscfg.h stm8l15x_wfe.h stm8l15x_adc.h stm8l15x_flash.h stm8l15x_lcd.h stm8l15x_tim1.h stm8l15x_wwdg.h stm8l15x_beep.h stm8l15x_gpio.h stm8l15x_pwr.h stm8l15x_tim2.h stm8l15x_clk.h stm8l15x_i2c.h stm8l15x_rst.h stm8l15x_tim3.h stm8l15x_comp.h stm8l15x_irtim.h stm8l15x_rtc.h stm8l15x_tim4.h stm8l15x_dac.h stm8l15x_itc.h stm8l15x_spi.h stm8l15x_usart.h stm8l15x_dma.h stm8l15x.h main.c STM8L152 resources Register definition Memory mapping type definition Configures the library Application layer |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |