#include <usb/dev/poll.h>
#include <usb/dev/request.h>
#include <usb/debug.h>
#include <usb/classes/classes.h>
#include <errno.h>
#include <str_error.h>
#include <assert.h>
Go to the source code of this file.
Data Structures | |
struct | polling_data_t |
Data needed for polling. More... | |
Defines | |
#define | MAX_FAILED_ATTEMPTS 3 |
Maximum number of failed consecutive requests before announcing failure. | |
Functions | |
static int | polling_fibril (void *arg) |
Polling fibril. | |
int | usb_device_auto_poll (usb_device_t *dev, size_t pipe_index, usb_polling_callback_t callback, size_t request_size, usb_polling_terminted_callback_t terminated_callback, void *arg) |
Start automatic device polling over interrupt in pipe. | |
int | usb_device_auto_polling (usb_device_t *dev, size_t pipe_index, usb_device_auto_polling_t *polling, size_t request_size, void *arg) |
Start automatic device polling over interrupt in pipe. |
Definition in file devpoll.c.