| Electronic Components Datasheet Search |
|
UM1561 Datasheet(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1561 Datasheet(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(); } |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |