Go to the documentation of this file.
31 #ifndef ASYNC_READ_NUMOF
32 #define ASYNC_READ_NUMOF 2
struct pollfd * fd
sysfs gpio fd
void native_async_read_continue(int fd)
resume monitoring of file descriptors
pid_t child_pid
PID of the interrupt listener.
void(* native_async_read_callback_t)(int fd, void *arg)
asynchronus read callback type
void native_async_read_setup(void)
initialize asynchronus read system
void native_async_read_add_handler(int fd, void *arg, native_async_read_callback_t handler)
start monitoring of file descriptor
void * arg
Argument ptr for the callback.
native_async_read_callback_t cb
Interrupt callback function.
void native_async_read_cleanup(void)
shutdown asynchronus read system
Interrupt callback information structure.
void native_async_read_add_int_handler(int fd, void *arg, native_async_read_callback_t handler)
start monitoring of file descriptor as interrupt