Fujitsu DTV/STB solution driver (FAPex driver) Documentation [V01L00R00]


I2C Driver

Table of Contents

Introduction
Public Interface

Driver Usage
Driver Relationship
References

Back to top

Introduction

The I2C driver is designed to to control the I2C bus. It provides an interface between the host CPU and the I2C bus. The host CPU can control the external components on the I2C bus over the I2C interface. Basically the I2C interface is a parallel to serial and serial to parallel converter. The parallel data received from the host CPU/DMA has to be converted to a suitable serial form for the external components on the I2C bus. Also the serial data received from the I2C bus has to be converted to a suitable parallel form for the host CPU. The I2C interface also takes care of the interface timing, data structure and error handling.

Back to top

Public Interface

System Driver Interface

Driver initialization function

  • Linux:
    The I2C driver module is initialized by following command on target board.
     # modprobe fapex_fdli2c
  • RTOS:
    The I2C driver module is initialized by calling FAPEX_common_init().

Driver exit function

  • Linux:
    The I2C driver module is unregistered by following command on target board.
     # modprobe -rq fapi_sys
  • RTOS:
    The I2C driver module is unregistered by calling FAPEX_common_exit().

Application Programming Interface

Functions and Macros

The driver provides the functions and macros listed below. For more information please follow the links to their detailed documentation.

Open Driver
FAPEX_I2C_Open()
Close Driver
FAPEX_I2C_Close()
I/O control of Driver
FAPEX_I2C_Ioctl()
Back to top

Driver Usage

Please refer to following sequence diagram for the usage of this driver.

inline_dotgraph_12.dot
Back to top

Driver Relationship

The I2C driver is related with the following drivers:

Back to top

References

  • MB86H61 Device Manual
    Chapter 25.I2C interface


Copyright © 2006-2010 by Fujitsu Semiconductor Europe GmbH
Copyright © 2008-2010 by Fujitsu Semiconductor Limited

Disclaimer:
Please note that the use of this has been based on the terms and conditions of "DK Consent Letter (For Linux)" agreement between you and Fujitsu Semiconductor Limited.
The contents of this document may be revised without prior notice. Contact our sales department for confirmation. The information in this document are presented as is, no license is granted by implication or otherwise.
More...

FUJITSU sales representatives