写一个16位寄存器8位数据的操作:
static int hm5065_i2c_txdata(u16 saddr,u8 *txdata,int length)
{
struct i2c_msg msg[] = {
{
.addr = saddr,
//设备地址
.flags = 0,