demo.h
1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#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: demo.h
***
*** Comments:
***
***
************************************************************************
*END*******************************************************************/
#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 service_ep1(_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_packet_stall(_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
/* EOF */