RTC interface with msp430g2553

Dear all.

I m looking for code that interface msp430 and ds1307. i searched ti website couldn’t find any. else share link where i can understand following configuration

i2cinit()

i2cread()’

i2cwrite()

i2ccommunicate()

i2c start()

i2c stop()

The MSP430G2553 can use a 32.768 kHz crystal oscillator for an RTC. Why do you need a DS1307?

Please elaborate below line, I am using ds1307 , to work my application work on real time clock

leon_heller:
The MSP430G2553 can use a 32.768 kHz crystal oscillator for an RTC. Why do you need a DS1307?

Thanks to all for support, I made it working using simple level converter circuit .