2011-06-28 12:38 AM
Hi All,
Can anyone explain the difference between the prem and sub interupt priorities. For example what TIMER_1_IRQ_PREM_PRI and TIMER_1_IRQ_SUB_PRI. -- Thanks #stm32-c-embedded2011-06-28 03:19 AM
Pre-emptive: an interrupt source having higher pre-emptive priority would interrupt the service routine being processing a previously occured interrupt with a lower pre-priority. The higher interrupt having been processed, the CPU returns to the interrupted service routine of the lower priority.
Sub: should two or more interrupts having the same pre-emptive priority occure simultaneously (or be pending), an interrupt with the higher sub-priority would be serviced first, and they cannot interrupt each other. Remember: the lower the value of the priority, the higher it is; the highest (user) priority is '0', the lowest - '15'.2011-06-28 12:37 PM
https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/TIM2 encoder mode - please help !&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=554
if the link fails to open search for mehmet karakaya and click on the link for this titleTIM2 encoder mode - please help
and look clive's answer2011-06-29 07:58 AM
@@ ColdWeather & Mehmet
Guys,
Would you pls use ''Enter'' key on your keyboards more often?
Reading such looooooong text lines is really annoying...
Regards
Jacek
2011-06-29 01:23 PM
Hi, Jacek!
Got 50'' PC monitor? Make your window narrower ;).