echo.h 1.47 KB
#ifndef _echo_h_
#define _echo_h_ 1
/*HEADER****************************************************************
************************************************************************
***
*** Copyright (c) 1992-2002 ARC International
*** All rights reserved
***
*** This software embodies materials and concepts which are
*** confidential to ARC International and is made available solely
*** pursuant to the terms of a written license agreement with
*** ARC International.
***
*** File: echo.h
***
*** Comments:  
***            
***
************************************************************************
*END*******************************************************************/

#ifdef DEBUG
#define printf  osSyncPrintf
#else
#define printf(format, args...)
#endif

#ifdef __cplusplus
extern "C" {
#endif
extern void service_ep0(_usb_device_handle, boolean, uint_8, uint_8_ptr, uint_32);
extern void reset_ep0(_usb_device_handle, boolean, uint_8, uint_8_ptr, uint_32);
extern void app_process_attach(_usb_host_handle, uint_32);
extern void app_process_detach(_usb_host_handle, uint_32);
extern void app_process_host_resume(_usb_host_handle, uint_32);
extern void app_process_HNP(_usb_host_handle);
extern void app_process_pipe_transaction_done(_usb_host_handle, uint_32);
extern void _otg_host_shutdown(void);
extern void bus_suspend(_usb_device_handle, boolean, uint_8, uint_8_ptr, uint_32);
extern void bus_sof(_usb_device_handle, boolean, uint_8, uint_8_ptr, uint_32);
#ifdef __cplusplus
}
#endif
#endif