iic(4)

iic4

I2c generic i/o device driver

Usage

device iic

Overview

The iic character device driver provides generic i/o to any iicbus(4) instance. In order to control I2C devices, use /dev/iic? with the following ioctls:

IoctlDescription
I2CSTARTsend start condition to the specified device (with 7-bit address) on the bus
I2CSTOPsend stop condition to the bus
I2CRSTCARDreset the bus

You may also use read/write routines, then I2C start/stop handshake is managed by the iicbus system.

History

The iic manual page first appeared in FreeBSD 3.0.

Authors

This manual page was written by Nicolas Souchu.

From freebsd-manpages 6.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.