sys/basicusb.h
#include <sys/basicusb.h>
Proper support for USB devices is in development. This header does not provide that.
API Documentation
TI CE OS USB routines.
- Authors
Matt “MateoConLechuga” Waltz
Jacob “jacobly” Young
Functions
-
bool boot_USBBusPowered(void)
- Returns
True if the USB bus is powered by a host.
-
bool boot_USBSelfPowered(void)
- Returns
True if the USB bus is self-powered.
-
void boot_USBResetChip(void)
Resets the USB controller.
-
void boot_USBDisableTimers(void)
Disables the USB Timers.
-
void boot_USBEnableTimers(void)
Enables the USB Timers.
-
void boot_USBResetTimers(void)
Resets the USB Timers.
-
int8_t os_USBGetRequestStatus(void)
Gets some status after a control request.
- Returns
Some status in the range [0, 3].