This is the I2C master mode I2C driver with test program based upon the original i2c example project.

The I2ctest.c program uses the 24LC08 EEPROM on the EmbeddedArtists baseboard for testing.

The program first programs 4 bytes in the EEPROM and then reads the bytes back.

In order to allow "Acknowledge polling" as defined in the datasheet for the 24LC08
the interrupt state machine now implements different handlers for ACK/NACK situations.
When a NACK is received, the transaction is aborted (ans a STOP condition is issued).

Disclaimer: this code has been submitted to some basic tests but due to the unavailability
            of an I2C test pattern generator there may still be bugs in the code.
            
			If you find any bugs, feel free to update me on this.
			Updates for this driver will be available at http://myvoice.nl/software
			
			Regards,
			
				Rob - rob@myvoice.nl
