cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt

ezrab
Associate II
Posted on October 14, 2010 at 16:17

i understand that enabling the intrrupts is done while using the NVIC->ISER register but where can i find exactly how.

what i meas is i could not find the description for each bit which bits i need to change in order to Enable the TIM2 gloabal Interrupt for example and the uarts and so on.

thanks

1 REPLY 1
joa
Associate II
Posted on October 14, 2010 at 17:20

I find it easier to use the in-lined functions from core_cm3.h and the definitions in stm32f10x.h than bit-fiddling when it comes to NVIC. For example:

   NVIC_EnableIRQ(USART1_IRQn);