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

📄 tmdlhdmitx_functions.h

📁 HDMI NXP9983 chipset controller driver
💻 H
📖 第 1 页 / 共 5 页
字号:
    \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_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            - TMBSL_ERR_HDMI_I2C_READ: failed when reading to the I2C bus******************************************************************************/tmErrorCode_t tmdlHdmiTxReset(    tmInstance_t instance);/*****************************************************************************//**    \brief Retreives KSV list received by Tx device.           This function is synchronous.           This function is not ISR friendly.    \param instance     Instance identifier.    \param pKsv         Pointer to the array that will receive the KSV list.    \param maxKsv       Maximum number of KSV that the array can store.    \param pWrittenKsv  Actual number of KSV written into the array.    \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            - TMDL_ERR_DLHDMITX_INVALID_STATE: the state is invalid for              the function            - TMDL_ERR_DLHDMITX_NOT_SUPPORTED: device does not support HDCP******************************************************************************/tmErrorCode_t tmdlHdmiTxGetKsvList(    tmInstance_t    instance,    tmdlHdmiTxKsv_t *pKsv,    UInt8           maxKsv,    UInt8           *pWrittenKsv);/*****************************************************************************//**    \brief Enable/Disable HDCP encryption.           This function is synchronous.           This function is not ISR friendly.    \param instance   Instance identifier.    \param hdcpEnable HDCP On/Off (true = On, False = Off).    \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_INVALID_STATE: the state is invalid for              the function            - TMDL_ERR_DLHDMITX_RESOLUTION_UNKNOWN: the resolution is unknown            - TMDL_ERR_DLHDMITX_NOT_SUPPORTED: device does not support HDCP            - 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            - TMBSL_ERR_HDMI_I2C_READ: failed when reading the I2C bus            - TMBSL_ERR_HDMI_BAD_PARAMETER: a parameter was out of range            - TMBSL_ERR_HDMI_NOT_SUPPORTED: device does not support HDCP******************************************************************************/tmErrorCode_t tmdlHdmiTxSetHdcp(    tmInstance_t instance,    Bool         hdcpEnable);/*****************************************************************************//**    \brief Get the driver HDCP state.           This function is synchronous.           This function is not ISR friendly.    \param instance          Instance identifier.    \param pHdcpCheckState   Pointer to the integer that will receive the HDCP check 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            - TMDL_ERR_DLHDMITX_NOT_SUPPORTED: device does not support HDCP******************************************************************************/tmErrorCode_t tmdlHdmiTxGetHdcpState(    tmInstance_t            instance,    tmdlHdmiTxHdcpCheck_t   *pHdcpCheckState);/*****************************************************************************//**    \brief Check the result of an HDCP encryption attempt, called at           intervals (set by timeSinceLastCall) after tmdlHdmiTxSetHdcp(true).           This API must be used only in case of No Operating System. if OS,            this is manage internally of this device library.           This function is synchronous.           This function is not ISR friendly.    \param instance             Instance identifier.    \param timeSinceLastCall    Time passed in milliseconds since last call,                                must be shorter than 600 ms.    \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_NOT_SUPPORTED: device does not support HDCP            - 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_READ: failed when reading the I2C bus            - TMBSL_ERR_HDMI_I2C_WRITE: failed when writing the I2C bus            - TMBSL_ERR_HDMI_NOT_SUPPORTED: device does not support HDCP******************************************************************************/tmErrorCode_t tmdlHdmiTxHdcpCheck(    tmInstance_t    instance,    UInt16          timeSinceLastCall);/*****************************************************************************//**    \brief This function loads a gamut metadata packet into the HW. HW will           actually send it at the beginning of next VS, during the vertical           blanking.           This function is synchronous.           This function is not ISR friendly.    \param instance     Instance identifier.    \param enable       Enable/disable gamut metadata packet insertion.    \param pGamutData   Pointer to the structure containing gamut metadata                        parameters.     \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_INVALID_STATE: the state is invalid for              the function            - TMDL_ERR_DLHDMITX_INCONSISTENT_PARAMS: an input parameter is              inconsistent            - TMBSL_ERR_HDMI_BAD_PARAMETER: a parameter was out of range            - TMBSL_ERR_HDMI_BAD_UNIT_NUMBER: bad transmitter unit number            - TMBSL_ERR_HDMI_I2C_WRITE: failed when writing to the I2C bus            - TMBSL_ERR_HDMI_I2C_READ: failed when reading to the I2C bus            - TMBSL_ERR_HDMI_NOT_INITIALIZED: transmitter not initialized            - TMBSL_ERR_HDMI_OPERATION_NOT_PERMITTED: not allowed in DVI mode******************************************************************************/tmErrorCode_t tmdlHdmiTxSetGamutPacket(    tmInstance_t            instance,    Bool                    enable,    tmdlHdmiTxGamutData_t   *pGamutData);/*****************************************************************************//**    \brief Retrieves supported detailled video descriptors from           receiver's EDID. This function parses the EDID of Rx device to get           the relevant data.           This function is synchronous.           This function is not ISR friendly.    \param instance         Instance identifier.    \param pDTDescriptors   Pointer to the array that will receive detailled                             timing descriptors.    \param maxDTDesc        Size of the array.    \param pWrittenDesc     Pointer to the integer that will receive the actual                            number of written descriptors.    \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            - TMDL_ERR_DLHDMITX_INVALID_STATE: the state is invalid for              the function            - TMBSL_ERR_HDMI_BAD_PARAMETER: a parameter was out of range            - TMBSL_ERR_HDMI_BAD_UNIT_NUMBER: bad transmitter unit number            - TMBSL_ERR_HDMI_RESOURCE_NOT_AVAILABLE : EDID not read            - TMBSL_ERR_HDMI_NOT_INITIALIZED: transmitter not initialized******************************************************************************/tmErrorCode_t tmdlHdmiTxGetEdidDetailledTimingDescriptors(    tmInstance_t                    instance,    tmdlHdmiTxEdidVideoTimings_t    *pDTDescriptors,    UInt8                           maxDTDesc,    UInt8                           *pWrittenDTDesc);/*****************************************************************************//**    \brief Retrieves supported monitor descriptor from receiver's EDID.           This function parses the EDID of Rx device to get           the relevant data.           This function is synchronous.           This function is not ISR friendly.    \param instance         Instance identifier.    \param pEdidFirstMD     Pointer to the array that will receive the first monitor                            descriptors.    \param pEdidSecondMD    Pointer to the array that will receive the second monitor                            descriptors.    \param pEdidOtherMD     Pointer to the array that will receive the other monitor                            descriptors.    \param maxOtherMD       Size of the array.    \param pWrittenOtherMD  Pointer to the integer that will receive the actual                            number of written descriptors.    \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            - TMDL_ERR_DLHDMITX_INVALID_STATE: the state is invalid for              the function            - TMBSL_ERR_HDMI_BAD_PARAMETER: a parameter was out of range            - TMBSL_ERR_HDMI_BAD_UNIT_NUMBER: bad transmitter unit number            - TMBSL_ERR_HDMI_RESOURCE_NOT_AVAILABLE : EDID not read            - TMBSL_ERR_HDMI_NOT_INITIALIZED: transmitter not initialized******************************************************************************/tmErrorCode_t tmdlHdmiTxGetMonitorDescriptors(    tmInstance_t                instance,    tmdlHdmiTxEdidFirstMD_t     *pEdidFirstMD,    tmdlHdmiTxEdidSecondMD_t    *pEdidSecondMD,    tmdlHdmiTxEdidOtherMD_t     *pEdidOtherMD,    UInt8                       maxOtherMD,    UInt8                       *pWrittenOtherMD);/******************************************************************************    \brief This function set the revocation list use for HDCP           This function is synchronous.           This function is not ISR friendly.    \param instance     Instance identifier.    \param listPtr      Pointer on revocation list provide by application.    \param length       length of revocation list.     \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******************************************************************************/tmErrorCode_t tmdlHdmiTxSetHDCPRevocationList(    tmInstance_t    instance,    void            *listPtr,     UInt32          length);#ifdef __cplusplus}#endif#endif /* TMDLHDMITX_FUNCTIONS_H *//*============================================================================*//*                            END OF FILE                                     *//*============================================================================*/

⌨️ 快捷键说明

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