dRonin
adbada4
dRonin firmware
|
APIs for PIOS_USBHOOK layer. More...
Go to the source code of this file.
Data Structures | |
struct | pios_usbhook_descriptor |
struct | pios_usb_ifops |
Typedefs | |
typedef bool(* | pios_usbhook_epcb )(uintptr_t context, uint8_t epnum, uint16_t len) |
Enumerations | |
enum | usb_string_desc |
Functions | |
enum usb_string_desc | __attribute__ ((packed)) |
void | PIOS_USBHOOK_RegisterDevice (const uint8_t *desc, uint16_t desc_size) |
void | PIOS_USBHOOK_RegisterConfig (uint8_t config_id, const uint8_t *desc, uint16_t desc_size) |
void | PIOS_USBHOOK_RegisterString (enum usb_string_desc string_id, const uint8_t *desc, uint16_t desc_size) |
void | PIOS_USBHOOK_RegisterIfOps (uint8_t ifnum, struct pios_usb_ifops *ifops, uintptr_t context) |
void | PIOS_USBHOOK_RegisterEpInCallback (uint8_t epnum, uint16_t max_len, pios_usbhook_epcb cb, uintptr_t context) |
void | PIOS_USBHOOK_RegisterEpOutCallback (uint8_t epnum, uint16_t max_len, pios_usbhook_epcb cb, uintptr_t context) |
void | PIOS_USBHOOK_DeRegisterEpInCallback (uint8_t epnum) |
void | PIOS_USBHOOK_DeRegisterEpOutCallback (uint8_t epnum) |
void | PIOS_USBHOOK_CtrlTx (const uint8_t *buf, uint16_t len) |
void | PIOS_USBHOOK_CtrlRx (uint8_t *buf, uint16_t len) |
void | PIOS_USBHOOK_EndpointTx (uint8_t epnum, const uint8_t *buf, uint16_t len) |
void | PIOS_USBHOOK_EndpointRx (uint8_t epnum, uint8_t *buf, uint16_t len) |
void | PIOS_USBHOOK_Activate (void) |
void | PIOS_USBHOOK_Deactivate (void) |
Variables | |
USB_STRING_DESC_LANG = 0 | |
USB_STRING_DESC_VENDOR = 1 | |
USB_STRING_DESC_PRODUCT = 2 | |
USB_STRING_DESC_SERIAL = 3 | |
struct pios_usb_ifops | __attribute__ |
APIs for PIOS_USBHOOK layer.
Definition in file pios_usbhook.h.