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

ScottOrero
Mon Mar 27 2023, 06:53 am
Jamesshout
Mon Mar 27 2023, 05:44 am
MichaelRed
Mon Mar 27 2023, 04:43 am
imCar
Mon Mar 27 2023, 01:53 am
BartxyTreld
Sun Mar 26 2023, 10:09 pm
BryanDorce
Sun Mar 26 2023, 09:50 pm
Robertsip
Sun Mar 26 2023, 07:53 pm
KennethVal
Sun Mar 26 2023, 09:44 am