Translations:Работа с GPIO/27/en: различия между версиями

(Новая страница: «Interrupts can be caught from userspace using the system call poll () and select () on file value. Example see [https://github.com/contactless/wiegand-linux-sysfs]»)
 
 
(не показана 1 промежуточная версия 1 участника)
Строка 1: Строка 1:
Interrupts can be caught from userspace using the system call poll () and select () on file value.
Interrupts can be caught from userspace using the system call epoll () and select () on file value.
Example see [https://github.com/contactless/wiegand-linux-sysfs]
See example here [https://github.com/contactless/wiegand-linux-sysfs]

Текущая версия на 17:51, 24 апреля 2019

Определение сообщения (Работа с GPIO)
Прерывания можно ловить из userspace с помощью системного вызова epoll() и select() на файл value.
Пример работы см. [https://github.com/contactless/wiegand-linux-sysfs]

Interrupts can be caught from userspace using the system call epoll () and select () on file value. See example here [1]