PDA

View Full Version : get interrupt flag



spec-spec
November 30th, 2017, 06:35 PM
Hi.
I need to use own LKM with interrupts from gpio
i use
IRQF_TRIGGER_FALLING|IRQF_TRIGGER_RISING
and all works correct. I handle interruption.
But how can i check which flag are used exactly in my handler function? For write function for different event but one pin gpio.


Thanks for reply