#include <errno.h>
#include <usb/debug.h>
#include "transfer_descriptor.h"
#include "../utils/malloc32.h"
Go to the source code of this file.
Functions | |
void | td_init (td_t *instance, int err_count, size_t size, bool toggle, bool iso, bool low_speed, usb_target_t target, usb_packet_id pid, void *buffer, td_t *next) |
Initialize Transfer Descriptor. | |
void | td_print_status (td_t *instance) |
Print values in status field (dw1) in a human readable way. | |
int | td_status (td_t *instance) |
Convert TD status into standard error code. |
Definition in file transfer_descriptor.c.