| Line 10... |
Line 10... |
| 10 |
#define HIGHLEV 40 // max. 50us |
10 |
#define HIGHLEV 40 // max. 50us |
| 11 |
#define LOWLEV 100 // max. 30ms |
11 |
#define LOWLEV 100 // max. 30ms |
| 12 |
#define TBUF 20 |
12 |
#define TBUF 20 |
| 13 |
|
13 |
|
| 14 |
// SMBus control signals |
14 |
// SMBus control signals |
| 15 |
#define SCL PIN_B0 |
15 |
#define SCL PIN_B4 |
| 16 |
#define SDA PIN_B1 |
16 |
#define SDA PIN_B1 |
| 17 |
|
17 |
|
| 18 |
#define mSDA_HIGH() output_float(SDA); // SDA float |
18 |
#define mSDA_HIGH() output_float(SDA); // SDA float |
| 19 |
#define mSDA_LOW() output_low(SDA); // SDA low |
19 |
#define mSDA_LOW() output_low(SDA); // SDA low |
| 20 |
#define mSCL_HIGH() output_float(SCL); // SCL float |
20 |
#define mSCL_HIGH() output_float(SCL); // SCL float |