Hello Anjali,
Thank you very much for writing.
If this is a new design I suggest use PCF85162 if none automotive and PCA85162 for automotive.
Unfortunately, I do not have any C library for such device.
Please accept my apologies for any inconvenience this situation might cause.
Regards,
David