1:
9:
10:
14:
#ifndef __USB_HID_INTERNAL_API_H__
15:
#define __USB_HID_INTERNAL_API_H__
16:
17:
18:
#include "usb_hid_coreinclude.h"
19:
#include "usb_hid_log.h"
20:
21:
extern uhs_status_t
Usbh_Hid_Init(
app_callback_info* stCallback);
22:
extern uhs_status_t
Usbh_Hid_Exit(
void* stCallback);
23:
extern uhs_status_t
Usbh_Hid_ReregisterCallback(
app_callback_info* stCallback);
24:
25:
26:
27:
28:
#ifdef USBH_STACK_DEBUG_BUILD
29:
#define IAPI_HID_REPORT_SUMMARY(err) Usbh_Hid_Log_ReportError( g_filename, __LINE__, (err), (uhs_ubit8_t*)"1", 0 )
30:
#define IAPI_HID_REPORT_DETAIL(err, mesg, len) Usbh_Hid_Log_ReportError( g_filename, __LINE__, (err), (mesg), (len) )
31:
#define IAPI_HID_REPORT_MILESTONE(num) Usbh_Hid_Log_ReportMilestone((num))
32:
#else
33:
#define IAPI_HID_REPORT_SUMMARY(err) Usbh_Hid_Log_ReportDummy(err)
34:
#define IAPI_HID_REPORT_DETAIL(err, mesg, len) Usbh_Hid_Log_ReportDummy(err)
35:
#define IAPI_HID_REPORT_MILESTONE(num) Usbh_Hid_Log_ReportMilestone((num))
36:
#endif
37:
38:
#endif