/* * Michael Fernandes * Shirley Gaw * CSE 466 Final Project - Shared Memory with I2C * * Specification of the driver for the I2C Bus Controller * * Created: 12/16/2001 * Modified: 12/17/2001 * */ #ifndef __I2C_H__ #define __I2C_H__ // Set the buffer that receives bytes // Reset the bus controller // Set address and clock frequencies void I2C_Init(unsigned char address, unsigned char* receiveBuffer); // This function will transmit 'bufferSize' bytes from 'buffer' to 'address' void I2C_Transmit(unsigned char address, unsigned char* buffer, unsigned char bufferSize); #endif // __I2C_H__