]>
Commit | Line | Data |
---|---|---|
81dee67e SM |
1 | #ifndef DDK750_HWI2C_H__ |
2 | #define DDK750_HWI2C_H__ | |
3 | ||
4 | /* hwi2c functions */ | |
19f70eae | 5 | int sm750_hw_i2c_init(unsigned char busSpeedMode); |
ed7042ed | 6 | void sm750_hw_i2c_close(void); |
81dee67e | 7 | |
5ccf7340 | 8 | unsigned char sm750_hw_i2c_read_reg(unsigned char deviceAddress, unsigned char registerIndex); |
6bdbe62b | 9 | int sm750_hw_i2c_write_reg(unsigned char deviceAddress, unsigned char registerIndex, unsigned char data); |
81dee67e | 10 | #endif |