#include <sys/exception.h>
Include dependency graph for isrDisp.h:
This graph shows which files directly or indirectly include this file:
typedef void(*) tFuncPtr(void *) |
function pointer and argument to call
enum e_isr_t |
The type of interrupts handled by the SIC.
int isrDisp_init | ( | isrDisp_t * | pThis | ) |
Initialize isr dispatcher Parameters:.
pThis | pointer to own object |
int isrDisp_printIrqFreq | ( | isrDisp_t * | pThis | ) |
isrDisp_printIrqFreq prints number of occured interrupts for each registered IRQ
Parameters:
Register interrupt handler for ISR for DMA 3 Parameters:.
pThis | pointer to own object | |
pFunc | pointer to function to call | |
pArg | pointer to argument passed on call |
Parameter Check
Parameter Check
Assign the new function pointer to the ISR Dispatcher
find out which isr mask has to be set to enable the interrupt
isrDisp_unregisterCallback The function does parameter check and then unregisters the function.
We ISR wont be able to interrupt the function again Parameters:
Parameter Check
Find out whcih register has to be used to disable the interrupt
Unregister the function from the table