pull up disable for TMS320F2837xD
4 ビュー (過去 30 日間)
古いコメントを表示
Hi,
is there an option to configure pull-up for the GPIO pins?
I want to disable them using Simulink
0 件のコメント
回答 (1 件)
Irene Boben
2023 年 6 月 26 日
Hi Adam,
There is no configuration option present. However, you can use 'System Initialize' block to write custom code for the same. Below is an example of the custom code.
EALLOW;
GpioCtrlRegs.GPAPUD.all = ~0xFFC003E3U; //Pull up for GPIOs 0-1, 5-9, 22-31
EDIS;
Hope this helps.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!