dev_err(dev,"Requires 4 parameters: page, two byte addr (0 - 8bit,1 - 16 bit reg. addr), number of bytes to read, bytes to write (1..10), 1/4 scl period in mclk\n");
return-EINVAL;
set_sensor_i2c_rd(chn,
page&0xff,// index in lookup table
two_byte_addr&1,// Number of address bytes (0 - one byte, 1 - two bytes)
num_bytes&7,// Number of bytes to read (1..8, 0 means 8)
bit_delay&0xff);// Bit delay - number of mclk periods in 1/4 of the SCL period