AT89S51 + AT24C01A

In my routines, i am not checking for ack! i am assuming that the data transfer is perfect and ack is received. thats the reason, it cannot be used for EEPROM.
but my C routines can be used for EEPROM and any I2C device.

RLC A instruction means "rotate left through carry"
whatever is there in A is rotated left and the MSB is copied back to the place of LSB and all bits are shifted by 1 toward left. a... Read Compelte post
Other Tags: msb   eeprom   rlc   ack   c routines   
Posted by ajay_bhargav on Sat Apr 21 2007, 11:24 pm

Downloads

Comments

Williamrah
Mon Oct 07 2024, 07:36 pm
Sazrfwh
Mon Oct 07 2024, 10:00 am
Trefbed
Mon Oct 07 2024, 06:26 am
Trefyxx
Mon Oct 07 2024, 06:04 am
Lazrbpm
Mon Oct 07 2024, 04:11 am
Cazrlev
Sun Oct 06 2024, 10:49 pm
Anya75sa
Sun Oct 06 2024, 08:22 pm
Daviddek
Sun Oct 06 2024, 06:50 pm