Home > BiPOM Library Reference - List of I2C Function
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.
- i2cAck -- Signals an acknowledgement by clocking data low
- i2cGetData -- Obtain the value of Data line ( low or high )
- i2cInit -- Initializes the I2C bus
- i2cNak -- Signals a negative acknowledgement by clocking data high
- i2cReceive -- Receives a byte from I2C bus with most significant bit first.
- i2cStart -- Signals a Start which is defined as negative going transition of Data while Clock is high.
- i2cStop -- Signals a Stop which is defined as positive going transition of Data while Clock is high.
- i2cTransmit -- Transmits a byte to I2C bus with most significant bit first.
- 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 )