|
whiskers 0.2.0
RP2350 BadUSB Tool
|
High-level code for setting up the USB stack.
This code is meant to setup all the USB stack functions in a high-level way. Typically, these are just wrappers for the underlying HAL functions.
Go to the source code of this file.
Macros | |
| #define | whiskers_usb_task() |
| Wrapper for HAL usb_loop(). | |
| #define | whiskers_send_report(x) |
| Wrapper for HAL usb_keyboard_send_report(). | |
| #define | whiskers_msc_setup(x, y, z) |
| Wrapper for HAL usb_setup_msc(). | |
Functions | |
| void | whiskers_start_usb () |
| Starts the USB stack with default values (being the descriptors). | |
| void | whiskers_start_usb_custom (w_usb_mods *mods) |
| Starts the USB stack with custom modifications. | |
| void | whiskers_send_reset_report () |
| Sends a HID reset report (all 8 bytes being zero). | |
| #define whiskers_msc_setup | ( | x, | |
| y, | |||
| z ) |
Wrapper for HAL usb_setup_msc().
| #define whiskers_send_report | ( | x | ) |
Wrapper for HAL usb_keyboard_send_report().
| #define whiskers_usb_task | ( | ) |
Wrapper for HAL usb_loop().
| void whiskers_start_usb_custom | ( | w_usb_mods * | mods | ) |
Starts the USB stack with custom modifications.
| *mods | The pointer to the w_usb_mods to be applied. |