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


ICC Driver

Table of Contents

Introduction
Configuration

Public Interface

Driver Usage
Driver Relationship
References

Back to top

Introduction

The ICC Driver managed the comunication between Smart Card and the Smart Card Interface. Basically the ICC interface is a parallel to serial and serial to parallel converter.

Back to top

Configuration

Board Configuration


The ICC initial setup for board are defined with the board configuration header file.

In case of Fujitsu MB86H61 Development Kit board, this board configuration header file is "${KERNEL_TOP}/drivers/media/fapex/wfe/include/fapex/sys_config_mb86h61_devkit.h", it is defined as follows.
        #define FAPI_SYS_ICC_SET_BOARD_PARAMS              \
            icc_funcStr.SetClkDivider( FAPI_ICC0, 1 );     \
            icc_funcStr.SetTDA8004TEnable( FAPI_ICC0, 1 );

Note:
Please refer to "MB86H61 SDK documentation" about the initial setup functions for ICC.
Back to top

Public Interface

System Driver Interface

Driver initialization function

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

Driver exit function

  • Linux:
    The ICC driver module is unregistered by following command on target board.
     # modprobe -rq fapex_fdlicc
  • RTOS:
    The ICC 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_ICC_Open()
Close Driver
FAPEX_ICC_Close()
Read Data
FAPEX_ICC_Read()
Write Data
FAPEX_ICC_Write()
I/O control of Driver
FAPEX_ICC_Ioctl()
Back to top

Driver Usage

The ICC module have the common descriptor and the sub descriptor.
The common descriptor is connected to functions of entire card. The sub descriptor is connected to functions for each card.
Please refer to following sequence diagram for the usage of this driver.

inline_dotgraph_13.dot
Back to top

Driver Relationship

The ICC driver is related with the following drivers:

Back to top

References

  • MB86H61 SDK documentation
    Fujitsu API / Core Driver Layer / ICC Driver

  • MB86H61 Device Manual
    Chapter 26.IC-Card 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