Regarding 24bit data writting on I2C bus

Hello Forum,
This is my first thread on this forum.
I want to ask a question regarding I2C communication on ESP32 in Arduino IDE.
I want to write data on AFE4404 which is a i2c support ic.
register is of 24bit long.
How do i write 24 bit data on it.
And how do i know that exactly data is written on each bit?
How do i calculate acknowledgement after each register write?
(Note: AFE4404 Does not support continuous READ/WRITE mode )

Thank you

How do i write 24 bit data on it.

By writing 3 bytes in a sequence.

And how do i know that exactly data is written on each bit?

If you trust your hardware you could expect it to be written correctly. If you must know if it arrived correctly re-read the written data.

How do i calculate acknowledgement after each register write?

What exactly do you want to calculate there? The hardware/Wire library will handle the ACK bit for you.

To get started, simply find an I2C scanner to discover the device’s I2C address. If you get 0x58 you are doing well.
Then look here Gammon Forum : Electronics : Microprocessors : I2C - Two-Wire Peripheral Interface - for Arduino for sample code for getting data from the device. You’ll get 3 bytes back. You’ll then have to convert the results to a decimal number (it is currently a 2s complement number)