Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: TCA6424 : Interrupt Functionaity for Long Press - Short Press keys.

$
0
0

Hi Hrishikesh,

Sounds good.

Thanks for your update.

Could you please tell me which one is worked for you. So that it could help others right ?

This one ?

error = request_threaded_irq(chip->irqnum, NULL,
                  tca6424_keys_isr,
                  IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING,
                  "tca6424-keys", chip);

else,

error = request_threaded_irq(chip->irqnum, NULL,
                         tca6424_keys_isr,
                         IRQF_TRIGGER_FALLING,
                         "tca6424-keys", chip);


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>