diff options
| author | hathach <[email protected]> | 2013-10-29 14:19:56 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-10-29 14:19:56 +0700 |
| commit | db986b3107c5e7c0c91cb808c0676313ba598cab (patch) | |
| tree | 37e7b3bac11aa26db42cc275c3980b4d9fedef64 /tinyusb/class/hid_device.h | |
| parent | 357813f1714168746cf20b91ea6e11502003e5c5 (diff) | |
able to fully enumerated with keyboard
Diffstat (limited to 'tinyusb/class/hid_device.h')
| -rw-r--r-- | tinyusb/class/hid_device.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/tinyusb/class/hid_device.h b/tinyusb/class/hid_device.h index ff0f342d2..9c63e2dd3 100644 --- a/tinyusb/class/hid_device.h +++ b/tinyusb/class/hid_device.h @@ -36,13 +36,6 @@ */ /**************************************************************************/ -/** \ingroup TBD - * \defgroup TBD - * \brief TBD - * - * @{ - */ - #ifndef _TUSB_HID_DEVICE_H_ #define _TUSB_HID_DEVICE_H_ @@ -57,8 +50,18 @@ //--------------------------------------------------------------------+ // KEYBOARD Application API //--------------------------------------------------------------------+ -tusb_error_t tusbd_hid_keyboard_send_report(hid_keyboard_report_t *p_kbd_report); -tusb_error_t tusbd_hid_mouse_send_report(hid_mouse_report_t *p_mouse_report); +/** \addtogroup ClassDriver_HID_Keyboard Keyboard + * @{ */ + +/** \defgroup Keyboard_Device Device + * The interface API includes status checking function, data transferring function and callback functions + * @{ */ + +tusb_error_t tusbd_hid_keyboard_send(uint8_t coreid, hid_keyboard_report_t const *p_kbd_report); +tusb_error_t tusbd_hid_mouse_send(uint8_t coreid, hid_mouse_report_t const *p_mouse_report); + +/** @} */ +/** @} */ //--------------------------------------------------------------------+ // USBD-CLASS DRIVER API @@ -77,4 +80,4 @@ tusb_error_t hidd_configured(void); #endif /* _TUSB_HID_DEVICE_H_ */ -/** @} */ + |
