- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I encountered a weird issue that I enabled one PIO interrupt by using: alt_irq_register(STROBE_PIO_IRQ, edge_capture_ptr, command_receive_interrupt); STROBE_PIO_IRQ equals to 3 after calling alt_irq_register, the ienable register doesn't change its value to enable STROBE_PIO_IRQ. So, I tried to find what was the problem, then I step into alt_irq_register routine, and found the problem, see the following assembly code: wrctl ienable, r2 before excuting this instruction, I can see that the value stored in r2 register is 0x1f and ienable = 0x17, but after excuting this instruction the ienable remained the original value of 0x17. It's a very weird problem, anyone help? best regards, DavidLink Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page