Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8035

C/C++ • Re: Driver (LKM) programming with pinctrl or userspace library

$
0
0
Reading this :
https://docs.kernel.org/input/event-codes.html5
It seems using lbgpiod 2 (that is using them in wait_edge_events() and/or read_edge_events() - I have not found their code yet) will be quite as fast as using driver and interrupts as long as I dedicate one cpu to this task ?

Statistics: Posted by vanva — Thu Oct 24, 2024 10:43 am



Viewing all articles
Browse latest Browse all 8035

Trending Articles