![]() |
EVE 1.0
|
USB endpoint primitive. More...
#include <lib/dlist.h>
Go to the source code of this file.
Data Structures | |
struct | urb_t |
struct | ep_c_t |
struct | ep_t |
struct | ep_init_t |
Typedefs | |
typedef ep_xfer_status_t(* | ep_if_xfer_cb_t) (ep_xfer_status_t status, uint32_t xferred, uint32_t remaining) |
typedef void(* | ep_xfer_cb_t) (struct ep_t *ep, struct urb_t *urb) |
typedef void(* | ep_complete_cb_t) (struct ep_t *ep, struct urb_t *urb, ep_xfer_status_t status) |
typedef ep_if_xfer_cb_t | ep_done_trap_t |
Enumerations |
Functions | |
void | ep_init (const struct ep_init_t *ep) |
int | ep_xfer_done (ep_xfer_status_t status, uint32_t xferred, uint32_t remaining, struct ep_t *ep) |
void | ep_xfer_in (struct ep_t *ep, struct urb_t *urb) |
void | ep_xfer_out (struct ep_t *ep, struct urb_t *urb) |
void | ep_kill_all_urbs (struct ep_t *ep, void *device) |
static struct urb_t * | ep_alloc_urb (struct ep_t *ep) |
static void | ep_free_urb (struct ep_t *ep, struct urb_t *urb) |
static bool | ep_is_empty (struct ep_t *ep) |
static void | ep_schedule_urb (struct ep_t *ep, struct urb_t *urb) |
USB endpoint primitive.
The endpoint queues and handles messages (URBs) to be send or received over USB interface.
Definition in file ep.h.