Software Interrupt Example
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-05-17 3:50 AM
HI, not much experice with Cortex Devices,
Is there any Software Interrupt Example, for M0/M0+ devices.
I am using STM32 Cube's HAL structure, with a F091 Nucleo board.
Just found a void SVC_Handler(void) in the stm32f0xx_it.c,
I don't know to implement this, any idea?
Thanks!
#stm32f0-exti-swi #svcSolved! Go to Solution.
- Labels:
-
STM32F0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-05-17 5:50 AM
Can't you just set an IRQ in the NVIC, will look for a specific example
SVC I'd assume you just write handler code, it's a C function. Review Cortex-M0 docs for specific insight
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-05-17 5:50 AM
Can't you just set an IRQ in the NVIC, will look for a specific example
SVC I'd assume you just write handler code, it's a C function. Review Cortex-M0 docs for specific insight
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-05-18 3:03 PM
HAL_NVIC_SetPendingIRQ(USART1_IRQn);
HAL_NVIC_ClearPendingIRQ(USART1_IRQn);
Up vote any posts that you find helpful, it shows what's working..
