1
0
ssd1306_linux/linux_i2c.h
2020-02-13 10:55:42 +08:00

9 lines
213 B
C

#ifndef __LINUX_I2C_H__
#define __LINUX_I2C_H__
uint8_t _i2c_init(int i2c, int dev_addr);
uint8_t _i2c_close();
uint8_t _i2c_write(uint8_t* ptr, int16_t len);
uint8_t _i2c_read(uint8_t *ptr, int16_t len);
#endif