Borrar filtros
Borrar filtros

pull up disable for TMS320F2837xD

1 visualización (últimos 30 días)
Adam Sojka
Adam Sojka el 9 de Mayo de 2022
Respondida: Irene Boben el 26 de Jun. de 2023
Hi,
is there an option to configure pull-up for the GPIO pins?
I want to disable them using Simulink

Respuestas (1)

Irene Boben
Irene Boben el 26 de Jun. de 2023
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.

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by