diff options
| author | hathach <[email protected]> | 2013-03-27 11:51:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-27 11:51:44 +0700 |
| commit | 7b5d9edc5af88422b26116a56032091e96714495 (patch) | |
| tree | 3062a01b7636ea43beb05a15ae9c736dd11edb04 /tinyusb/class/hid_host.h | |
| parent | b0ff7a7e235b1901def71305e6c35e6c3cda222c (diff) | |
add test for pipe_interrupt_xfer
implement keyboard app code
- forcefully place keyboard_report in RAM section 3
change used bit in qtd from reserved in buffer[1] to alternate link
add code for fake ehci controller runs on period interrupt
change signature of tusbh_hid_keyboard_get_report
- tusb_keyboard_report_t* to uint8_t*
implement period (interrupt) complete isr processing
Diffstat (limited to 'tinyusb/class/hid_host.h')
| -rw-r--r-- | tinyusb/class/hid_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/hid_host.h b/tinyusb/class/hid_host.h index 1846bf674..5d5fa1fc9 100644 --- a/tinyusb/class/hid_host.h +++ b/tinyusb/class/hid_host.h @@ -69,7 +69,7 @@ typedef struct { }hidh_keyboard_info_t; bool tusbh_hid_keyboard_is_supported(uint8_t dev_addr) ATTR_PURE ATTR_WARN_UNUSED_RESULT; -tusb_error_t tusbh_hid_keyboard_get_report(uint8_t dev_addr, uint8_t instance_num, tusb_keyboard_report_t * const report) ATTR_WARN_UNUSED_RESULT; +tusb_error_t tusbh_hid_keyboard_get_report(uint8_t dev_addr, uint8_t instance_num, uint8_t * const report) ATTR_WARN_UNUSED_RESULT; tusb_interface_status_t tusbh_hid_keyboard_status(uint8_t dev_addr, uint8_t instance_num) ATTR_WARN_UNUSED_RESULT; //--------------------------------------------------------------------+ |
