⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tmdlhdmitx_functions.h

📁 HDMI NXP9983 chipset controller driver
💻 H
📖 第 1 页 / 共 5 页
字号:
/** * Copyright (C) 2007 NXP N.V., All Rights Reserved. * This source code and any compilation or derivative thereof is the proprietary * information of NXP N.V. and is confidential in nature. Under no circumstances * is this software to be  exposed to or placed under an Open Source License of * any type without the expressed written permission of NXP N.V. * * \file          tmdlHdmiTx_Functions.h * * \version       $Revision: 1 $ * * \date          $Date: 02/08/07 8:32 $ * * \brief         devlib driver component API for the TDA998x HDMI Transmitters * * \section refs  Reference Documents * HDMI Tx Driver - FRS.doc, * HDMI Tx Driver - tmdlHdmiTx - SCS.doc * * \section info  Change Information * * \verbatim   $History: tmdlHdmiTx_Functions.h $ * * *****************  Version 1  ***************** * User: Demoment     Date: 02/08/07   Time: 8:32 * Updated in $/Source/tmdlHdmiTx/inc * initial version *   \endverbatim **/#ifndef TMDLHDMITX_FUNCTIONS_H#define TMDLHDMITX_FUNCTIONS_H/*============================================================================*//*                       INCLUDE FILES                                        *//*============================================================================*/#include "tmNxTypes.h"#include "tmdlHdmiTx_Types.h"#ifdef __cplusplusextern "C" {#endif/*============================================================================*//*                       EXTERN FUNCTION PROTOTYPES                           *//*============================================================================*//*****************************************************************************//**    \brief Get the software version of the driver.    \param pSWVersion Pointer to the version structure.    \return The call result:            - TM_OK: the call was successful            - TMDL_ERR_DLHDMITX_INCONSISTENT_PARAMS: an input parameter is              inconsistent******************************************************************************/tmErrorCode_t tmdlHdmiTxGetSWVersion(    tmSWVersion_t  *pSWVersion);/*****************************************************************************//**    \brief Get the number of available HDMI transmitters devices in the system.           A unit directly represents a physical device.    \param pUnitCount Pointer to the number of available units.    \return The call result:            - TM_OK: the call was successful            - TMDL_ERR_DLHDMITX_INCONSISTENT_PARAMS: an input parameter is              inconsistent******************************************************************************/tmErrorCode_t tmdlHdmiTxGetNumberOfUnits(    UInt32  *pUnitCount);/*****************************************************************************//**    \brief Get the capabilities of unit 0. Capabilities are stored into a           dedicated structure and are directly read from the HW device.    \param pCapabilities Pointer to the capabilities structure.    \return The call result:            - TM_OK: the call was successful            - TMDL_ERR_DLHDMITX_BAD_UNIT_NUMBER: the unit number is wrong or              the receiver instance is not initialised            - TMDL_ERR_DLHDMITX_INCONSISTENT_PARAMS: an input parameter is              inconsistent            - TMDL_ERR_DLHDMITX_BAD_PARAMETER: a parameter is invalid or out              of range            - TMBSL_ERR_HDMI_BAD_UNIT_NUMBER: bad transmitter unit number            - TMBSL_ERR_HDMI_BAD_PARAMETER: a parameter was out of range            - TMBSL_ERR_HDMI_NOT_INITIALIZED: transmitter not initialized******************************************************************************/tmErrorCode_t tmdlHdmiTxGetCapabilities(    tmdlHdmiTxCapabilities_t *pCapabilities);/*****************************************************************************//**    \brief Get the capabilities of a specific unit. Capabilities are stored           into a dedicated structure and are directly read from the HW           device.    \param unit          Unit to be probed.    \param pCapabilities Pointer to the capabilities structure.    \return The call result:            - TM_OK: the call was successful            - TMDL_ERR_DLHDMITX_BAD_UNIT_NUMBER: the unit number is wrong or              the receiver instance is not initialised            - TMDL_ERR_DLHDMITX_INCONSISTENT_PARAMS: an input parameter is              inconsistent            - TMDL_ERR_DLHDMITX_BAD_PARAMETER: a parameter is invalid or out              of range            - TMBSL_ERR_HDMI_BAD_UNIT_NUMBER: bad transmitter unit number            - TMBSL_ERR_HDMI_BAD_PARAMETER: a parameter was out of range            - TMBSL_ERR_HDMI_NOT_INITIALIZED: transmitter not initialized******************************************************************************/tmErrorCode_t tmdlHdmiTxGetCapabilitiesM(   tmUnitSelect_t            unit,   tmdlHdmiTxCapabilities_t *pCapabilities);/*****************************************************************************//**    \brief Open unit 0 of HdmiTx driver and provides the instance number to           the caller. Note that one unit of HdmiTx represents one physical           HDMI transmitter and that only one instance per unit can be opened.    \param pInstance Pointer to the variable that will receive the instance                     identifier.    \return The call result:            - TM_OK: the call was successful            - TMDL_ERR_DLHDMITX_BAD_UNIT_NUMBER: the unit number is wrong or              the transmitter instance is not initialised            - TMDL_ERR_DLHDMITX_BAD_HANDLE: the handle number is wrong            - TMDL_ERR_DLHDMITX_INCONSISTENT_PARAMS: an input parameter is              inconsistent            - TMDL_ERR_DLHDMITX_RESOURCE_OWNED: the resource is already in use            - TMDL_ERR_DLHDMITX_INVALID_STATE: the state is invalid for              the function            - TMDL_ERR_DLHDMITX_INIT_FAILED: the unit instance is already              initialised or something wrong happened at lower level.            - TMDL_ERR_DLHDMITX_NO_RESOURCES: the resource is not available            - TMBSL_ERR_HDMI_BAD_UNIT_NUMBER: bad transmitter unit number            - TMBSL_ERR_HDMI_NOT_INITIALIZED: the unit is not initialized            - TMBSL_ERR_HDMI_BAD_PARAMETER: a parameter is invalid or out              of range            - TMBSL_ERR_HDMI_INIT_FAILED: the unit instance is already              initialised            - TMBSL_ERR_HDMI_COMPATIBILITY: the driver is not compatiable              with the internal device version code            - TMBSL_ERR_HDMI_I2C_WRITE: failed when writing to the I2C bus            - TMBSL_ERR_HDMI_I2C_READ: failed when reading the I2C bus******************************************************************************/tmErrorCode_t tmdlHdmiTxOpen(    tmInstance_t   *pInstance);/*****************************************************************************//**    \brief Open a specific unit of HdmiTx driver and provides the instance           number to the caller. Note that one unit of HdmiTx represents one           physical HDMI transmitter and that only one instance per unit can be           opened. This function switches driver's state machine to           "initialized" state.    \param pInstance Pointer to the structure that will receive the instance                     identifier.    \param unit      Unit number to be opened.    \return The call result:            - TM_OK: the call was successful            - TMDL_ERR_DLHDMITX_BAD_UNIT_NUMBER: the unit number is wrong or              the transmitter instance is not initialised            - TMDL_ERR_DLHDMITX_BAD_HANDLE: the handle number is wrong            - TMDL_ERR_DLHDMITX_INCONSISTENT_PARAMS: an input parameter is              inconsistent            - TMDL_ERR_DLHDMITX_RESOURCE_OWNED: the resource is already in use            - TMDL_ERR_DLHDMITX_INVALID_STATE: the state is invalid for              the function            - TMDL_ERR_DLHDMITX_INIT_FAILED: the unit instance is already              initialised or something wrong happened at lower level.            - TMDL_ERR_DLHDMITX_NO_RESOURCES: the resource is not available            - TMBSL_ERR_HDMI_BAD_UNIT_NUMBER: bad transmitter unit number            - TMBSL_ERR_HDMI_NOT_INITIALIZED: the unit is not initialized            - TMBSL_ERR_HDMI_BAD_PARAMETER: a parameter is invalid or out              of range            - TMBSL_ERR_HDMI_INIT_FAILED: the unit instance is already              initialised            - TMBSL_ERR_HDMI_COMPATIBILITY: the driver is not compatiable              with the internal device version code            - TMBSL_ERR_HDMI_I2C_WRITE: failed when writing to the I2C bus            - TMBSL_ERR_HDMI_I2C_READ: failed when reading the I2C bus******************************************************************************/tmErrorCode_t tmdlHdmiTxOpenM(    tmInstance_t   *pInstance,    tmUnitSelect_t  unit);/*****************************************************************************//**    \brief Close an instance of HdmiTx driver.    \param instance Instance identifier.    \return The call result:            - TM_OK: the call was successful            - TMDL_ERR_DLHDMITX_BAD_INSTANCE: the instance number is wrong or              out of range            - TMDL_ERR_DLHDMITX_RESOURCE_NOT_OWNED: the caller does not own              the resource            - TMDL_ERR_DLHDMITX_BAD_HANDLE: the handle number is wrong******************************************************************************/tmErrorCode_t tmdlHdmiTxClose(    tmInstance_t   instance);/*****************************************************************************//**    \brief Set the power state of an instance of the HDMI transmitter.    \param instance   Instance identifier.    \param powerState Power state to set.    \return The call result:            - TM_OK: the call was successful            - TMDL_ERR_DLHDMITX_BAD_INSTANCE: the instance number is wrong or              out of range            - TMDL_ERR_DLHDMITX_BAD_HANDLE: the handle number is wrong            - TMBSL_ERR_HDMI_BAD_UNIT_NUMBER: bad transmitter unit number            - TMBSL_ERR_HDMI_BAD_PARAMETER: a parameter was out of range            - TMBSL_ERR_HDMI_NOT_INITIALIZED: transmitter not initialized            - TMBSL_ERR_HDMI_I2C_WRITE: failed when writing to the I2C bus******************************************************************************/tmErrorCode_t tmdlHdmiTxSetPowerState(    tmInstance_t    instance,    tmPowerState_t  powerState);/*****************************************************************************//**    \brief Get the power state of an instance of the HDMI transmitter.    \param instance    Instance identifier.    \param pPowerState Pointer to the power state.    \return The call result:            - TM_OK: the call was successful            - TMDL_ERR_DLHDMITX_BAD_INSTANCE: the instance number is wrong or              out of range            - TMDL_ERR_DLHDMITX_BAD_HANDLE: the handle number is wrong            - TMDL_ERR_DLHDMITX_INCONSISTENT_PARAMS: an input parameter is              inconsistent            - TMBSL_ERR_HDMI_BAD_UNIT_NUMBER: bad transmitter unit number            - TMBSL_ERR_HDMI_BAD_PARAMETER: a parameter was out of range            - TMBSL_ERR_HDMI_NOT_INITIALIZED: transmitter not initialized******************************************************************************/tmErrorCode_t tmdlHdmiTxGetPowerState(    tmInstance_t    instance,    tmPowerState_t  *pPowerState);/*****************************************************************************//**    \brief Set the configuration of instance attributes. This function is           required by DVP architecture rules but actually does nothing in this           driver    \param instance    Instance identifier.    \return The call result:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -