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
added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git]
/
arch
/
common
/
hidd.i2c
/
i2c.conf
blob
e87a95cd78934f04daadc81c4d483d42dcdc89ad
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
##end config
10
11
##begin cdefprivate
12
#include <hidd/i2c.h>
13
#include "i2c.h"
14
##end cdefprivate
15
16
##begin methodlist
17
.interface Root
18
New
19
Get
20
Set
21
.interface Hidd_I2C
22
PutBits
23
GetBits
24
Start
25
Address
26
Stop
27
PutByte
28
GetByte
29
WriteRead
30
ProbeAddress
31
##end methodlist
32
33
##begin class
34
##begin config
35
basename I2CDev
36
type hidd
37
superclass CLID_Hidd
38
classptr_field sd.i2cDeviceClass
39
classid CLID_Hidd_I2CDevice
40
classdatatype tDevData
41
##end config
42
43
##begin methodlist
44
.interface Root
45
New
46
Get
47
Set
48
.interface Hidd_I2CDevice
49
Read
50
ReadStatus
51
ReadByte
52
ReadBytes
53
ReadWord
54
Write
55
WriteByte
56
WriteBytes
57
WriteWord
58
WriteVec
59
WriteRead
60
##end methodlist
61
##end class