repo.or.cz
/
tangerine.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make fat.handler build again with debug enabled
[tangerine.git]
/
arch
/
common
/
hidd.i2c
/
i2c.conf
blob
ba88493bcadd92b05c1837477c55c454201e2ab5
1
##begin config
2
basename I2C
3
version 1.0
4
libbasetype struct i2cbase
5
classptr_field sd.i2cClass
6
classid CLID_Hidd_I2C
7
superclass CLID_Hidd
8
residentpri 90
9
classdatatype tDrvData
10
##end config
11
12
##begin cdefprivate
13
#include <hidd/i2c.h>
14
#include "i2c.h"
15
##end cdefprivate
16
17
##begin methodlist
18
.interface Root
19
New
20
Get
21
Set
22
.interface Hidd_I2C
23
PutBits
24
GetBits
25
Start
26
Address
27
Stop
28
PutByte
29
GetByte
30
WriteRead
31
ProbeAddress
32
##end methodlist
33
34
##begin class
35
##begin config
36
basename I2CDev
37
type hidd
38
superclass CLID_Hidd
39
classptr_field sd.i2cDeviceClass
40
classid CLID_Hidd_I2CDevice
41
classdatatype tDevData
42
##end config
43
44
##begin methodlist
45
.interface Root
46
New
47
Get
48
Set
49
.interface Hidd_I2CDevice
50
Read
51
ReadStatus
52
ReadByte
53
ReadBytes
54
ReadWord
55
Write
56
WriteByte
57
WriteBytes
58
WriteWord
59
WriteVec
60
WriteRead
61
##end methodlist
62
##end class