【TC375】如何使用一個引腳配置成特定的功能,如 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

嗨司大牛,

想要一下,有有在引腳的 API 中,可以將引腳配置成特定的功能?

比如 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

4 回應
Translation_Bot
Community Manager
Community Manager
Community Manager

嗨,您可以參考 AURIX _ 代碼 _ 示例:

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

使用「個人函數」:if xPort _ 設定圖形

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 模式的法行考

谢谢

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