add tusbh_hid_mouse_isr & tusbh_hid_keyboard_isr callback with xfer_complete & error event

This commit is contained in:
hathach
2013-04-09 03:13:27 +07:00
parent 11dff6f978
commit a6cf4f228e
8 changed files with 102 additions and 13 deletions

View File

@@ -99,7 +99,6 @@ uint8_t tusbh_device_attached_cb (tusb_descriptor_device_t const *p_desc_de
void tusbh_device_mount_succeed_cb (uint8_t dev_addr) ATTR_WEAK;
void tusbh_device_mount_failed_cb(tusb_error_t error, tusb_descriptor_device_t const *p_desc_device) ATTR_WEAK; // TODO refractor remove desc_device
#if TUSB_CFG_OS == TUSB_OS_NONE // TODO move later
//static inline void tusb_tick_tock(void) ATTR_ALWAYS_INLINE;
//static inline void tusb_tick_tock(void)