PCA9698 I2C code for review

Will anybody be able to review my Keil code attached here which is simple code of writing "0" and "1" to pin 0, bank 0 (configured as output)?

When I debug my code, it gets stuck at line 221 of code inside function "I2C_WriteAccelReg". If I use function "I2C_MasterTransferBlocking" ( inside function "I2C_WriteAccelReg"), the code get stuck at line 952 of driver "fsl_i2c.c"

I2C code for review.zip

More questions in this forum
There are no posts to show. This could be because there are no posts in this forum or due to a filter.