2013-06-15 01:18 PM
I am trying to configure the NVIC for the first time.
In looking online for help, most project reference these functions: NVIC_InitTypeDef NVIC_InitStructure; /* Enable the TIM2 gloabal Interrupt */ NVIC_InitStructure.NVIC_IRQChannel = TIM2_IRQn; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0; NVIC_InitStructure.NVIC_IRQChannelSubPriority = 1; NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; NVIC_Init(&NVIC_InitStructure); I cannot find the library with this structure and methods? Is it available on the ST site? Can someone point this out please. Thanks.2013-06-15 02:11 PM
For what part, and with which tool chain?
STM32F4xx_DSP_StdPeriph_Lib_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\src\misc.c STM32F4xx_DSP_StdPeriph_Lib_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\inc\misc.h For major tool chains examine the project templates which use path to the libraries, and have top level include files STM32F4xx_DSP_StdPeriph_Lib_V1.1.0\Project\STM32F4xx_StdPeriph_Templates\MDK-ARM\Project.uvproj STM32F4xx_DSP_StdPeriph_Lib_V1.1.0\Project\STM32F4xx_StdPeriph_Templates\EWARM\Project.eww STM32F4xx_DSP_StdPeriph_Lib_V1.1.0\Project\STM32F4xx_StdPeriph_Templates\stm32f4xx_conf.h For the firmware Google your part#, go to Design Resources tab, Related Tools and Softwarehttp://www.st.com/web/catalog/mmc/FM141/SC1169/SS1577/LN11/PF252136
http://www.st.com/web/en/catalog/tools/PF257901