AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: 9: 10: 14: #ifndef __USB_CDC_INTERNAL_API_H__ 15: #define __USB_CDC_INTERNAL_API_H__ 16: 17: 18: 19: 20: 21: #include "usb_cdc_coreinclude.h" 22: #include "usb_cdc_log.h" 23: 24: 25: extern uhs_status_t Usbh_Cdc_Init(app_callback_info* stCallback); 26: extern uhs_status_t Usbh_Cdc_Exit(void* stCallback); 27: extern uhs_status_t Usbh_Cdc_ReregisterCallback(app_callback_info* stCallback); 28: 29: 30: 31: 32: #ifdef USBH_STACK_DEBUG_BUILD 33: #define IAPI_CDC_REPORT_SUMMARY(err) Usbh_Cdc_Log_ReportError( g_filename, __LINE__, (err), (uhs_ubit8_t*)"1", 0 ) 34: #define IAPI_CDC_REPORT_DETAIL(err, mesg, len) Usbh_Cdc_Log_ReportError( g_filename, __LINE__, (err), (mesg), (len) ) 35: #define IAPI_CDC_REPORT_MILESTONE(num) Usbh_Cdc_Log_ReportMilestone((num)) 36: #else 37: #define IAPI_CDC_REPORT_SUMMARY(err) Usbh_Cdc_Log_ReportDummy(err) 38: #define IAPI_CDC_REPORT_DETAIL(err, mesg, len) Usbh_Cdc_Log_ReportDummy(err) 39: #define IAPI_CDC_REPORT_MILESTONE(num) Usbh_Cdc_Log_ReportMilestone((num)) 40: #endif 41: 42: #endif
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.