i2c read 16 bits register adress

how to modify this part of code to be able to read the register address  16 bits of the slave 

I use ADUCM3029 as Master 



ok
[edited by: Sou at 12:58 AM (GMT 0) on 22 May 2020]
  • +1
    •  Analog Employees 
    on May 22, 2020 4:50 AM 6 months ago

    Hi Sou,

    The number of data bytes to be transmitted or received is determine by the nDatasize on the I2c Strcut.

    Please refer to its Device Driver API Manual which is included on the  DFP package. It's located on the same folder where the DFP driver was installed (Mine is located here: C:\Users\Username\AppData\Local\IAR Embedded Workbench\PackRepo\AnalogDevices\ADuCM302x_DFP\3.2.0\Documents\html)

    And it would be better to paste your code instead of image which was too small to read.

    -Jeric