summaryrefslogtreecommitdiffstats
path: root/api/usb2impl.h
blob: c41328dc9c1eb3be2931e9790f5cb9e5e8efa58b (plain)
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
#ifndef __USB2IMPL_H__
#define __USB2IMPL_H__


#include "type.h"
#include "error.h"
#include "user.h"
#include "cmd.h"


Dword Usb2_getDriver (
	IN  Demodulator*	demodulator,
	OUT Handle*			handle
);


Dword Usb2_writeControlBus (
	IN  Demodulator*	demodulator,
	IN  Dword			bufferLength,
	IN  Byte*			buffer
);


Dword Usb2_readControlBus (
	IN  Demodulator*	demodulator,
	IN  Dword			bufferLength,
	OUT Byte*			buffer
);


Dword Usb2_readDataBus (
	IN  Demodulator*	demodulator,
	IN  Dword			bufferLength,
	OUT Byte*			buffer
);

#endif