git.ucc.asn.au
/
tpg
/
acess2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Adding several modules to the Tree, plus some files that escaped earlier
[tpg/acess2.git]
/
Modules
/
USB
/
usb.h
1
/*
2
* AcessOS Version 1
3
* USB Stack
4
*/
5
#ifndef _USB_H_
6
#define _USB_H_
7
8
// === TYPES ===
9
typedef struct sUSBHost tUSBHost;
10
typedef struct sUSBDevice tUSBDevice;
11
12
// === STRUCTURES ===
13
/**
14
* \brief Defines a USB Host Controller
15
*/
16
struct sUSBHost
17
{
18
Uint16 IOBase;
19
20
int (*SendPacket)(int ID, int Length, void *Data);
21
};
22
23
/**
24
* \brief Defines a single device on the USB Bus
25
*/
26
struct sUSBDevice
27
{
28
tUSBHost *Host;
29
};
30
31
#endif
UCC
git Repository :: git.ucc.asn.au