I2C Functions
- I2C_ReadSDA -- Reads I2C SDA line status
- I2C_Repair -- After an interruption in protocol, power loss or system reset, any I2C part can be reset by following these steps:
- Clock up to 9 cycles;
- Look for SDA high in each cycle while SCL is high
- and then create a start condition as SDA is high.
- Start -- Signals an I2C Start which is defined as negative going transition of SDA while SCL is high.
- Stop -- Signals a Stop which is defined as positive going transition of SDA while SCL is high.
- TransmitSlow -- Transmits a byte to the I2C device with most significant bit first. Transmits using the software I2C method with long delays so any slow I2C device can work without problems.
- WritePICSlow -- Sends a data byte to the secondary processor (PIC) found on all MINI-MAX/51 boards. The secondary processor is a slow I2C slave device ( I2C is implemented in software inside the secondary microcontroller )