Jump to main content
Advanced search
  1. Home
  2. Driver Development Kit (DDK) Developer's Guide

    This guide is targeted towards developers who build device drivers for the QNX OS.

  3. Inter-integrated circuit (I2C) DDK
  4. I2C library reference
  • Introduction

    This introduction provides an overview of QNX Everywhere, how to get a QNX Software Development Platform license, and where to get support.

  • Self-Hosted Developer Desktop Guide

    This guide provides instructions for building applications on QNX OS 8 using the self-hosted desktop, without the need for cross-compilation. It's built on the XFCE (XForms Common Environment) desktop environment, allowing QNX Everywhere users to start building QNX apps with minimal setup and friction.

  • Quick Start Target Image (QSTI) for QEMU Guide

    This guide provides instructions on how to set up the Quick Start Target Image (QSTI) on QEMU.

  • Quick Start Target Image (QSTI) for Raspberry Pi Guide

    This guide provides instructions on how to set up the Quick Start Target Image (QSTI) on a Raspberry Pi 4 and 5.

  • Custom Target Image (CTI) Guide

    This guide provides instructions on how to set up the Custom Target Image (CTI) on a Raspberry Pi 4, Raspberry Pi 5, or QEMU (x86_64).

  • Hardware Interfacing Guide

    This guide describes how to communicate with your given hardware.

  • QNX Porting Guide

    This guide provides comprehensive information on porting software from Linux to QNX.

  • Driver Development Kit (DDK) Developer's Guide

    This guide is targeted towards developers who build device drivers for the QNX OS.

    • Character I/O and UART (Universal Asynchronous Receiver Transmitter) DDK
    • Inter-integrated circuit (I2C) DDK
      • I2C driver implementation
      • Starting the I2C driver

        Start an I2C driver

      • Send data to the I2C device
      • I2C library reference
      • Stub I2C driver and client implementation
      • i2c-bcm2711 driver example
    • Serial peripheral interface (SPI) DDK
    • Human interface device (HID) DDK
    • Touch DDK
    • Network DDK
    • Controller Area Network (CAN) DDK

I2C library reference

The I2C framework, including its essential functions, are documented in the following sections of the Customizing a BSP guide:

  • Function table
  • Access function
  • Hardware interface
Page updated: April 06, 2026