want the code to interface m24c64 with stm32f051

i have interfaced EEPROM(24c64) with 89s52). but i can't understand what is the process in it. i know something about it. its having sda pin(pin 5) for serial data communication and scl pin (pin 6) for control signal.
question:
1. how to do the read and write operation on it.

More questions in this forum