I2C Subsystem

The I2C sub-system mirrors closely the linux api.

User-space API

The following table lists all functions related to the I2C subsystem API.

API Description

BT_I2C_Transfer()

Sends I2C "messages" on the specified I2C bus.

BT_I2C_MasterSend()

Sends data to an I2C_CLIENT.

BT_I2C_MasterReceive()

Receives data from an I2C_CLIENT.

Kernel-space / Driver API

API Description

BT_I2C_RegisterBusWithID()

Registers an I2C bus controller using the specified bus id.

Design Overview

I2C Bus device descriptors

Interrupts

Further Reading

The full API is defined under:

os/include/interfaces/bt_dev_if_i2c.h

See the implementation under:

os/src/interfaces/bt_dev_if_i2c.c

os/include/devman/bt_i2c.h

Back