#include <Device.h>
|
uint16_t | get_report (uint8_t report_id, hid_report_type_t report_type, uint8_t *buffer, uint16_t reqlen) |
|
void | set_report (uint8_t report_id, hid_report_type_t report_type, uint8_t const *buffer, uint16_t bufsize) |
|
void | report_complete () |
|
◆ ReportComplete
◆ DeviceInterface()
USB::DeviceInterface::DeviceInterface |
|
inline |
Constructor.
- Parameters
-
instance | TinyUSB instance or index (class-specific) |
name | Declared name for this interface instance |
◆ get_report()
uint16_t USB::HID::Device::get_report |
( |
uint8_t |
report_id, |
|
|
hid_report_type_t |
report_type, |
|
|
uint8_t * |
buffer, |
|
|
uint16_t |
reqlen |
|
) |
| |
|
protected |
◆ isReady()
bool USB::HID::Device::isReady |
( |
| ) |
const |
|
inline |
◆ report_complete()
void USB::HID::Device::report_complete |
( |
| ) |
|
|
protected |
◆ sendReport()
bool USB::HID::Device::sendReport |
( |
uint8_t |
report_id, |
|
|
void const * |
report, |
|
|
uint16_t |
len, |
|
|
ReportComplete |
callback |
|
) |
| |
◆ set_report()
void USB::HID::Device::set_report |
( |
uint8_t |
report_id, |
|
|
hid_report_type_t |
report_type, |
|
|
uint8_t const * |
buffer, |
|
|
uint16_t |
bufsize |
|
) |
| |
|
protected |
The documentation for this class was generated from the following file: