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


COMMON SYSTEM SERVICE API

Table of Contents

Introduction
Public Interface and Usage

References

Back to top

Introduction

This document describes the use of system abstraction function for both Linux and RTOS environment.

Back to top

Public Interface and Usage

System Initialization

system initialization

  • Linux:
    It is managed with the start-up of the Linux kernel.
  • RTOS:
    FAPEX_common_init()

system exit

  • Linux:
    It is managed with the shut-down of the Linux kernel.
  • RTOS:
    FAPEX_common_exit()

Thread Functions

FAPEX_SYS_CreateThread()
FAPEX_SYS_DestroyThread()
FAPEX_SYS_GetThread()
FAPEX_SYS_GetThreadState()
FAPEX_SYS_GetThreadName()
FAPEX_SYS_SuspendThread()
FAPEX_SYS_WakeupThread()
FAPEX_SYS_WaitEndThread()

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

inline_dotgraph_4.dot

Select Functions

FAPEX_SYS_SelectGetSize()
FAPEX_SYS_SelectInit()
FAPEX_SYS_SelectSetID()
FAPEX_SYS_SelectClearID()
FAPEX_SYS_SelectSetParam()
FAPEX_SYS_SelectCall()
FAPEX_SYS_SelectCheck()

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

inline_dotgraph_5.dot

Semaphore Functions

FAPEX_SYS_CreateSemaphore()
FAPEX_SYS_DestroySemaphore()
FAPEX_SYS_GetSemaphore()
FAPEX_SYS_SetSemaphore()

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

inline_dotgraph_6.dot

File Functions

FAPEX_SYS_FOpen()
FAPEX_SYS_FClose()
FAPEX_SYS_FSeek()
FAPEX_SYS_FTell()
FAPEX_SYS_FRead()
FAPEX_SYS_FWrite()
FAPEX_SYS_FFindFirst()
FAPEX_SYS_FFindNext()

Other Functions

FAPEX_SYS_CalculateCrc32()
FAPEX_TIMER_GetTimeStamp()
Back to top

References



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