Lib str710 and reentrant IRQ
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-09-28 5:13 AM
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-09-28 5:05 AM
Posted on September 28, 2005 at 14:05
Hi,
I just noticed that the lib str710 doesn't re enable IRQ in the irq handler : IRQ_to_SYS MACRO MSR cpsr_c,#0x1F ; Switch to SYS mode STMFD sp!,{lr} ; Save the link register. ENDM The 1F mode is the system and user mode but nothing re-enable the interrupts. Is there a good reason for this? Is it possible to re-enable interrupt that way : MSR cpsr_c,#0x1F |I_Bit |F_Bit ; Switch to SYS mode I think yes because the EIC component manage priority. Isn't it. Thanks, LudoOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-09-28 5:08 AM
Posted on September 28, 2005 at 14:08
My mistake,
I confused with the meaning of the I_Bit. Ludo