Mcp7940 codes for nrf52840

We are coding for RTC using MCP7940 . we are using NRF 52840. We are looking for API codes and drivers for running the Time and date.