This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMDSCNCD263:EthTrcv 强制驱动程序源代码内的未定义 API

Guru**** 1135610 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1246861/tmdscncd263-ethtrcv-mandatory-undefined-apis-inside-source-code-of-driver

器件型号:TMDSCNCD263

团队、您好!

在 EthTrcv 驱动程序的 MCAL_AM263x_08.06.02.01包中,我们收到以下 API 的编译问题

 FUNC (Std_ReturnType、ETHTRCV_CODE) EthTrcv_SetTransceiverWakeupMode (uint8 TrcvIdx、EthTrcv_WakeupModeType TrcvWakeWakeupMode);

FUNC (Std_ReturnType、ETHTRCV_CODE) EthTrcv_GetTransceiverWakeupMode (uint8 TrcvIdx、EthTrcv_WakeupModeType* TrcvWakeupModePtr);

函数(Std_ReturnType、ETHTRCV_CODE) EthTrcv_GetPhySignalQuality (uint8 TrcvIdx、UINT32* SignalQualityPtr);

FUNC (Std_ReturnType、ETHTRCV_CODE) EthTrcv_CheckWakeup (uint8 TrcvIdx);

如果功能不受支持、则至少需要提供虚拟定义。

此致、

Pradeep R

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Pradeep、您好!

    已为此 jira.itg.ti.com/.../MCAL-12878创建内部 TT。  

    谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Pradeep、您好!

    在 AUTOSAR 4.3.1 EthTrcv SWS 规范中、没有明确提及 EthTrcv_CheckWakeup API 仅在某些宏下可用。

    它们仅指定了以下信息。

    [SWS_EthTrcv_00139]⌈
    只有当 EthTrcv_CheckWakeup ()不是 ETHTRCV_WAKEUP_NOT_SUPPORTED 时,函数 EthTrcv_CheckWakeup ()才可用。 ⌋ć(SRS_Eth_00106)

    我们将如下所示定义虚拟 API。 如果您有任何更多详细信息、请提供。  

    #if (ETHTRCV_WAKEUPSUPPORT_API != ETHTRCV_WAKEUP_NOT_SUPPORTED)
    FUNC(Std_ReturnType, ETHTRCV_CODE) EthTrcv_CheckWakeup(uint8 TrcvIdx)
    {
        Std_ReturnType retVal = (Std_ReturnType) E_OK;
        return retVal;
    }
    #endif /* #if (ETHTRCV_WAKEUPSUPPORT_API != ETHTRCV_WAKEUP_NOT_SUPPORTED) */

    谢谢。此致、

    苏尼尔