This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: GPIO Control

Part Number: TMS320F28379D
Other Parts Discussed in Thread: SYSCONFIG

Hello, Dear Team:

In my project, I define the GPIO34 port as input as follows. First of all, is my definition correct?

// GPIO34 an input

GpioCtrlRegs.GPBPUD.bit.GPIO34 = 0;   
GpioCtrlRegs.GPBMUX1.bit.GPIO34 = 0;  
GpioCtrlRegs.GPBDIR.bit.GPIO34 = 0;   

How can I control if the GPIO34 port is High(1) or Low(0)? If GPIO34 is High(1) in the program, I will do another operation.

Also how can I define any GPIO port as output.

Sinan,

Thanks and best regards.