i2c_hardware2

I2C hardware2 library.

Author Rob Jansen, Copyright © 2025..2025, all rights reserved.
Adapted-by
Compiler 2.5r9

Description

Hardware implementation of I2C 2 (single) master.


Sources

Based on i2c_hardware.jal by Joep Suijs.


Dependencies

No dependency found



Summary

Global variables/contants

Procedures

Functions


API details

Global variables/contants

Procedures

  • i2c_start2()

    Sends Start bit and waits until finished or timeout (if defined)
    
    

  • i2c_restart2()

    Sends Restart bit and waits until finished or timeout (if defined)
    
    

  • i2c_stop2()

    Sends Stop bit and waits until finished or timeout (if defined)
    
    

  • i2c_initialize2()

    if the device has changed, change the speed if necessary
    
    

Functions


Related samples

Here are the list of samples which use this library:

16f1832516f18325_i2c_hw2_l0.jal
16f1842516f18425_i2c_hw2_l0.jal