Interrupt source
by s0n1c from LinuxQuestions.org on (#5MP02)
Hello forum,
I'm pretty new to this kind of programming and need some help:
I generate an interrupt on raspbian using struct itimerval for the timer and struct sigaction (see https://man7.org/linux/man-pages/man2/sigaction.2.html) for the signal generating an interrupt. The member sigaction.sa_handler seems to be a pointer to a function, some kind of interrupt service routine like used on Arduinos. The function needs one integer as input and I wonder what this is. Can anyone tell me if there is a list or something to determine the exact source of the interrupt?
Regards
s0n1c
I'm pretty new to this kind of programming and need some help:
I generate an interrupt on raspbian using struct itimerval for the timer and struct sigaction (see https://man7.org/linux/man-pages/man2/sigaction.2.html) for the signal generating an interrupt. The member sigaction.sa_handler seems to be a pointer to a function, some kind of interrupt service routine like used on Arduinos. The function needs one integer as input and I wonder what this is. Can anyone tell me if there is a list or something to determine the exact source of the interrupt?
Regards
s0n1c