Interrupt
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-10-14 7:17 AM
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
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-10-14 8:20 AM
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);