diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-A3A3405C-C89C-5079-85CE-8CB069C8E0C0.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-A3A3405C-C89C-5079-85CE-8CB069C8E0C0.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,53 @@ + + + + + +IIC Client Interface QuickstartThis document gives a brief overview of the IIC client +interface API. +
Purpose

The IIC client interface API creates a common interface from +device drivers to serial inter-IC buses (IIC buses).

Intended +audience

This document is intended to be used by device +driver writers.

+
Architectural +relationship

The IIC client interface API is part of a +group of APIs which provide a common, hardware-independent, interface +from kernel to different hardware. Other APIs of this type include +GPIO.

Description

Physically, a bus represented +by IIC is accessed over a node. The IIC client interface API wraps +a node in a software construct called a channel. It provides functionality +for creating and accessing channels directly. There are two possible +modes of operation:

    +
  • Controller

    Where the device drivers that use the IIC +client interface API can access different IIC channels.

  • +
  • Controller-less

    Where the channels that the device driver +can access are set at compile time.

  • +

Furthermore, there are three possible channel behaviors:

    +
  • Master

    The device driver initializes the data transfer.

  • +
  • Slave

    The device driver carries out a data transfer that +is controlled by another node attached to the bus.

  • +
  • MasterSlave

    The device driver can carry out both roles.

  • +
+
IIC +classes

If the access to the IIC bus is to be via a controller, +then the IIC platform service API class to use is:

    +
  • IicBus

  • +

If the access to the IIC bus is to be without a controller +(controller-less operation), then the IIC platform service API classes +to use are:

    +
  • DIicBusChannelMaster

  • +
  • DIicBusChannelSlave

  • +
  • DIicBusChannelMasterSlave

  • +
+
+Client +of Master Channel Tutorial +Client +of Slave Channel Tutorial +
\ No newline at end of file