- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to use the niosii interrupt service program,where are there example???
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please see the count_binary example. It registers an interrupt handler for the buttons which change the way it counts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i use this example but the interupt can not responde
when i press the button but the led can not change- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please tell a little bit more,
what version of quartus, nios, hardware are you using can you start the proram in debugger ? can you set a breakpoint in the interrupt ? does it enter the interrupt routine ? static void handle_button_press(alt_u8 type, FILE *lcd) { /* Button press actions while counting. */ if (type == 'c') // <-- set breakpoint here
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