【发布时间】:2020-04-30 18:22:20
【问题描述】:
在 LIN 模拟从节点中,output 和 linUpdateResponse 有什么区别?
来自output docs:
To reconfigure response data of LIN frame. In that case RTR selector has to be set to 0. The LIN hardware responds to the next request of the specified frame with the newly configured data.
所以,我可以重新配置输出,下次(真的?)硬件应该会说我已经成功覆盖了它,对吧?
来自linUpdateResponse docs:
Updates the response data of a specific LIN frame.
让我设置特定帧 ID 的数据长度 (dlc) 和数据内容。
它们有何不同?是否有可用示例?我不太明白如何在提供的示例中使用后者。
【问题讨论】:
标签: capl