PebbleOS v4.47.0-757-g12b6c531f
Loading...
Searching...
No Matches
usbd.h File Reference
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <pbl/kernel/section.h>
#include <pbl/usb/usb.h>

Data Structures

struct  pbl_usbd_function
 A function of the device: a class, on interfaces and endpoints of its own. More...
 

Macros

#define PBL_USBD_FUNCTION_DEFINE(name)
 Define a function of the device.
 

Functions

int pbl_usbd_enable (void)
 Connect the device to the bus, once: the controller first, if it is not up yet.
 
uint16_t pbl_usbd_bulk_mps (void)
 Maximum packet size of the bulk endpoints, at the speed the bus runs.