| 数据搜索系统,热门电子元器件搜索 |
|
UM1561 数据表(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1561 数据表(HTML) 21 Page - STMicroelectronics |
|
21 / 39 page ![]() UM1561 STM32F1xx MCU peripherals configuration Doc ID 023556 Rev 1 21/39 7 STM32F1xx MCU peripherals configuration hw_config.c: The .c file defines all functions useful to init the internal and external peripherals, in particular: ● RCC_Config(): configures main system clocks & power; ● NVIC_Configuration(): configures NVIC and vector table base location; ● GPIO_Configuration(): configures the different GPIO ports; ● SysTick_Config(): configure a SysTick Base time to 1 ms; ● InitControl(..): initializes the parameters for the control algorithm (open/closed loop); ● DAC_Init(): configures DAC peripheral used only for debug; ● STM3210E_LCD_Init(): initializes the LCD. void SetSystem(void) { /* RCC configuration */ RCC_Config(); /*Interrupt vector*/ NVIC_Configuration(); /*GPIO Conf....*/ GPIO_Configuration(); /* SysTick for delay function*/ SysTick_Config(); /*Init 250W Control algorithm*/ InitControl(ClosedLoop); //Init DAC Control DAC_Init(DAC_COUNTER, DAC_ADDRESS); /*LCD int */ STM3210E_LCD_Init(); /* Clear the LCD */ LCD_Clear(White); /*Photovoltaic data transfer Init*/ PHOTOVSDK_Init(); } |
|
链接网址 |
| 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 |