You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RISC-V SW Dev
Hi,
I'm using Sifive's E21 processor. I registered an interrupt vector handler using metal_interrupt_register_vector_handler() function provided by freedom e21_sdk. But, I want to unregister this handler after some time and register a new handler for the same interrupt pin. I don't find any function to unregister the existing handler in e21_sdk. Can someone help me understand how to do this? If any sequence is required or if I should write my own function to unregister?
Thanks and regards,
Aravind.
Kristof Kiekens
unread,
May 30, 2024, 2:15:00 AMMay 30
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RISC-V SW Dev, aravindku...@vconnectech.in
Replace it with a handler that doesn't do anything. An empty function.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Kristof Kiekens, RISC-V SW Dev
Do I need to disable it's associated interrupts before replacing the handler? Is there any specific set of actions that are to be performed like disabling the vector handler or the interrupt etc.,?