I2C accessing peripheral with 32 bit address register
I have connected a peripheral to STM32WB via I2C,.The functions HAL_I2C_Mem_Write() and I2C, HAL_I2C_Mem_Read() are designed for upto 16 bit register address. (The function checks if MemAddSize is 8 bit or 16 bit).
Do I have to rewrite the implementation or I can use HAL_I2C_Master_Transmit_IT() for writing [send pointer to 32 bit address + 16 bit/32 bit data] and together HAL_I2C_Master_Transmit_IT() (to write address) and HAL_I2C_Master_Receive_IT() (to get the data) to read data
for reference:
I2C functions available: http://www.disca.upv.es/aperles/arm_cortex_m3/llibre/st/STM32F439xx_User_Manual/group__i2c__exported__functions__group2.html

Thank you