Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Queries related to InterruptAttach & InterruptAttachEvent: (1 Item)
   
Queries related to InterruptAttach & InterruptAttachEvent  
If I register an interrupt handler using InterruptAttach/InterruptAttachEvent calls to each of the SDMA channels 
whenever they are created, is it necessary for me to use InterruptWait seperately for each channel ? 
If I can attach multiple ISR handlers(or same ISR for each channel) one for each channel In the main thread how will I 
get to know for which channel interrupt has been generated(so that InterruptWait got unblocked) ?

Also if I want to attach an ISR for a DMA channel and the thread dies & later on every thing will get managed in ISR ...
. 
can I do something like this(i.e. there is no InterruptWait call & DMA transfer is enabled & left. It runs till somebody
 disables the DMA transfer). Does it make sense & can I do this ?

Also if I get piece of code to understand this will be very helpful