【TC375】如何将一个PIN配置成特定的功能,如P00.1配置成EVADC_G9CH11

Tip / ログイン to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Translation_Bot
Community Manager
Community Manager
Community Manager

こんにちは贵司大牛们、

想咨询一下,有没有关于PIN的API,可以将PIN 配置成特定的功能?

比如P00.1配置成EVADC_G9CH11,有没有一个什么接口之类?

GavinLi_0-1705989719083.png

 

谢谢,

ガイブン

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/TC375-%E5%A6%82%E4%BD%95%E5%B0%86%E4%B8%80%E4%B8%AAPIN%E9%85%8D%E7%BD%AE%E6%88%90%E7%89%B9%E5%AE%9A%E7%9A%84%E5%8A%9F%E8%83%BD-%E5%A6%82P00-1%E9%85%8D%E7%BD%AE%E6%88%90EVADC-G9CH11/td-p/681329

0 件の賞賛
4 返答(返信)
Translation_Bot
Community Manager
Community Manager
Community Manager

こんにちは、あなたは AURIX_code_examples 参照することができます:

IfxPort_setPinMode()

 

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/TC375-%E5%A6%82%E4%BD%95%E5%B0%86%E4%B8%80%E4%B8%AAPIN%E9%85%8D%E7%BD%AE%E6%88%90%E7%89%B9%E5%AE%9A%E7%9A%84%E5%8A%9F%E8%83%BD-%E5%A6%82P00-1%E9%85%8D%E7%BD%AE%E6%88%90EVADC-G9CH11/m-p/681369

0 件の賞賛
Translation_Bot
Community Manager
Community Manager
Community Manager

使用这个函数:IfxPort_setPinMode

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/TC375-%E5%A6%82%E4%BD%95%E5%B0%86%E4%B8%80%E4%B8%AAPIN%E9%85%8D%E7%BD%AE%E6%88%90%E7%89%B9%E5%AE%9A%E7%9A%84%E5%8A%9F%E8%83%BD-%E5%A6%82P00-1%E9%85%8D%E7%BD%AE%E6%88%90EVADC-G9CH11/m-p/681394

0 件の賞賛
Translation_Bot
Community Manager
Community Manager
Community Manager

こんにちは

我也看到这个函数,但不清楚在哪里看到,某个模式与具体某个功能的对应关系。

GavinLi_0-1705999395423.png

 

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/TC375-%E5%A6%82%E4%BD%95%E5%B0%86%E4%B8%80%E4%B8%AAPIN%E9%85%8D%E7%BD%AE%E6%88%90%E7%89%B9%E5%AE%9A%E7%9A%84%E5%8A%9F%E8%83%BD-%E5%A6%82P00-1%E9%85%8D%E7%BD%AE%E6%88%90EVADC-G9CH11/m-p/681511

0 件の賞賛
Translation_Bot
Community Manager
Community Manager
Community Manager

没有这样的映射表,具体用哪个模式,我的建议是看看github上面的各个程序上面的各种GPIO mode的用法进行参考

谢谢

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/TC375-%E5%A6%82%E4%BD%95%E5%B0%86%E4%B8%80%E4%B8%AAPIN%E9%85%8D%E7%BD%AE%E6%88%90%E7%89%B9%E5%AE%9A%E7%9A%84%E5%8A%9F%E8%83%BD-%E5%A6%82P00-1%E9%85%8D%E7%BD%AE%E6%88%90EVADC-G9CH11/m-p/681593

0 件の賞賛