Commit | Line | Data |
---|---|---|
81dee67e SM |
1 | #ifndef DDK750_HWI2C_H__ |
2 | #define DDK750_HWI2C_H__ | |
3 | ||
4 | /* hwi2c functions */ | |
a503da64 | 5 | int sm750_hw_i2c_init(unsigned char bus_speed_mode); |
ed7042ed | 6 | void sm750_hw_i2c_close(void); |
81dee67e | 7 | |
938ad7ed | 8 | unsigned char sm750_hw_i2c_read_reg(unsigned char addr, unsigned char reg); |
9137f812 MR |
9 | int sm750_hw_i2c_write_reg(unsigned char addr, unsigned char reg, |
10 | unsigned char data); | |
81dee67e | 11 | #endif |