AnsweredAssumed Answered

Where is the NVIC_InitStructure?

Question asked by baumgartner.chris on Jun 15, 2013
Latest reply on Jun 15, 2013 by Clive One
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;

I cannot find the library with this structure and methods?

Is it available on the ST site?  Can someone point this out please.