📄 tmdlhdmitx_functions.h
字号:
- 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_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 tmdlHdmiTxSetAudioInfoframe( tmInstance_t instance, Bool enable, tmdlHdmiTxAudIfData_t *pAudIfData);/*****************************************************************************//** \brief Enables/disables Audio clock recovery packet sending. This function is synchronous. This function is not ISR friendly. \param instance Instance identifier. \param enable Enable/disable packet insertion. \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_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 tmdlHdmiTxSetAClkRecoveryPacket( tmInstance_t instance, Bool enable);/*****************************************************************************//** \brief Defines the content of the audio content protection packet to be sent by Tx device. This function is synchronous. This function is not ISR friendly. \param instance Instance identifier. \param enable Enable/disable infoframe insertion. \param pAcpPktData Pointer to the structure containing ACP infoframe 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_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 tmdlHdmiTxSetACPPacket( tmInstance_t instance, Bool enable, tmdlHdmiTxAcpPktData_t *pAcpPktData);/*****************************************************************************//** \brief Defines the content of the General Control packet to be sent by Tx device. This function is synchronous. This function is not ISR friendly. \param instance Instance identifier. \param enable Enable/disable infoframe insertion. \param pGcpPktData Pointer to the structure containing GCP packet 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_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 tmdlHdmiTxSetGeneralControlPacket( tmInstance_t instance, Bool enable, tmdlHdmiTxGcpPktData_t *pGcpPktData);/*****************************************************************************//** \brief Defines the content of ISRC1 packet to be sent by Tx device. This function is synchronous. This function is not ISR friendly. \param instance Instance identifier. \param enable Enable/disable infoframe insertion. \param pIsrc1PktData Pointer to the structure containing GCP packet 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_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 tmdlHdmiTxSetISRC1Packet( tmInstance_t instance, Bool enable, tmdlHdmiTxIsrc1PktData_t *pIsrc1PktData);/*****************************************************************************//** \brief Defines the content of ISRC2 packet to be sent by Tx device. This function is synchronous. This function is not ISR friendly. \param instance Instance identifier. \param enable Enable/disable infoframe insertion. \param pIsrc2PktData Pointer to the structure containing GCP packet 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_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 tmdlHdmiTxSetISRC2Packet( tmInstance_t instance, Bool enable, tmdlHdmiTxIsrc2PktData_t *pIsrc2PktData);/*****************************************************************************//** \brief Defines the content of MPS infoframe to be sent by Tx device. This function is synchronous. This function is not ISR friendly. \param instance Instance identifier. \param enable Enable/disable infoframe insertion. \param pMpsIfData Pointer to the structure containing MPS infoframe 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_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 tmdlHdmiTxSetMPSInfoframe( tmInstance_t instance, Bool enable, tmdlHdmiTxMpsIfData_t *pMpsIfData);/*****************************************************************************//** \brief Defines the content of SPD infoframe to be sent by Tx device. This function is synchronous. This function is not ISR friendly. \param instance Instance identifier. \param enable Enable/disable infoframe insertion. \param pSpdIfData Pointer to the structure containing SPD infoframe 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_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 tmdlHdmiTxSetSpdInfoframe( tmInstance_t instance, Bool enable, tmdlHdmiTxSpdIfData_t *pSpdIfData);/*****************************************************************************//** \brief Defines the content of VS infoframe to be sent by Tx device. This function is synchronous. This function is not ISR friendly. \param instance Instance identifier. \param enable Enable/disable infoframe insertion. \param pVsIfData Pointer to the structure containing VS infoframe 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_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 tmdlHdmiTxSetVsInfoframe( tmInstance_t instance, Bool enable, tmdlHdmiTxVsPktData_t *pVsIfData);/*****************************************************************************//** \brief Enables/disables NULL packet sending (only used for debug purpose). This function is synchronous. This function is not ISR friendly. \param instance Instance identifier. \param enable Enable/disable packet insertion. \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_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 tmdlHdmiTxDebugSetNullPacket
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -