Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / hidds / i2c / i2c.conf
blob5d4ee4f30ddf3171c3875e73dc9ac08cee723d0f
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
12 ##begin cdefprivate
13 #include <hidd/i2c.h>
14 #include "i2c.h"
15 ##end cdefprivate
17 ##begin methodlist
18 .interface Root
19 New
20 Dispose
21 Get
22 Set
23 .interface Hidd_I2C
24 PutBits
25 GetBits
26 Start
27 Address
28 Stop
29 PutByte
30 GetByte
31 WriteRead
32 ProbeAddress
33 ##end methodlist
35 ##begin class
36 ##begin config
37 basename       I2CDev
38 type           hidd
39 superclass     CLID_Hidd
40 classptr_field sd.i2cDeviceClass
41 classid        CLID_Hidd_I2CDevice
42 classdatatype  tDevData
43 ##end config
45 ##begin methodlist
46 .interface Root
47 New
48 Get
49 Set
50 .interface Hidd_I2CDevice
51 Read
52 ReadStatus
53 ReadByte
54 ReadBytes
55 ReadWord
56 Write
57 WriteByte
58 WriteBytes
59 WriteWord
60 WriteVec
61 WriteRead
62 ##end methodlist
63 ##end class